free asp. net mvc pdf viewer : Batch convert pdf to text application software cloud windows html asp.net class MapleTA_SystemAdminis1-part317

• /etc/init.d/tomcatx
• The.profilefilefortheuserthatrunstheTomcatdaemon
• Thesystem.profilefile
1
The"x"willdependontheversionofTomcat.
2.1.6.3VerifyingtheTomcatInstallation
1. BrowsetotheTomcathomepage.Foralocalhostinstallwithdefaultport,thisishttp://localhost:8080
.Youshould
seeanApacheTomcatpagewiththistextatthetop:
Ifyou'reseeingthispageviaawebbrowser,itmeansyou'vesetupTomcatsuccessfully.Congratulations!
2. BrowsetotheTomcatManager.FromtheTomcathomepage,clickontheTomcatManagerlinkintheupperleft.
Youwillneedtologin(seeUsingtheTomcatManagerFacility(page36)).ThatshouldtakeyoutoanApache
Tomcatpagewiththistextatthetop:TomcatWebApplicationManager
2.1.7ProvidinganXServerunderLinuxandSolaris
UnderLinuxandSolaris,MapleT.A.requiresanX-Servertoprovideagraphicsenvironmentneededtorendermath-
ematicalsymbolsandgraphs.
Theminimalwaytoaccomplishthisiswithavirtualframebuffer.Werecommendxvfb.
Asimpleimplementationistoinsertthefollowinginto/etc/init.d/tomcatx,precedingtheinvokingofcatalina.sh:
/usr/bin/Xvfb:1-screen01024x768x8&
exportDISPLAY=:1
IfyoudonotstartTomcatfromaninit.dscript,thendevisesomethingsimilarthatfitsyourapproach.
2.2InstallingMapleT.A.
2.2.1InformationRequestedbytheInstaller
Theinstallerneedsthefollowinginformationforsoftwarealreadyinstalled:
• <Tomcat>—ThisisyourTomcatinstallationfolder.
• TheusernameandpasswordforaPostgreSQLsuperuser.Usuallythiswillbethe“postgres”user.
Theinstallerneedsthefollowinginformationaboutyourenvironment:
• Yourtimezone—BeawarethatMapleT.A.usesthetimezoneyouprovideatinstallation.Thedefaultsuggested
atinstallationisthetimezoneusedbyyourserver.Werecommendthatyouusethatdefault.Itispossibletospecify
adifferenttimezonethanthatoftheserverbutsituationswherethatisrequiredareextremelyrare.Werecommend
thatasingleinstanceofMapleT.A.runonadedicateserver.Inthisrecommendedscenario,thereisnoreasonthat
theservertimezoneshouldnotbesettothevalueneededforMapleT.A.Thatis,thereisnoreasonfortheMaple
T.A.andservertimezonestobedifferent.
• DetailsastohowyouwantMapleT.A.tosendmail:servername,fromaddress,authenticationcredentials.
• AuthenticationthroughLDAP—IfyouwanttoauthenticatethroughLDAP,configurationoftheLDAPinterface
isdonepost-install.Youwillnotneedtoansweranyquestionsonitduringtheinstall.
Theinstallerwillalsoaskyoutoprovidenamesforcreateditems.
• ThepathnamefortheMapleT.A.installationfolder.UnderWindows,werecommendtheusual“ProgramFiles”
parentwiththedefault“MapleT.A.7”foldername.UnderLinux,werecommendtheparentfolderoftheTomcat
installationastheparentfolderforMapleT.A.withthedefault“MapleT.A.7”foldername.
7 • Installation
Batch convert pdf to text - application software cloud:C# PDF Convert to Text SDK: Convert PDF to txt files in C#.net, ASP.NET MVC, WinForms, WPF application
C# PDF to Text (TXT) Converting Library to Convert PDF to Text
www.rasteredge.com
Batch convert pdf to text - application software cloud:VB.NET PDF Convert to Text SDK: Convert PDF to txt files in vb.net, ASP.NET MVC, WinForms, WPF application
VB.NET Guide and Sample Codes to Convert PDF to Text in .NET Project
www.rasteredge.com
• ThenameofaPostgreSQLdatabasetobecreatedforMapleT.A.Werecommendthedefaultname,“mapleta”.
• APostgreSQLusernameandpasswordtobeusedbyMapleT.A.toaccessPostgreSQL.
• AMapleT.A.usernameandpasswordtobeusedastheprincipaladministrator.NotethatforLDAPinstallations,
thisusernamemustbeinLDAP,oryouwillnotbeabletologinwithit.
2.2.2RunningtheInstaller
Theinstallerisruninthetypicalway.SeeLinuxConsiderations(page8)forinformationspecifictoinstallingon
Linux.
2.2.3ChangesMadebytheInstaller
Whenitisrun,theinstaller:
1. InstallsaMapleT.A.installationfolderinthelocationyouchooseduringinstallation
2. DeploysamapletaTomcatwebapplicationinTomcat’sdefaultwebappsfolder-<Tomcat>/webapps
3. AddsausertoPostgreSQL
2.2.4LinuxConsiderations
• TheinstallerrunsasanXapplicationbydefault.Specifythe’console’parametertorunitintextmode.
• Theinstallationmustberuneitherasroot(sudo)orundertheuserthatrunstheTomcatdaemon(usuallytomcator
tomcat5orsimilar).ThisisrequiredtoensurethattheinstallercanassignthenecessarypermissionstotheMaple
T.A.installationfilesandfolders.
• Ubuntu“ErrorlistenerStart”.Ubuntu’spackageinstallermayinstallTomcatwithso-called“TomcatSecurity”enabled.
ThisisactuallyJavacodesecurity
2
.UbuntualsoinstallsTomcatina“multipleinstances”fashion,oneaspectof
whichisthatthedefaultwebappsdirectoryisphysicallyoutsidetheTomcatfolder(usuallyitisinstalledas
/var/lib/tomcat/webapps)
3
.ThecombinationofthesetwothingspreventsMapleT.A.fromfunctioningcorrectly.
Thesymptomisthatthemapletawebapplicationdoesnotstart.Tomcat’scatalina.logshows“ErrorlistenerStart”
followedbyamessageindicatingthatmapletafailedtostart.TheproblemiscausedbythefactthatMapleT.A.uses
Hibernate,whichusescglib,whichrequireselevatedprivilegesthatarenotavailablebydefaultinthemultiple-in-
stancesT.A.installation,andwhichareenforcedbytheTomcatSecuritypolicy.Thefixistoappendthefollowing
configurationsettingto<Tomcat>/conf/policy.d/04webapps:
grantcodeBase"file:${catalina.base}/webapps/mapleta/-"{
permissionjava.security.AllPermission;
};
• Ubuntujava.lang.NullPointerException
atcom.maplesoft.mathdoc.font.WmiFontResolver.getFontForCharacter(UnknownSource)
ThisarisesfromtheUbuntudefaultJavasettingjava.awt.headless=true
Changethis,inJAVA_OPTSin/etc/default/tomcatx,tojava.awt.headless=false
• VariousLinuxdistributionsjavax.xml.transform.TransformerFactoryConfigurationError:Provider
org.apache.xalan.processor.TransformerFactoryImplnotfound
ThiscanarisefromincompatibilitiesbetweentheversionsofJavaandTomcatthatareinstalled
NormallythiscanbefixedbyaddingthefollowingtoJAVA_OPTS(forexample,in/etc/default/tomcatxifyour
installationhasthatfile).
-Djavax.xml.transform.TransformerFactory=
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
2
TomcatSecurityisdocumentedintheTomcatUserGuide,chapter“SecurityManager”.Seehttp://tomcat.apache.org/
.
8 • Installation
application software cloud:VB.NET PDF Convert to Jpeg SDK: Convert PDF to JPEG images in vb.
& pages edit, C#.NET PDF pages extract, copy, paste, C#.NET rotate PDF pages, C#.NET search text in PDF NET components to batch convert adobe PDF files to
www.rasteredge.com
application software cloud:C# PDF Convert to Jpeg SDK: Convert PDF to JPEG images in C#.net
NET. .NET library to batch convert PDF files to jpg image files. High quality jpeg file can be exported from PDF in .NET framework.
www.rasteredge.com
3
TheTomcatmultipleinstancesmodelisdescribedintheTomcatConfigurationReference,chapter“TheHostCon-
tainer”.Seehttp://tomcat.apache.org/
.
2.3VerifyingtheMapleT.A. Installation
BeforeverifyingtheMapleT.A.installation,youshouldverifytheTomcatinstallation.SeeInstallingTomcat(page5).
2.3.1MapleT.A.StartupSmokeTest
1. StopTomcat.
2. Deleteallofthelogfilesin<Tomcat>/logs.
3. StartTomcat.
4. BrowsetoyourMapleT.A.homepage.Withinstallationdefaults,thisishttp://localhost:8080/mapleta.
5. LogintoMapleT.A.withtheadministratorcredentialsthatyoucreatedduringinstallation.
6. StopTomcat.
7. Inspectcatalina.log.Thesmoketest“pass”criterionisthatyoushouldseenoERRORmessagesandnoexception
stacktraces.
2.3.2BasicMapleT.A.FunctionalityTest
1. LogintoMapleT.A.withtheadministratorcredentialsthatyoucreatedduringinstallation.
2. Youwillseeapagethatdisplaysalinelabeled“MapleT.A.DemonstrationClass”,undertheheading“AllActive
Classes”.
3. Clickonthename“MapleT.A.DemonstrationClass”.
4. Youwillseeapagewithagridcontainingtwoassignments.
5. Clickon“DemonstrationofQuestionTypes”.
6. Youwillseea6-part“matchingquestion”ontriangletypes.ClickNext.
7. Youwillseea“drop-downquestion”onacalculustheorem.ClickNext.ContinueclickingNextuntilyoureach
question7.
8. Question7shoulddisplaya4-quadrantgraph,inred.ClickNext.
9. Question8isamulti-partquestion.Parts(a)and(b)shoulddisplayintegrals.Theintegralsignsshouldrenderin
propertextbookstyle.
10.Quitthebrowsertoabandonthetest.Ifyoumadeitthisfarandsawtheitemsindicatedabove,yourinstallationhas
passedthebasicfunctionalitytest.
2.4ReinstallingMapleT.A.
TheMapleT.A.installerwillnotoverwriteanexistingMapleT.A.databaseoranexistingdatabaseuser(astheadmin
userspecifiedduringinstallation).Therefore,toreinstallwiththesamenames(thenormalcase)youneedtoremove
theseitems.ThisprocedurerequirestheuseofPostgreSQLtools.SeeUsingPostgreSQLTools(page39)ifyouare
notfamiliarwiththesetools.
Thereinstallationstepsare:
1. UndeployMapleT.A.fromTomcat.
a. LogintotheTomcatManagerapplication(see“AppendixB–UsingtheTomcatManagerFacility“).
b. Clickthemapleta“Undeploy”link.
9 • Installation
application software cloud:VB.NET PDF Convert to Tiff SDK: Convert PDF to tiff images in vb.
NET control to batch convert PDF documents to Tiff format in Visual Basic. Qualified Tiff files are exported with high resolution in VB.NET.
www.rasteredge.com
application software cloud:C# PDF Convert to Tiff SDK: Convert PDF to tiff images in C#.net
Studio .NET project. Powerful .NET control to batch convert PDF documents to tiff format in Visual C# .NET program. Free library are
www.rasteredge.com
c. WhenTomcathascompletedtheUndeploy,themapletaentrywilldisappearfromtheApplicationlistin
theTomcatManagerdisplay.
d. Ifthe<Tomcat>/webapps/mapletafolderhasnotbeencompletelyremovedbytheUndeploy,removeit
manually.
2. UninstallMapleT.A.
a. Movethefile<MapleT.A.>/license/license.dattoatemporarylocation.Youwilluseitinstep5.
b. UnderWindows,useAdd/RemoveProgramsfromtheControlPaneltoremoveMapleT.A.UnderLinux,
runtheuninstallbinaryinthe<MapleT.A.>/binfolder.
c. Ifthe<MapleT.A.>installationfolderhasnotbeencompletelyremovedbytheuninstaller,removeit
manually.
3. RemovethemapletadatabasefromPostgreSQL.
a. UsingthepgAdmintool:
i. Right-clickonthemapletadatabasenodeinthepgAdmintreeview.
ii. SelectDelete/Drop.
b. Alternatively,usingpsql:
i. IssuetheSQLcommand‘dropdatabasemapleta;’.
4. RemovethemapletauserfromPostgreSQL.
a. UsingthepgAdmintool:
i. ClickontheLoginRolesnodeinthepgAdmintreeview.
ii. Right-clickthemapletauser.
iii.SelectDelete/Drop.
b. Alternatively,usingpsql:
i. IssuetheSQLcommand‘droprolemapleta;’(replacing“mapleta”bythenameofthemapleta
user,ifitisdifferent).
5. Installmapleta.
a. Installationwillnowproceedinthesamemannerasa“fresh”install.
6. Restorelicense.dat
a. Movelicense.dat(whichyousavedinstep2.a)to<MapleT.A.>/license/.Thisavoidstheneedtore-activate.
10 • Installation
application software cloud:C# Create PDF from images Library to convert Jpeg, png images to
Batch convert PDF documents from multiple image formats, including Jpg, Png, Bmp, Gif, Tiff, Bitmap, .NET Graphics, and REImage.
www.rasteredge.com
application software cloud:VB.NET Create PDF from Text to convert txt files to PDF in vb.net
Best VB.NET adobe text to PDF converter library for Visual Studio .NET project. Batch convert editable & searchable PDF document from TXT formats in VB.NET
www.rasteredge.com
3Post-Installation Configuration Options
3.1TheSystemAdminUser Interface
TheSystemAdminuserinterfaceallowssystemadministratorstochangepropertiesandsettingsoftheMapleT.A.
install.Additionally,fromtheuserinterface,systemadministratorscanmanageotheraspectsoftheMapleT.A.system,
forexample,archiving,deletingusers,usagereportingandlogs.
TheSystemAdminuserinterfaceconsistsoffourseparatemenuoptions,aswellasasummarypage.
Thefourmenuoptionsarerepresentedbythesewebpages:SystemSettings,ActiveUsers,UsageandLogUtility.
3.1.1TheSystemAdminPage
TheSystemAdminpageprovidesasummaryofconnectionsandrecentusage.
Toviewthispage,clickSystemAdmininthemenubar.
3.1.2TheSystemPropertiesPage
SelectSystemSettingsfromtheSystemAdminmenutoviewtheSystemPropertiespage.TheSystemProperties
pageitselfisdividedintofourdistinctsections:SystemSettings,MailSettings,AuthenticationSettingsandMaple
Settings.
11
application software cloud:C# PDF Convert to Images SDK: Convert PDF to png, gif images in C#
ASP.NET application. An advanced .NET control able to batch convert PDF documents to image formats in C#.NET. Support exporting PDF
www.rasteredge.com
application software cloud:C# Create PDF from OpenOffice to convert odt, odp files to PDF in
professional .NET PDF control able to batch convert multiple OpenOffice documents to PDF files in C#.NET. Convert OpenOffice Text Document to PDF with embedded
www.rasteredge.com
12 • Post-InstallationConfigurationOptions
application software cloud:VB.NET PDF Convert to Images SDK: Convert PDF to png, gif images
service, DNN (DotNetNuke), SharePoint. VB.NET components for batch convert high resolution images from PDF. Convert PDF documents to
www.rasteredge.com
application software cloud:VB.NET Create PDF from CSV to convert csv files to PDF in vb.net
NET read PDF, VB.NET convert PDF to text, VB.NET CSV file to adobe PDF converter component for Visual Studio .NET. Batch convert CSV formats to adobe PDF files.
www.rasteredge.com
3.1.2.1TheSystemSettingsSection
TheSystemSettingssectionprovidesaninterfaceforsystemadministratorstochangethepathofMapleT.A.installation,
limitthesizeofuploadedfiles,controlthenumberofusersallowedonthesystem,andsetthetimebetweenlogfile
generation.
Comments
Default
Property
MapleT.A.installationdirectory.Thisdirectoryisset
duringinstallationandcanbechangedthroughthesystem
None
GatewayHomePath
settingspageanddirectlyinthesystem_propertiestable
ofthedatabase.
SchoolNameisarequiredfield.
None
SchoolName
TimeZonecanonlybeenteredthroughthedropdown
listbox.
None
TimeZone
Maximumsize,inkilobytes,ofanuploadedfile.Up-
loadedfilesincludequestionbanksandcoursemodules.
2000
MaxUploadSize(kB)
Timelimit,inminutes,towaitbetweengenerationof
usagelogs.
20
UsageSleepLog(mins)
Numberofnon-administratorusersallowedonthesystem.
None
MaxUsers
3.1.2.2TheMailSettingsSection
TheMailSettingssectionoftheSystemSettingspageprovidesaninterfaceforsystemadministratorstoconfigure
emailsettingsforMapleT.A.
Comments
Default
Property
FindanduseMXrecordsforthegivendomain
unselected
MXLookup
Useamailserverfromtheserverlist
selected
Generic
Asingleserveroralistofserversseparatedbyasemi-
colon(;)
localhost
Servers
Thisistheaddressthatwillappearinthefromfieldof
anyemailsent.
FromAddress
DetermineswhetheremailwillbesentasHTMLortext
only.
text
Format
Thetestconnectionbuttontakesthesettingsthatarein
placeandattempttoconnecttothemailserver.Theuser
isinformedwhetherornotthetestwassuccessful.
None
TestConnection
Usernameusedtoconnecttothemailserver(ifneeded)
None
UserName
13 • Post-InstallationConfigurationOptions
Comments
Default
Property
Passwordusedtoconnecttothemailserver(ifneeded)
None
Password
3.1.2.3TheAuthenticationSettingsSection
TheSystemAdministratorcancontroluserauthenticationandvalidationthroughtheAuthenticationSettingssection
oftheSystemSettingspage.
Comments
Default
Property
SelectingtheEnableLDAPbox,meansthatMapleT.A.
LDAPauthenticationneedstobeconfiguredthroughthe
ldap.propertiesfile.FormoreinformationaboutMaple
T.A.LDAPauthentication,seeMapleT.A.LDAPAuthen-
tication(page24).
False(unselected)
EnableLDAP
Valuesare“true”or“false”.If“true”,usersloggingin
forthefirsttimewillberequiredtoconfirmtheirprofile
details(firstname,lastname,email,etc).
True
RequireUserValidation
Valuesare“true”or“false”.If“true”,userswillseea
linkontheloginpagethatallowsthemtoregisterthem-
selves.ThisfeatureisnormallyusedonlybyMapleT.A.
installationsthatareorientedtowardsplacementtesting.
False
AllowSelfRegistration
3.1.2.4TheMapleSettingsSection
ThelocalpoolofMapleserversisacollectionofinstancesofcommand-lineMaplethatarestartedasneededbyMaple
T.A.tocomputeversionsofquestions(forexample,randomizedquestions)andtogradequestions.Thispooliscon-
figurablethroughtheSystemSettingspage.ToaccesstheSystemSettingspage,selectSystemSettingsfromthe
SystemAdminmenu.
Bydefault,MapleT.A.usesthelocalpoolofserversdescribedintheparagraphabove.Itisalsopossibletouse
Maplesoft’sMapleNetproductasanalternativetothelocalpool.Therearetworeasonsfordoingthis:
1. Provideawiderrangeofquestionfeaturesincludingmapletsandgridlinesonplots.
2. Scalability–theoptionofloadbalancingbyrunningMapleT.A.’sMaplecomputationsonaseparateserver.
MapleT.A.’suseofMapleNetisconfiguredbypropertiesintheSystemAdminuserinterface,undertheMapleSettings
section.
Ifalloftheabovepropertiesareconfiguredcorrectly,MapleT.A.willuseMapleNet.Otherwise,MapleT.A.willuse
itslocalpool.
YoucanconfirmthatMapleT.A.isusingMapleNetbyinspectingmapleta.log.Thefollowingmessagewillbeissued
atstartup:
INFOThisMapleT.A.instanceusesMapleNetServices
Notethatyouwillhavetoincreasetheloglevelformapleta.logtoINFO,fromthedefaultWARN,toseethismessage.
SeeTheDefaultLogLevel(page20).
14 • Post-InstallationConfigurationOptions
ToconfigureMapleNetitself,refertotheMapleNetdocumentation.Inparticular,beawarethatwhenMapleT.A.is
configuredtouseMapleNetastheback-endmathengine,andquestionsneedaccesstofilesorcustomlibraries,the
followingmayberequired:
1. MapleNetmayneedtoberunwithoutsecurityoption“-z”toenablegeneralaccesstothefilesystem.
2. IfMapleT.A.andMapleNetarerunningontwodifferentservers,theabsolutepathtothelibraryfilefromtheMaple
T.A.serverneedstobeidenticaltothatseenbyMapleNetontheotherserver.Thiscanbedonebycopyingthere-
quiredfiles,orbyusingasharednetworkfilesystem.
Comments
Default
Property
Numberofmillisecondstowaitbetweenrequestsfora
Mapleserverinstance,whenallserversinthepoolare
busy.
120
RetryDelay(s)
MaximumnumberofMapleserversinthepool.
5
MaxServers
MinimumnumberofMapleserversinthepool.
1
MinServers
Maximumnumberofcpusecondsthatcanbeconsumed
byaMapleinstanceinthepool,beforeitisaborted(as-
sumedtobea“runaway”).
120
CPULimit(s)
Maximumnumberofmaplecommandsthatwillbesent
toaMapleserverbeforeitisterminatedandreplacedwith
afreshserver.
250
MaxRestarts
Plotwidthinpixels.
400
PlotWidth(px)
Plotheightinpixels.
800
PlotHeight(px)
Graphicsformatusedtorenderplots.Thechoicesaregif
andjpeg.
gif
PlotDriver
ThedomainorsubdomainaddressoftheMapleNetserver,
e.g.maplenet.myu.edu.MapleNetcanrunonthesame
<None>
Server
machineasMapleT.A.Inthatcaseyouwouldspecify
MAPLENET_SERVER=localhost.
TheportnumberlistenedtobyMapleNetonitsserver,e.g.
8180.
<None>
Port
TheusernameconfiguredforMapleNet.
<None>
UserName
ThepasswordforMAPLENET_USER.
<None>
Password
3.1.3TheIPAddressGroupsSection
TheSystemAdministratorcandefinegroupsofIPaddressthroughtheIPAddressGroupssectionoftheSystemSettings
page.IPaddressescanbegivenindividually,withwildcards,orusingNetmaskformat.EnteronlyoneIPaddressor
patternperline.
15 • Post-InstallationConfigurationOptions
Forexample,youmightcreategroupsthatcorrespondingtocomputerlabsatyourinstitution.
Groupsthataredefinedinthesystemsettingswillbeavailabletoinstructorswhentheydefinethepropertiesofassign-
mentsortests.IntheAssignmentEditor,instructorscanrequirestudentstakeanassigmentfromarestrictedsetofIP
addressesbyselectingfromalistofpredefinedgroupssetupbythesystemadministratororcreatingacustomIPaddress
restric-
tion.
3.1.4ActiveUsersPage
TheActiveUsersPageshowsthoseuserswhoarecurrentlyloggedintothesystem.ClickonaUserLoginlinktoview
userdetails.
3.1.5UsagePage
TheSystemAdministratoruserinterfaceallowsthesystemadministratortoviewusagedataandgrouptheresultsby
Restart,Hour,Day,Week,Month,orYear.
16 • Post-InstallationConfigurationOptions
Documents you may be interested
Documents you may be interested