From: Damien B. <da...@ds...> - 2011-06-16 13:48:07
|
Thanks for the info Thmas, I have removed the 3 servers from the firewall and stopped iptables on each machine. And the problem is still there. The server running ocsp is using a local database, here a copy of my database.properties file from the ocsp server datasource.mapping=MySQL database.url=jdbc:mysql://127.0.0.1:3306/ejbca database.driver=com.mysql.jdbc.Driver database.username=ejbca database.password=<removed> I have also run the following commands on the ocsp server Ant clean Ant build Ant va-deploy Any help would be great. Regards Damien -----Original Message----- From: Tomas Gustavsson [mailto:to...@pr...] Sent: 16 June 2011 11:08 To: ejb...@li... Subject: Re: [Ejbca-develop] External OCSP not working - Help! Hi Damien, The mysql connector can not be wrong. If mysql says it can not connect to the database, it is so. Perhaps you made some firewall setting, or mysql config? Running "mysql" command locally does not connect using tcp/ip. Cheers, Tomas ----- PrimeKey Solutions offers commercial EJBCA and SignServer support subscriptions and training courses. Please see www.primekey.se or contact in...@pr... for more information. http://www.primekey.se/Services/Support/ http://www.primekey.se/Services/Training/ On 06/15/2011 02:54 PM, Damien Boileau wrote: > Hi > > My OCSP Responder appears to have stopped working. > > I am using ejbca_3_11_0, when I try and start the jboss service using > run.sh -b 0.0.0.0, I am see the following error. It seems to point to > a Communications link failure. > > I can connect locally to the mysql database using the ejbca username > and password. > > ]0;jboss@ocsp:~[jboss@ocsp ~]$ > > ]0;jboss@ocsp:~[jboss@ocsp ~]$ run.sh -b 0.0.0.0 > > ====================================================================== > === > > JBoss Bootstrap Environment > > JBOSS_HOME: /var/lib/jbossas > > JAVA: java > > JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m > -Djava.net.preferIPv4Stack=true > > CLASSPATH: /var/lib/jbossas/bin/run.jar > > ====================================================================== > === > > 13:39:39,063 INFO [Server] Starting JBoss (MX MicroKernel)... > > 13:39:39,064 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: > SVNTag=JBoss_4_2_3_GA date=200905191306) > > 13:39:39,065 INFO [Server] Home Dir: /var/lib/jbossas > > 13:39:39,065 INFO [Server] Home URL: file:/var/lib/jbossas/ > > 13:39:39,066 INFO [Server] Patch URL: null > > 13:39:39,066 INFO [Server] Server Name: default > > 13:39:39,066 INFO [Server] Server Home Dir: > /var/lib/jbossas/server/default > > 13:39:39,066 INFO [Server] Server Home URL: > file:/var/lib/jbossas/server/default/ > > 13:39:39,066 INFO [Server] Server Log Dir: > /var/lib/jbossas/server/default/log > > 13:39:39,066 INFO [Server] Server Temp Dir: > /var/lib/jbossas/server/default/tmp > > 13:39:39,067 INFO [Server] Root Deployment Filename: jboss-service.xml > > 13:39:39,448 INFO [ServerInfo] Java version: 1.6.0_17,Sun Microsystems Inc. > > 13:39:39,448 INFO [ServerInfo] Java VM: OpenJDK 64-Bit Server VM > 14.0-b16,Sun Microsystems Inc. > > 13:39:39,449 INFO [ServerInfo] OS-System: Linux > 2.6.18-194.26.1.el5,amd64 > > 13:39:39,836 INFO [Server] Core system initialized > > 13:39:41,947 INFO [WebService] Using RMI server codebase: > http://ocsp.credsec.com:8083/ > > 13:39:41,948 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: > resource:jboss-log4j.xml > > 13:39:42,421 INFO [TransactionManagerService] JBossTS Transaction > Service (JTA version) - JBoss Inc. > > 13:39:42,421 INFO [TransactionManagerService] Setting up property > manager MBean and JMX layer > > 13:39:42,601 INFO [TransactionManagerService] Starting recovery > manager > > 13:39:42,686 INFO [TransactionManagerService] Recovery manager started > > 13:39:42,686 INFO [TransactionManagerService] Binding > TransactionManager JNDI Reference > > 13:39:45,504 INFO [EJB3Deployer] Starting java:comp multiplexer > > 13:39:48,096 INFO [NativeServerConfig] JBoss Web Services - Native > > 13:39:48,097 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA > (build=200809291408) > > 13:39:49,152 INFO [Embedded] Catalina naming disabled > > 13:39:49,261 INFO [AprLifecycleListener] The Apache Tomcat Native > library which allows optimal performance in production environments > was not found on the java.library.path: > /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/u > sr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jv > m/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/package > s/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib > > 13:39:49,397 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on > http-0.0.0.0-8080 > > 13:39:49,398 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on > ajp-0.0.0.0-8009 > > 13:39:49,398 INFO [Catalina] Initialization processed in 246 ms > > 13:39:49,399 INFO [StandardService] Starting service jboss.web > > 13:39:49,400 INFO [StandardEngine] Starting Servlet Engine: > JBossWeb/2.0.0.dev > > 13:39:49,435 INFO [Catalina] Server startup in 36 ms > > 13:39:49,513 INFO [TomcatDeployer] deploy, ctxPath=/, > warUrl=.../deploy/jboss-web.deployer/ROOT.war/ > > 13:39:49,980 INFO [TomcatDeployer] deploy, ctxPath=/invoker, > warUrl=.../deploy/http-invoker.sar/invoker.war/ > > 13:39:50,189 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, > warUrl=.../deploy/jbossws.sar/jbossws-context.war/ > > 13:39:50,344 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, > warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ > > 13:39:51,619 INFO [TomcatDeployer] deploy, ctxPath=/web-console, > warUrl=.../deploy/management/console-mgr.sar/web-console.war/ > > 13:39:52,091 INFO [MailService] Mail Service bound to java:/Mail > > 13:39:52,264 INFO [RARDeployment] Required license terms exist, view > META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar > > 13:39:52,322 INFO [RARDeployment] Required license terms exist, view > META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar > > 13:39:52,345 INFO [RARDeployment] Required license terms exist, view > META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar > > 13:39:52,364 INFO [RARDeployment] Required license terms exist, view > META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar > > 13:39:52,457 INFO [RARDeployment] Required license terms exist, view > META-INF/ra.xml in .../deploy/jms/jms-ra.rar > > 13:39:52,506 INFO [RARDeployment] Required license terms exist, view > META-INF/ra.xml in .../deploy/mail-ra.rar > > 13:39:52,602 INFO [RARDeployment] Required license terms exist, view > META-INF/ra.xml in .../deploy/quartz-ra.rar > > 13:39:52,608 INFO [QuartzResourceAdapter] start quartz!!! > > 13:39:52,663 INFO [SimpleThreadPool] Job execution threads will use > class loader of thread: main > > 13:39:52,679 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. > > 13:39:52,681 INFO [RAMJobStore] RAMJobStore initialized. > > 13:39:52,681 INFO [StdSchedulerFactory] Quartz scheduler > 'DefaultQuartzScheduler' initialized from default resource file in > Quartz package: 'quartz.properties' > > 13:39:52,681 INFO [StdSchedulerFactory] Quartz scheduler version: > 1.5.2 > > 13:39:52,681 INFO [QuartzScheduler] Scheduler > DefaultQuartzScheduler_$_NON_CLUSTERED started. > > 13:39:52,869 INFO [ConnectionFactoryBindingService] Bound > ConnectionManager 'jboss.jca:service=DataSourceBinding,name=EjbcaDS' > to JNDI name 'java:EjbcaDS' > > 13:39:53,585 INFO [ConnectionFactoryBindingService] Bound > ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' > to JNDI name 'java:DefaultDS' > > 13:39:53,763 INFO [A] Bound to JNDI name: queue/A > > 13:39:53,764 INFO [B] Bound to JNDI name: queue/B > > 13:39:53,765 INFO [C] Bound to JNDI name: queue/C > > 13:39:53,767 INFO [D] Bound to JNDI name: queue/D > > 13:39:53,768 INFO [ex] Bound to JNDI name: queue/ex > > 13:39:53,799 INFO [testTopic] Bound to JNDI name: topic/testTopic > > 13:39:53,801 INFO [securedTopic] Bound to JNDI name: > topic/securedTopic > > 13:39:53,802 INFO [testDurableTopic] Bound to JNDI name: > topic/testDurableTopic > > 13:39:53,809 INFO [testQueue] Bound to JNDI name: queue/testQueue > > 13:39:53,851 INFO [UILServerILService] JBossMQ UIL service available > at > : /0.0.0.0:8093 > > 13:39:53,898 INFO [DLQ] Bound to JNDI name: queue/DLQ > > 13:39:54,115 INFO [ConnectionFactoryBindingService] Bound > ConnectionManager > 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name > 'java:JmsXA' > > 13:39:54,134 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, > warUrl=.../deploy/jmx-console.war/ > > 13:39:54,370 INFO [EARDeployer] Init J2EE application: > file:/var/lib/jbossas/server/default/deploy/ejbca.ear > > 13:39:56,633 INFO [EjbModule] Deploying CertificateData > > 13:39:56,733 INFO [EjbModule] Deploying CRLData > > 13:39:56,738 INFO [EjbModule] Deploying TableProtectData > > 13:39:56,753 INFO [EjbModule] Deploying OnlyDataCRLSession > > 13:39:56,766 INFO [EjbModule] Deploying > CertificateStoreOnlyDataSession > > 13:39:56,770 INFO [EjbModule] Deploying TableProtectSession > > 13:39:58,027 WARN [JBossManagedConnectionPool] Throwable while > attempting to get a new connection: null > > org.jboss.resource.JBossResourceException: Could not create > connection; > - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.) > > at > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.cr > eateManagedConnection(LocalManagedConnectionFactory.java:190) > > at > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cre > ateConnectionEventListener(InternalManagedConnectionPool.java:619) > > at > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.get > Connection(InternalManagedConnectionPool.java:264) > > at > org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePo > ol.getConnection(JBossManagedConnectionPool.java:575) > > at > org.jboss.resource.connectionmanager.BaseConnectionManager2.getManaged > Connection(BaseConnectionManager2.java:347) > > at > org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCon > nection(TxConnectionManager.java:330) > > at > org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateCo > nnection(BaseConnectionManager2.java:402) > > at > org.jboss.resource.connectionmanager.BaseConnectionManager2$Connection > ManagerProxy.allocateConnection(BaseConnectionManager2.java:849) > > at > org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrappe > rDataSource.java:89) > > at > org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:172) > > at > org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntity > Bridge.java:157) > > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCS > toreManager.java:435) > > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager > .java:368) > > at > org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManage > r.java:172) > > at org.jboss.ejb.EjbModule.startService(EjbModule.java:414) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSu > pport.java:289) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBe > anSupport.java:245) > > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControll > er.java:978) > > at $Proxy0.start(Unknown Source) > > at > org.jboss.system.ServiceController.start(ServiceController.java:417) > > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy31.start(Unknown Source) > > at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercepto > r.java:133) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMB > eanOperationInterceptor.java:142) > > at > org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor. > java:97) > > at > org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Interceptor > ServiceMBeanSupport.java:238) > > at > org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInte > rceptor.java:87) > > at > org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.s > tart(SubDeployerInterceptorSupport.java:188) > > at > org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerIntercep > tor.java:95) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy32.start(Unknown Source) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > > at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercepto > r.java:133) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMB > eanOperationInterceptor.java:142) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy9.deploy(Unknown Source) > > at > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeployment > Scanner.java:421) > > at > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentSc > anner.java:634) > > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.d > oScan(AbstractDeploymentScanner.java:263) > > at > org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Ab > stractDeploymentScanner.java:336) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSu > pport.java:289) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBe > anSupport.java:245) > > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControll > er.java:978) > > at $Proxy0.start(Unknown Source) > > at > org.jboss.system.ServiceController.start(ServiceController.java:417) > > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy4.start(Unknown Source) > > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercepto > r.java:133) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMB > eanOperationInterceptor.java:142) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy5.deploy(Unknown Source) > > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) > > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) > > at org.jboss.Main.boot(Main.java:200) > > at org.jboss.Main$1.run(Main.java:508) > > at java.lang.Thread.run(Thread.java:636) > > Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server. > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo > rAccessorImpl.java:57) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo > nstructorAccessorImpl.java:45) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > > at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) > > at > com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:11 > 18) > > at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) > > at > com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:23 > 08) > > at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122) > > at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774) > > at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo > rAccessorImpl.java:57) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo > nstructorAccessorImpl.java:45) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > > at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) > > at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375) > > at > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java: > 289) > > at > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.cr > eateManagedConnection(LocalManagedConnectionFactory.java:172) > > ... 125 more > > Caused by: java.net.ConnectException: Connection refused > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.jav > a:310) > > at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketI > mpl.java:176) > > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java: > 163) > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > > at java.net.Socket.connect(Socket.java:546) > > at java.net.Socket.connect(Socket.java:495) > > at java.net.Socket.<init>(Socket.java:392) > > at java.net.Socket.<init>(Socket.java:235) > > at > com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.jav > a:256) > > at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) > > ... 137 more > > 13:39:58,034 WARN [ServiceController] Problem starting service > jboss.j2ee:service=EjbModule,module=ejbca-ejb.jar > > org.jboss.deployment.DeploymentException: Error while fixing table > name; > - nested throwable: (org.jboss.util.NestedSQLException: Could not > create connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.); - nested > throwable: (org.jboss.resource.JBossResourceException: Could not > create connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.))) > > at > org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:209) > > at > org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntity > Bridge.java:157) > > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCS > toreManager.java:435) > > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager > .java:368) > > at > org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManage > r.java:172) > > at org.jboss.ejb.EjbModule.startService(EjbModule.java:414) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSu > pport.java:289) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBe > anSupport.java:245) > > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControll > er.java:978) > > at $Proxy0.start(Unknown Source) > > at > org.jboss.system.ServiceController.start(ServiceController.java:417) > > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy31.start(Unknown Source) > > at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercepto > r.java:133) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMB > eanOperationInterceptor.java:142) > > at > org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor. > java:97) > > at > org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Interceptor > ServiceMBeanSupport.java:238) > > at > org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInte > rceptor.java:87) > > at > org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.s > tart(SubDeployerInterceptorSupport.java:188) > > at > org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerIntercep > tor.java:95) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy32.start(Unknown Source) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > > at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercepto > r.java:133) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMB > eanOperationInterceptor.java:142) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy9.deploy(Unknown Source) > > at > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeployment > Scanner.java:421) > > at > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentSc > anner.java:634) > > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.d > oScan(AbstractDeploymentScanner.java:263) > > at > org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Ab > stractDeploymentScanner.java:336) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSu > pport.java:289) > > at > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBe > anSupport.java:245) > > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControll > er.java:978) > > at $Proxy0.start(Unknown Source) > > at > org.jboss.system.ServiceController.start(ServiceController.java:417) > > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy4.start(Unknown Source) > > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:616) > > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche > r.java:155) > > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > at > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercepto > r.java:133) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMB > eanOperationInterceptor.java:142) > > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j > ava:264) > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > at $Proxy5.deploy(Unknown Source) > > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) > > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) > > at org.jboss.Main.boot(Main.java:200) > > at org.jboss.Main$1.run(Main.java:508) > > at java.lang.Thread.run(Thread.java:636) > > Caused by: org.jboss.util.NestedSQLException: Could not create > connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.); - nested > throwable: (org.jboss.resource.JBossResourceException: Could not > create connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.)) > > at > org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrappe > rDataSource.java:95) > > at > org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:172) > > ... 116 more > > Caused by: org.jboss.resource.JBossResourceException: Could not create > connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.) > > at > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.cr > eateManagedConnection(LocalManagedConnectionFactory.java:190) > > at > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cre > ateConnectionEventListener(InternalManagedConnectionPool.java:619) > > at > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.get > Connection(InternalManagedConnectionPool.java:264) > > at > org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePo > ol.getConnection(JBossManagedConnectionPool.java:575) > > at > org.jboss.resource.connectionmanager.BaseConnectionManager2.getManaged > Connection(BaseConnectionManager2.java:347) > > at > org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCon > nection(TxConnectionManager.java:330) > > at > org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateCo > nnection(BaseConnectionManager2.java:402) > > at > org.jboss.resource.connectionmanager.BaseConnectionManager2$Connection > ManagerProxy.allocateConnection(BaseConnectionManager2.java:849) > > at > org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrappe > rDataSource.java:89) > > ... 117 more > > Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server. > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo > rAccessorImpl.java:57) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo > nstructorAccessorImpl.java:45) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > > at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) > > at > com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:11 > 18) > > at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) > > at > com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:23 > 08) > > at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122) > > at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774) > > at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo > rAccessorImpl.java:57) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo > nstructorAccessorImpl.java:45) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > > at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) > > at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375) > > at > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java: > 289) > > at > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.cr > eateManagedConnection(LocalManagedConnectionFactory.java:172) > > ... 125 more > > Caused by: java.net.ConnectException: Connection refused > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.jav > a:310) > > at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketI > mpl.java:176) > > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java: > 163) > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > > at java.net.Socket.connect(Socket.java:546) > > at java.net.Socket.connect(Socket.java:495) > > at java.net.Socket.<init>(Socket.java:392) > > at java.net.Socket.<init>(Socket.java:235) > > at > com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.jav > a:256) > > at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) > > ... 137 more > > 13:39:58,890 INFO [EJBDeployer] Deployed: > file:/var/lib/jbossas/server/default/tmp/deploy/tmp6746162214074175609 > ejbca.ear-contents/ejbca-ejb.jar > > 13:39:58,948 INFO [TomcatDeployer] deploy, > ctxPath=/ejbca/publicweb/vahealthcheck, > warUrl=.../tmp/deploy/tmp6746162214074175609ejbca.ear-contents/vahealt > hcheck-exp.war/ > > 13:39:59,080 INFO [EARDeployer] Started J2EE application: > file:/var/lib/jbossas/server/default/deploy/ejbca.ear > > 13:39:59,080 ERROR [URLDeploymentScanner] Incomplete Deployment listing: > > --- MBeans waiting for other MBeans --- > > ObjectName: jboss.j2ee:service=EjbModule,module=ejbca-ejb.jar > > State: FAILED > > Reason: org.jboss.deployment.DeploymentException: Error while fixing > table name; - nested throwable: (org.jboss.util.NestedSQLException: > Could not create connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.); - nested > throwable: (org.jboss.resource.JBossResourceException: Could not > create connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.))) > > Depends On Me: > > jboss.web.deployment:war=crlstore.war,id=957152012 > > jboss.web.deployment:war=status.war,id=1508088730 > > --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- > > ObjectName: jboss.j2ee:service=EjbModule,module=ejbca-ejb.jar > > State: FAILED > > Reason: org.jboss.deployment.DeploymentException: Error while fixing > table name; - nested throwable: (org.jboss.util.NestedSQLException: > Could not create connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.); - nested > throwable: (org.jboss.resource.JBossResourceException: Could not > create connection; - nested throwable: > (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure > > The last packet sent successfully to the server was 0 milliseconds ago. > The driver has not received any packets from the server.))) > > Depends On Me: > > jboss.web.deployment:war=crlstore.war,id=957152012 > > jboss.web.deployment:war=status.war,id=1508088730 > > 13:39:59,570 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on > http-0.0.0.0-8080 > > 13:39:59,606 INFO [AjpProtocol] Starting Coyote AJP/1.3 on > ajp-0.0.0.0-8009 > > 13:39:59,700 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: > SVNTag=JBoss_4_2_3_GA date=200905191306)] Started in 20s:631ms > > *From:*Albert Nikola [mailto:alb...@gm...] > *Sent:* 11 March 2011 16:54 > *To:* ejb...@li... > *Subject:* Re: [Ejbca-develop] Building EJBCA from Eclipse > > Tomas, > > So then every time you do some modification, you have to run ant from > command line and refresh the project in Eclipse? Hmm, I'm just > wondering why? What about debugging? Haven't you ever need some > debugging on EJBCA? Thanks. > > Regards, > Albert > > On Fri, Mar 11, 2011 at 11:06 AM, Tomas Gustavsson <to...@pr... > <mailto:to...@pr...>> wrote: > > > I guess you are trying to use ant from within eclipse? I have never > done that. > > /Tomas > > > On 03/11/2011 04:44 PM, Albert Nikola wrote: > > Tomas, > > > > Ok. My bad I misconfigure JBOSS5_HOME as JBOSS_HOME. Now, unbound > > classpath problem has gone. But, I still couldn't build it is > showing > following error in console window. I searched, but didn't > get any success. > > > > BUILD FAILED > > /home/eric/workspace/ejbca/build.xml:201: The following error > occurred > while executing this line: > > /home/eric/workspace/ejbca/docs.xmli:42: The following error > occurred > while executing this line: > > /home/eric/workspace/ejbca/docs.xmli:87: > > org.apache.velocity.exception.ResourceNotFoundException: Unable to > find > resource './site.vsl' > > > > In markers the following errors still appearing. Thank you. > > > > Description Resource Path Location Type > Unknown Unknown Java > Exception Breakpoint > Unknown Unknown Java Exception Breakpoint > > The project cannot be built until build path errors are resolved > > ejbca Unknown Java Problem > > Regards, > Albert > > On Fri, Mar > 11, 2011 at 12:38 AM, Tomas Gustavsson <to...@pr... > <mailto:to...@pr...> > > > <mailto:to...@pr... <mailto:to...@pr...>>> wrote: > > > > > > Hi, > > > > In the wiki it says: > > ----- > > You must define the variable JBOSS5_HOME in > > Window->Preferences->Java->Build Path->Classpath Variables > ----- > > > You must set this variable to point to where you have unzipped a > version > > > of JBoss 5, prefferably JBoss 5.1.0.GA <http://5.1.0.GA> > <http://5.1.0.GA>. > > > > > Regards, > > Tomas > > > > On 03/11/2011 01:46 AM, Albert Nikola wrote: > > > Hi Tomas, > > > > > > Now the result seems much better after I chose only trunk->ejbca > from > > SVN repository. I guess I selected incorrect folder because > of > > ejbca->trunk->ejbca path of repository. As usual I can build > using ant > > from shell no problem. However, markers windows in > Eclipse showing the > > following error, so I couldn't build it from > Eclipse using ant. Did I > > forget something? Thank you. > > > > > > Description Resource Path Location Type > > Description Resource > Path Location Type > > Unbound classpath variable: 'JBOSS5_HOME' in > project 'ejbca' ejbca > > Build path Build Path Problem > > Unbound > classpath variable: 'JBOSS5_HOME/client/activation.jar' in > > > project 'ejbca' ejbca Build path Build Path Problem > > Unbound > classpath variable: 'JBOSS5_HOME/client/jboss-javaee.jar' in > > > project 'ejbca' ejbca Build path Build Path Problem > > Unbound > classpath variable: > > 'JBOSS5_HOME/client/jboss-logging-log4j.jar' > > > in project 'ejbca' ejbca Build path Build Path Problem > > > Unbound classpath variable: > > 'JBOSS5_HOME/client/jbossall-client.jar' in > > project 'ejbca' > ejbca Build path Build Path Problem > > Unbound classpath variable: > > 'JBOSS5_HOME/common/lib/servlet-api.jar' in > > project 'ejbca' > ejbca Build path Build Path Problem > > Unbound classpath variable: > 'JBOSS5_HOME/lib/jboss-j2se.jar' in > project > > 'ejbca' ejbca > Build path Build Path Problem > > Unbound classpath variable: > 'JBOSS5_HOME/lib/jboss-kernel.jar' in > > project 'ejbca' ejbca Build > path Build Path Problem > > Unbound classpath variable: > 'JBOSS5_HOME/lib/jboss-system-jmx.jar' in > > project 'ejbca' ejbca > Build path Build Path Problem > > Unbound classpath variable: > 'JBOSS5_HOME/lib/jboss-system.jar' in > > project 'ejbca' ejbca Build > path Build Path Problem > > Unbound classpath variable: > > > > > > 'JBOSS5_HOME/server/default/deploy/jbossweb.sar/jsf-libs/jsf-api.jar' > in > > project 'ejbca' ejbca Build path Build Path Problem > > > > > Description Resource Path Location Type > > Unknown Unknown Java > Exception Breakpoint > > Unknown Unknown Java Exception Breakpoint > > > > > Description Resource Path Location Type > > The project cannot > be built until build path errors are resolved > > ejbca Unknown Java > Problem > > > > Regards, > > Albert > > > > > > > > > > ---------------------------------------------------------------------- > -------- > > > Colocation vs. Managed Hosting > > > A question and answer guide to determining the best fit > > for > your organization - today and in the future. > > > http://p.sf.net/sfu/internap-sfd2d > > > > > > > > > > > > _______________________________________________ > > > Ejbca-develop mailing list > > > Ejb...@li... > <mailto:Ejb...@li...> > > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > > > ---------------------------------------------------------------------- > -------- > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > for your > organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > <mailto:Ejb...@li...> > > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > > > > > > > ---------------------------------------------------------------------- > -------- > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > for your > organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > > > > > > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > <mailto:Ejb...@li...> > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > ---------------------------------------------------------------------- > -------- > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit for your > organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > <mailto:Ejb...@li...> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ---------------------------------------------------------------------- > -------- EditLive Enterprise is the world's most technically advanced > content authoring tool. Experience the power of Track Changes, Inline > Image Editing and ensure content is compliant with Accessibility > Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop ---------------------------------------------------------------------------- -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop |