[Installation, Configuration & DEPLOYMENT] - Cannot deploy my persistence-unit
by tdemuth
Hi,
I'm trying to deploy a persistence-unit on JBoss 4.2, but it fails all the time:
Here is the logging-output when I start up JBoss:
14:30:08,687 INFO [Server] Starting JBoss (MX MicroKernel)...
| 14:30:08,687 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
| 14:30:08,687 INFO [Server] Home Dir: F:\jboss-4.2.1.GA
| 14:30:08,687 INFO [Server] Home URL: file:/F:/jboss-4.2.1.GA/
| 14:30:08,687 INFO [Server] Patch URL: null
| 14:30:08,687 INFO [Server] Server Name: default
| 14:30:08,687 INFO [Server] Server Home Dir: F:\jboss-4.2.1.GA\server\default
| 14:30:08,687 INFO [Server] Server Home URL: file:/F:/jboss-4.2.1.GA/server/default/
| 14:30:08,687 INFO [Server] Server Log Dir: F:\jboss-4.2.1.GA\server\default\log
| 14:30:08,687 INFO [Server] Server Temp Dir: F:\jboss-4.2.1.GA\server\default\tmp
| 14:30:08,687 INFO [Server] Root Deployment Filename: jboss-service.xml
| 14:30:08,968 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
| 14:30:08,968 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_10-b03,Sun Microsystems Inc.
| 14:30:08,968 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 14:30:09,265 INFO [Server] Core system initialized
| 14:30:10,843 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 14:30:10,843 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
| 14:30:11,187 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
| 14:30:11,187 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
| 14:30:11,328 INFO [TransactionManagerService] Starting recovery manager
| 14:30:11,390 INFO [TransactionManagerService] Recovery manager started
| 14:30:11,390 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
| 14:30:13,718 INFO [EJB3Deployer] Starting java:comp multiplexer
| 14:30:15,015 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756)
| 14:30:16,250 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jre1.5.0_10\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\Java\jre1.6.0_03\bin\client;C:\Programme\Java\jre1.6.0_03\bin;C:\Programme\MiKTeX 2.5\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin
| 14:30:16,312 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
| 14:30:16,312 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 14:30:16,312 INFO [Catalina] Initialization processed in 195 ms
| 14:30:16,312 INFO [StandardService] Starting service jboss.web
| 14:30:16,312 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
| 14:30:16,375 INFO [Catalina] Server startup in 57 ms
| 14:30:16,468 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
| 14:30:16,984 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
| 14:30:17,140 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp59194jbossws-context-exp.war/
| 14:30:17,250 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 14:30:18,000 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 14:30:18,421 INFO [MailService] Mail Service bound to java:/Mail
| 14:30:18,546 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
| 14:30:18,578 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 14:30:18,609 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 14:30:18,640 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 14:30:18,687 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 14:30:18,718 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
| 14:30:18,718 INFO [QuartzResourceAdapter] start quartz!!!
| 14:30:18,781 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
| 14:30:18,796 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 14:30:18,796 INFO [RAMJobStore] RAMJobStore initialized.
| 14:30:18,796 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
| 14:30:18,796 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 14:30:18,796 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
| 14:30:19,687 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 14:30:19,875 INFO [A] Bound to JNDI name: queue/A
| 14:30:19,875 INFO [B] Bound to JNDI name: queue/B
| 14:30:19,875 INFO [C] Bound to JNDI name: queue/C
| 14:30:19,875 INFO [D] Bound to JNDI name: queue/D
| 14:30:19,890 INFO [ex] Bound to JNDI name: queue/ex
| 14:30:19,890 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 14:30:19,906 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 14:30:19,906 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 14:30:19,906 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 14:30:19,937 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
| 14:30:19,968 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 14:30:20,046 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 14:30:20,296 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=CubeDS' to JNDI name 'java:CubeDS'
| 14:30:20,359 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 14:30:20,359 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=cube_server.jar,name=SearchServiceBean,service=EJB3 with dependencies:
| 14:30:20,500 INFO [EJBContainer] STARTED EJB: de.tobiasdemuth.cube.server.search.SearchServiceBean ejbName: SearchServiceBean
| 14:30:20,531 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 14:30:20,531 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=cube_server.jar,name=SecurityServiceBean,service=EJB3 with dependencies:
| 14:30:20,562 INFO [EJBContainer] STARTED EJB: de.tobiasdemuth.cube.server.security.SecurityServiceBean ejbName: SecurityServiceBean
| 14:30:20,562 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| 14:30:20,562 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=cube_server.jar,name=XULServiceBean,service=EJB3 with dependencies:
| 14:30:20,562 INFO [JmxKernelAbstraction] persistence.units:unitName=cube
| 14:30:20,562 INFO [JmxKernelAbstraction] jboss.j2ee:jar=cube_server.jar,name=SecurityServiceBean,service=EJB3
| 14:30:20,578 INFO [EJB3Deployer] Deployed: file:/F:/jboss-4.2.1.GA/server/default/deploy/cube_server.jar
| 14:30:20,593 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 14:30:20,703 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.j2ee:jar=cube_server.jar,name=XULServiceBean,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| persistence.units:unitName=cube
| jboss.j2ee:jar=cube_server.jar,name=SecurityServiceBean,service=EJB3
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: persistence.units:unitName=cube
| State: NOTYETINSTALLED
| Depends On Me:
| jboss.j2ee:jar=cube_server.jar,name=XULServiceBean,service=EJB3
|
|
| 14:30:20,781 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
| 14:30:20,796 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 14:30:20,812 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 12s:125ms
This is the structure of cube_server.jar, which contains all my Beans and the XML-Files:
| de
| - some packages, then my Beans
| META-INF
| -MANIFEST.MF
| cube-ds.xml
| persistence.xml
My cube-ds.xml:
<?xml version="1.0" encoding="UTF-8"?>
|
| <datasources>
| <local-tx-datasource>
| <jndi-name>CubeDS</jndi-name>
| <connection-url>jdbc:mysql://localhost:3306/cube</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>XXX</user-name>
| <password>YYYYYYYYY</password>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
| <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
| <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
And finally, my persistence.xml:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <persistence>
| <persistence-unit name="cube">
| <jta-data-source>java:/CubeDS</jta-data-source>
| </persistence-unit>
| </persistence>
|
|
So, what is wrong? I don't know why JBoss doesn't deploy my persistence-unit. But I'm a newbie, so maybe someone of you can help?
kind regards
Tobias
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105748#4105748
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105748
18 years, 8 months
[JBoss jBPM] - Can BPEL get asynchronous response from invocations?
by paoletto
I'm new to BPEL and BPM world. I leart it through "SOA for the business developer book".
Now i have this doubt:
I have several servers which run J2EE applications.
Each one has also a BatchSubsystem which expose a web services interface which allow to schedule a new process for that application. I dont just have JMS queues because i have some requirements i cant fit with just a JMS queue.
Now, if i want to use a BPM to orchestrate business process among my applications, can i do something like
for each application i want to insert "process X" in do concurrently
invoke(insert process X)
receive(feedback from application i about process X)
?
That means, can i invoke services asynchronously and then wait from THAT application a response about the service i invoked previously?
i was thinking to put a "sender" field in the invokation message of the response so my BPEL process catch the right response in each receive()
Is this wrong? is there a better way to achieve this result?
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105747#4105747
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105747
18 years, 8 months
[JBoss Getting Started Documentation] - When I Click JMX Consol in Localhost it does not load the pa
by rukshancp
when i click th JMX console link it doesnt load the page.this kind of exeptions displays.
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.26
PLease help..i know there is a cure.i m in a hurry..so reply to this.THANKX.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105746#4105746
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105746
18 years, 8 months
[Clustering/JBoss] - When I Click JMX Consol in Localhost it does not load the pa
by rukshancp
when i click th JMX console link it doesnt load the page.this kind of exeptions displays.
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.26
PLease help..i know there is a cure.i m in a hurry..so reply to this.THANKX.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105745#4105745
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105745
18 years, 8 months
[Clustering/JBoss] - When I Click JMX Consol in Localhost it does not load the pa
by rukshancp
when i click th JMX console link it doesnt load the page.this kind of exeptions displays.
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.26
PLease help..i know there is a cure.i m in a hurry..so reply to this.THANKX.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105744#4105744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105744
18 years, 8 months