hi everyone, i'm a rookie with dotcms, and try to run it on a remote server which is using ubuntu through putty. i use mysql5.5 and jdk1.7.0, created a database under mysql which named dotcms_link, and a user has full access to dotcms_link named abc, which can be used from anywhere. the ip address of the remote server is 198.98.98.250. i was trying to reach the dotcms console from my own computer, and when i use “catalina.sh run“, it didnt run with words below:
Using CATALINA_BASE: /root/dotcms/dotserver/tomcat
Using CATALINA_HOME: /root/dotcms/dotserver/tomcat
Using CATALINA_TMPDIR: /root/dotcms/dotserver/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.7.0
Using CLASSPATH: /root/dotcms/dotserver/tomcat/bin/bootstrap.jar
Usage: catalina.sh ( commands ... )
commands:
debug Start Catalina in a debugger
debug -security Debug Catalina with a security manager
jpda start Start Catalina under JPDA debugger
run Start Catalina in the current window
run -security Start in the current window with security manager
start Start Catalina in a separate window
start -security Start in a separate window with security manager
stop Stop Catalina, waiting up to 5 seconds for the process to end
stop n Stop Catalina, waiting up to n seconds for the process to end
stop -force Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running
stop n -force Stop Catalina, wait up to n seconds and then use kill -KILL if still running
version What version of tomcat are you running?
Note: Waiting for the process to end and use of the -force option require that $CATALINA_PID is defined
so i checked the dotcms.log file and find these words:
[05/12/12 01:44:20:176 UTC] INFO startup.HostConfig: Deploying web application directory ROOT
[05/12/12 01:44:20:428 UTC] ERROR loader.WebappClassLoader: A web application registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[05/12/12 01:44:23:769 UTC] INFO util.Config: Initializing properties reader.
[05/12/12 01:44:23:796 UTC] INFO util.Config: Loading dotCMS Properties...
[05/12/12 01:44:23:854 UTC] INFO util.Config: Assigned default refresh interval: 5 minutes.
[05/12/12 01:44:23:854 UTC] INFO util.Config: dotCMS Properties Loaded
[05/12/12 01:44:23:854 UTC] INFO business.CacheLocator: loading cache administrator: com.dotmarketing.business.DotGuavaCacheAdministratorImpl
[05/12/12 01:44:23:890 UTC] INFO business.ESDistributedJournalFactoryImpl: Server IDs configured: [1]
[05/12/12 01:44:23:891 UTC] INFO util.ConfigUtils: Using configured hostname: 1
[05/12/12 01:44:24:310 UTC] INFO business.CacheLocator: loading cache administrator: com.dotmarketing.business.DotGuavaCacheAdministratorImpl
[05/12/12 01:44:24:311 UTC] INFO business.ESDistributedJournalFactoryImpl: Server IDs configured: [1]
[05/12/12 01:44:24:311 UTC] INFO util.ConfigUtils: Using configured hostname: 1
[05/12/12 01:44:24:316 UTC] FATAL business.CacheLocator: Unable to load Cache Admin:com.dotmarketing.business.DotGuavaCacheAdministratorImpl
[05/12/12 01:44:24:425 UTC] ERROR modeler.Registry: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none
[05/12/12 01:44:24:425 UTC] ERROR startup.HostConfig: Error deploying web application directory ROOT
java.lang.NoClassDefFoundError: Could not initialize class com.sun.crypto.provider.SunJCE
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
at sun.security.jca.ProviderList.getService(ProviderList.java:330)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
at java.security.Security.getImpl(Security.java:695)
at java.security.MessageDigest.getInstance(MessageDigest.java:159)
at org.apache.catalina.session.ManagerBase.getDigest(ManagerBase.java:324)
at org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.java:999)
at org.apache.catalina.session.StandardManager.start(StandardManager.java:631)
at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4396)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[05/12/12 01:44:24:448 UTC] INFO http11.Http11Protocol: Starting Coyote HTTP/1.1 on http-198.98.98.250-8080
[05/12/12 01:44:24:516 UTC] INFO common.ChannelSocket: JK: ajp13 listening on /
0.0.0.0:8009
[05/12/12 01:44:24:529 UTC] INFO server.JkMain: Jk running ID=0 time=0/31 config=null
[05/12/12 01:44:24:530 UTC] INFO startup.Catalina: Server startup in 10782 ms
[05/12/12 01:44:31:685 UTC] INFO http11.Http11Protocol: Pausing Coyote HTTP/1.1 on http-198.98.98.250-8080
[05/12/12 01:44:32:695 UTC] INFO core.StandardService: Stopping service Catalina
[05/12/12 01:44:32:696 UTC] WARN startup.HostConfig: Error while removing context []
java.lang.NullPointerException
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:915)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
at org.apache.catalina.core.StandardService.stop(StandardService.java:587)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)
[05/12/12 01:44:32:699 UTC] INFO http11.Http11Protocol: Stopping Coyote HTTP/1.1 on http-198.98.98.250-8080
and i checked catalina.out file also, found these:
AbandonedObjectPool is used (org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool@37f70c)
LogAbandoned: true
RemoveAbandoned: true
RemoveAbandonedTimeout: 60
Error opening zip file or JAR manifest missing : dotCMS/WEB-INF/lib/jamm-0.2.5.jar
Error occurred during initialization of VM
agent library failed to init: instrument
i'm not sure what's going on here. i tried every means to solve but failed all together. and i put my ROOT.xml and server.xml file here also:
ROOT.xml:
<Context path="" docBase="../../dotCMS" debug="0" reloadable="true" crossContext="true">
<Resource name="mail/MailSession" auth="Container" type="javax.mail.Session" mail.smtp.host="localhost" />
<Resource name="jdbc/dotCMSPool" auth="Container"
type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
username="abc" password="123" maxActive="60" maxIdle="10" maxWait="60000"
removeAbandoned="false" removeAbandonedTimeout="60" logAbandoned="true"
validationQuery="SELECT 1" testOnBorrow="true"/>
server.xml:
<Server address="198.98.98.250" port="8005" shutdown="SHUTDOWN" debug="0">
<Connector
address="198.98.98.250"
maxThreads="150"
connectionTimeout="20000"
port="81"
protocol="HTTP/1.1"
redirectPort="8443"
SSLEnabled="true"
scheme="https"
secure="true"/>
so please help. really in a hurry to solve it. i'd really appreciate any help and advice. thanks again!
--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dotcms/-/yCvnV1W92jcJ.
To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.