[JBoss Messaging] - JMS resource caching
by jonroler
I have both a JBM multithreaded producer application and a multithreaded JBM consumer application that each need to perform a distributed transaction (JMS and JDBC--one sends messages and writes stuff to the db, and the other consumes messages and writes to the db). They are both standalone java applications that do not run within the JBoss server.
I would like to be able to cache JMS connection/session/consumer/producer objects in both the producer and the consumer application. The ActiveMQ projects seems to recommend using Jencks for this. Does JBoss provide any facilities for this? The Jencks documentation appears to be oriented around activemq--will Jencks work with JBM?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176002#4176002
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176002
17 years, 10 months
[JBoss Getting Started Documentation] - Re: newbie - JBoss
by velasquez
"PeterJ" wrote : Note this:
|
| C:\jboss-4.2.2\bin>"C:\Program Files\Java\jdk1.6.0_07\bin\java" -version 2>&1
| | | findstr /I hotspot 1>nul
| | 'findstr' is not recognized as an internal or external command, operable program or batch file.
|
| You are encountering the findstr problem. See http://wiki.jboss.org/wiki/FindstrCommandNotFound.
|
| As an alternative, you can comment out the lines in run.bat that use findstr:
|
| rem Add -server to the JVM options, if supported
| | rem "%JAVA%" -version 2>&1 | findstr /I hotspot > nul
| | rem if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
| |
Hi Peter,
Thank you for your reply. The server started but I had another problem with MBeans. Could you please guide me.
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exc
eption is:
java.net.BindException: Address already in use: JVM_Bind
I Depend On:
jboss.system:service=ThreadPool
jboss:service=NamingBeanImpl
Depends On Me:
jboss.mq:service=DestinationManager
jboss.mq:service=Invoker
jboss.mq:service=InvocationLayer,type=UIL
jboss.mq:service=InvocationLayer,type=UILXA
jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
jboss.jms:alias=QueueConnectionFactory
jboss.jms:alias=TopicConnectionFactory
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
jboss.jmx:alias=jmx/rmi/RMIAdaptor
jboss:service=Mail
at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDepl
oyer.java:1385)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java: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:619)
18:54:36,039 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
666
18:54:36,054 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
18:54:36,070 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 15s:813ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176000#4176000
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176000
17 years, 10 months
[JBossWS] - org.jboss.ws.WSException: Cannot find port in wsdl:
by sr_ren
I am using standard WSDL packaged with jaxws-ri AddNumbers.wsdl. I am following wsdl first approach to design my Java implementation. I followed the steps given in
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104843
I was able to make Echo service work fine, however I could not do AddNumbers which is as given below
<?xml version="1.0" encoding="UTF-8"?>
|
| <definitions name="AddNumbers" targetNamespace="http://duke.example.org" xmlns:tns="http://duke.example.org"
| xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
| <types>
| <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://duke.example.org">
|
| <complexType name="addNumbersResponse">
| <sequence>
| <element name="return" type="xsd:int" />
| </sequence>
| </complexType>
| <element name="addNumbersResponse" type="tns:addNumbersResponse" />
|
| <complexType name="addNumbers">
| <sequence>
| <element name="arg0" type="xsd:int" />
| <element name="arg1" type="xsd:int" />
| </sequence>
| </complexType>
| <element name="addNumbers" type="tns:addNumbers" />
|
| <element name="AddNumbersFault" type="tns:AddNumbersFault" />
| <complexType name="AddNumbersFault">
| <sequence>
| <element name="faultInfo" type="xsd:string" />
| <element name="message" type="xsd:string" />
| </sequence>
| </complexType>
| </xsd:schema>
| </types>
| <message name="addNumbers">
| <part name="parameters" element="tns:addNumbers" />
| </message>
| <message name="addNumbersResponse">
| <part name="result" element="tns:addNumbersResponse" />
| </message>
| <message name="addNumbersFault">
| <part name="AddNumbersFault" element="tns:AddNumbersFault" />
| </message>
| <portType name="AddNumbersPortType">
| <operation name="addNumbers">
| <input message="tns:addNumbers" />
| <output message="tns:addNumbersResponse" />
| <fault name="addNumbersFault" message="tns:addNumbersFault"/>
| </operation>
| </portType>
| <binding name="AddNumbersBinding" type="tns:AddNumbersPortType">
| <soap:binding transport="http://www.w3.org/2003/05/soap/bindings/HTTP/" style="document" />
| <operation name="addNumbers">
| <soap:operation soapAction="" />
| <input>
| <soap:body use="literal" />
| </input>
| <output>
| <soap:body use="literal" />
| </output>
| <fault name="addNumbersFault">
| <soap:fault name="addNumbersFault" use="literal" />
| </fault>
| </operation>
| </binding>
| <service name="AddNumbersService">
| <port name="AddNumbersPort" binding="tns:AddNumbersBinding">
| <soap:address location="http://localhost:8080/AddNumbers" />
| </port>
| </service>
| </definitions>
I ran wsconsume on this and wrote my impl class AddNumbersImp.java
@javax.jws.WebService(endpointInterface="org.example.duke.AddNumbersPortType", portName="AddNumbersPort")
public class AddNumbersImpl implements AddNumbersPortType {
public int addNumbers(int arg0, int arg1)throws AddNumbersFault_Exception
{
return 10;
}
}
After building AddNumbers.war file at deployment time I get the following error
15:27:46,185 INFO [DefaultEndpointRegistry] register: jboss.ws:context=AddNumbers,endpoint=AddNumbers
15:27:46,200 INFO [TomcatDeployer] deploy, ctxPath=/AddNumbers, warUrl=.../tmp/deploy/tmp53972AddNumbers-exp.war/
15:27:46,482 WARN [PolicyMetaDataBuilder] Cannot get service '{http://duke.example.org/}AddNumbersImplService' from the given wsdl definitions! Eventual policies attached to this service won't be considered.
15:27:46,560 ERROR [MainDeployer] Could not start deployment: file:/C:/Program Files/JBoss/server/default/deploy/AddNumbers.war
org.jboss.ws.WSException: Cannot find port in wsdl: {http://duke.example.org/}AddNumbersPort
at org.jboss.ws.metadata.builder.MetaDataBuilder.replaceAddressLocation(MetaDataBuilder.java:338)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:192)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(Unknown Source)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
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 sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
I tried several ways to tweak the PortName, but I don't have any success. Appreciate any help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175997#4175997
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175997
17 years, 10 months
[JBoss Getting Started Documentation] - Re: newbie - JBoss
by velasquez
"PeterJ" wrote : If, when you enter the 'run' command, you get no output and it just goes back to the command line, edit the run.bat file, commenting out the "@echo off" line and try it again - post that output.
Hi Peter,
Please find the output.
C:\jboss-4.2.2\bin>rem JBoss Bootstrap Script for Win32
C:\jboss-4.2.2\bin>rem ---------------------------------------------------------
----------------
C:\jboss-4.2.2\bin>rem $Id: run.bat 63249 2007-05-30 13:20:25Z dimitris(a)jboss.or
g $
C:\jboss-4.2.2\bin>set DIRNAME=.\
C:\jboss-4.2.2\bin>if "Windows_NT" == "Windows_NT" set DIRNAME=C:\jboss-4.2.2\bi
n\
C:\jboss-4.2.2\bin>set PROGNAME=run.bat
C:\jboss-4.2.2\bin>if "Windows_NT" == "Windows_NT" set PROGNAME=run.bat
C:\jboss-4.2.2\bin>pushd C:\jboss-4.2.2\bin\..
C:\jboss-4.2.2>set JBOSS_HOME=C:\jboss-4.2.2
C:\jboss-4.2.2>popd
C:\jboss-4.2.2\bin>REM Add bin/native to the PATH if present
C:\jboss-4.2.2\bin>if exist "C:\jboss-4.2.2\bin\native" set PATH=C:\jboss-4.2.2\
bin\native;C:\GTK\bin;c:\ruby\bin;C:\Oracle\bin;.;C:\Program Files\Java\jdk1.6.0
_07\bin;C:\Softwares\Ant\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin;C:\Program Fi
les\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90
\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files
\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Micros
oft Visual Studio 8\Common7\IDE\PrivateAssemblies\
C:\jboss-4.2.2\bin>if exist "C:\jboss-4.2.2\bin\native" set JAVA_OPTS= -Djava.li
brary.path="C:\GTK\bin;c:\ruby\bin;C:\Oracle\bin;.;C:\Program Files\Java\jdk1.6.
0_07\bin;C:\Softwares\Ant\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin;C:\Program F
iles\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\9
0\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program File
s\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Micro
soft Visual Studio 8\Common7\IDE\PrivateAssemblies\"
C:\jboss-4.2.2\bin>rem Read all command line arguments
C:\jboss-4.2.2\bin>REM
C:\jboss-4.2.2\bin>REM The env variable commented out in favor of using to inc
lude
C:\jboss-4.2.2\bin>REM all args in java command line. See bug #840239. [jpl]
C:\jboss-4.2.2\bin>REM
C:\jboss-4.2.2\bin>REM set ARGS=
C:\jboss-4.2.2\bin>REM :loop
C:\jboss-4.2.2\bin>REM if [] == [] goto endloop
C:\jboss-4.2.2\bin>REM set ARGS=
C:\jboss-4.2.2\bin>REM shift
C:\jboss-4.2.2\bin>REM goto loop
C:\jboss-4.2.2\bin>REM :endloop
C:\jboss-4.2.2\bin>rem Find run.jar, or we can't continue
C:\jboss-4.2.2\bin>set RUNJAR=C:\jboss-4.2.2\bin\run.jar
C:\jboss-4.2.2\bin>if exist "C:\jboss-4.2.2\bin\run.jar" goto FOUND_RUN_JAR
C:\jboss-4.2.2\bin>if not "C:\Program Files\Java\jdk1.6.0_07" == "" goto ADD_TOO
LS
C:\jboss-4.2.2\bin>set JAVA=C:\Program Files\Java\jdk1.6.0_07\bin\java
C:\jboss-4.2.2\bin>rem A full JDK with toos.jar is not required anymore since jb
oss web packages
C:\jboss-4.2.2\bin>rem the eclipse jdt compiler and javassist has its own intern
al compiler.
C:\jboss-4.2.2\bin>if not exist "C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar
" goto SKIP_TOOLS
C:\jboss-4.2.2\bin>rem If exists, point to the JDK javac compiler in case the us
er wants to
C:\jboss-4.2.2\bin>rem later override the eclipse jdt compiler for compiling JSP
pages.
C:\jboss-4.2.2\bin>set JAVAC_JAR=C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar
C:\jboss-4.2.2\bin>rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include i
t, as this will
C:\jboss-4.2.2\bin>rem result in including the local directory in the classpath,
which makes
C:\jboss-4.2.2\bin>rem error tracking harder.
C:\jboss-4.2.2\bin>if not "C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar" == "
" set RUNJAR=C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar;C:\jboss-4.2.2\bin\
run.jar
C:\jboss-4.2.2\bin>if "" == "" set RUN_CLASSPATH=C:\Program Files\Java\jdk1.6.0_
07\lib\tools.jar;C:\jboss-4.2.2\bin\run.jar
C:\jboss-4.2.2\bin>if "C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar;C:\jboss-
4.2.2\bin\run.jar" == "" set RUN_CLASSPATH=;C:\Program Files\Java\jdk1.6.0_07\li
b\tools.jar;C:\jboss-4.2.2\bin\run.jar
C:\jboss-4.2.2\bin>set JBOSS_CLASSPATH=C:\Program Files\Java\jdk1.6.0_07\lib\too
ls.jar;C:\jboss-4.2.2\bin\run.jar
C:\jboss-4.2.2\bin>rem Setup JBoss specific properties
C:\jboss-4.2.2\bin>set JAVA_OPTS= -Dprogram.name=run.bat
C:\jboss-4.2.2\bin>rem Add -server to the JVM options, if supported
C:\jboss-4.2.2\bin>"C:\Program Files\Java\jdk1.6.0_07\bin\java" -version 2>&1
| findstr /I hotspot 1>nul
'findstr' is not recognized as an internal or external command,
operable program or batch file.
C:\jboss-4.2.2\bin>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175993#4175993
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175993
17 years, 10 months
Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
hr@localhost
17 years, 10 months
[Beginners Corner] - Re: MDB cannot be created when running in
by dvh75
Actually, ixnay the cache config stuff, I don't think it needs to be there since its a master/slave setup...
Or am I wrong (anyone?)
<!-- The JMS provider loader -->
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
| name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
| <attribute name="ProviderName">DefaultJMSProvider</attribute>
| <attribute name="ProviderAdapterClass">
| org.jboss.jms.jndi.JNDIProviderAdapter
| </attribute>
| <!-- The combined connection factory -->
| <attribute name="FactoryRef">XAConnectionFactory</attribute>
| <!-- The queue connection factory -->
| <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
| <!-- The topic factory -->
| <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
| <!-- Access JMS via HAJNDI -->
| <attribute name="Properties">
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.provider.url=${jboss.bind.address:localhost}:1100
| </attribute>
| </mbean>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175990#4175990
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175990
17 years, 10 months
[JBossWS] - Re: Validation of input
by JBossWS_NewBee
I had a similar question:
I have a WSDL operation which is based on a XML schema with the following info:
<xs:element name="CheckInDate">
<xs:annotation>
<xs:documentation>CheckInDate: YYMMDD</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="6"/>
<xs:pattern value="\d\d\d\d\d\d"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FolioID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
Couple of questions around this schema:
1. Does JBossWS framework understand the xml schema constraints of xs:minLength, xs:maxLength and xs:pattern, if specified?
2. What kind of error (Soap or otherwise) does the JBossWS framework throw or report to the WS-Client, if minLength, maxLength and pattern constraints are violated.?
3. If not, do I need to do a validation around these constraints in my code and throw a wsdl 'validation error' fault.
Thanks in Advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175988#4175988
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175988
17 years, 10 months
[Beginners Corner] - Re: problem with class loader
by devireddy
Uff
I have no clue whatz going on with my JBOSS ... I tried different things with it to get my message bean run and I now see numerous errors in the log file.
Should I re-install my JBOSS copy ??
log copy
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| Caused by: org.jboss.util.NestedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@5262667[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@16a8c19b handles=0 lastUse=1221164270351 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@213eb2bc context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1b4865b1 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@2e0c5575 txSync=TxSync1428984700{tx=TransactionImple < ac, BasicAction: a0a0a74:9d4:48c97cdc:d status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@5262667[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@16a8c19b handles=0 lastUse=1221164270351 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@213eb2bc context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1b4865b1 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@2e0c5575 txSync=TxSync1428984700{tx=TransactionImple < ac, BasicAction: a0a0a74:9d4:48c97cdc:d status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
| at org.jboss.mq.pm.jdbc2.PersistenceManager.getConnection(PersistenceManager.java:1722)
| at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:417)
| ... 112 more
| Caused by: org.jboss.resource.JBossResourceException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@5262667[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@16a8c19b handles=0 lastUse=1221164270351 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@213eb2bc context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1b4865b1 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@2e0c5575 txSync=TxSync1428984700{tx=TransactionImple < ac, BasicAction: a0a0a74:9d4:48c97cdc:d status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
| at org.jboss.resource.JBossResourceException.rethrowAsResourceException(JBossResourceException.java:61)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:416)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
| ... 114 more
| Caused by: java.lang.reflect.UndeclaredThrowableException
| at org.jboss.resource.JBossResourceException.process(JBossResourceException.java:204)
| at org.jboss.resource.JBossResourceException.<init>(JBossResourceException.java:111)
| ... 118 more
| Caused by: java.lang.NoClassDefFoundError: java/sql/SQLClientInfoException
| at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionFactoryJDK6.createWrappedConnection(WrappedConnectionFactoryJDK6.java:44)
| at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.getConnection(BaseWrapperManagedConnection.java:284)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:411)
| ... 116 more
| 16:17:56,460 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 16:17:56,585 INFO [EjbModule] Deploying Bean14Bean
| 16:17:56,663 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'Bean14Bean' to jndi 'local/Bean14Bean@568877386'
| 16:17:56,663 INFO [ProxyFactory] Bound EJB Home 'Bean14Bean' to jndi 'Bean14Bean'
| 16:17:56,679 WARN [DatabasePersistencePolicy] Unable to get timer handles for containerId: jboss.j2ee:jndiName=Bean14Bean,service=EJB
| org.jboss.util.NestedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@5262667[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@16a8c19b handles=0 lastUse=1221164276679 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@213eb2bc context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1b4865b1 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@2e0c5575 txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - nested throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@5262667[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@16a8c19b handles=0 lastUse=1221164276679 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@213eb2bc context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1b4865b1 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@2e0c5575 txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
| at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.selectTimers(GeneralPurposeDatabasePersistencePlugin.java:252)
| at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:165)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy30.listTimerHandles(Unknown Source)
| at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.ejb.Container.restoreTimers(Container.java:771)
| at org.jboss.ejb.SessionContainer.startService(SessionContainer.java:410)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy51.start(Unknown Source)
| at org.jboss.ejb.EjbModule.startService(EjbModule.java:429)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| Caused by: org.jboss.resource.JBossResourceException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@5262667[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@16a8c19b handles=0 lastUse=1221164276679 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@213eb2bc context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1b4865b1 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@2e0c5575 txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
| at org.jboss.resource.JBossResourceException.rethrowAsResourceException(JBossResourceException.java:61)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:416)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
| ... 155 more
| Caused by: java.lang.reflect.UndeclaredThrowableException
| at org.jboss.resource.JBossResourceException.process(JBossResourceException.java:204)
| at org.jboss.resource.JBossResourceException.<init>(JBossResourceException.java:111)
| ... 159 more
| Caused by: java.lang.NoClassDefFoundError: java/sql/SQLClientInfoException
| at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionFactoryJDK6.createWrappedConnection(WrappedConnectionFactoryJDK6.java:44)
| at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.getConnection(BaseWrapperManagedConnection.java:284)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:411)
| ... 157 more
| 16:17:56,679 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/default/deploy/ejbtestapp-works.jar
| 16:17:56,710 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 16:17:56,757 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=ClusterView,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
| 16:17:56,757 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=DisplayOpResult,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
| 16:17:56,757 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
| 16:17:56,757 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=InspectMBean,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
| 16:17:56,757 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=DisplayMBeans,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
| 16:17:56,757 ERROR [BaseModelMBean] Exception invoking method addChild
| java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
| at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
| at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)
| at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy42.start(Unknown Source)
| at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy43.start(Unknown Source)
| 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 sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| 16:17:56,757 ERROR [BaseModelMBean] Exception invoking method init
| javax.management.RuntimeErrorException: Error invoking method addChild
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:307)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy42.start(Unknown Source)
| at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy43.start(Unknown Source)
| 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 sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
| at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
| at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)
| at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| ... 121 more
| 16:17:56,757 WARN [ServiceController] Problem starting service jboss.web.deployment:war=jmx-console.war,id=1693977446
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy42.start(Unknown Source)
| at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy43.start(Unknown Source)
| 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 sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| Caused by: javax.management.RuntimeOperationsException: Exception invoking method init
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
| ... 108 more
| Caused by: javax.management.RuntimeErrorException: Error invoking method addChild
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:307)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| ... 113 more
| Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
| at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
| at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)
| at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| ... 121 more
| 16:17:56,757 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy42.start(Unknown Source)
| at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy43.start(Unknown Source)
| 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 sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| Caused by: javax.management.RuntimeOperationsException: Exception invoking method init
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
| ... 108 more
| Caused by: javax.management.RuntimeErrorException: Error invoking method addChild
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:307)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| ... 113 more
| Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource
| at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:158)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
| at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
| at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
| at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1064)
| at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
| at org.apache.catalina.core.Standar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175978#4175978
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175978
17 years, 10 months
[JBoss Messaging] - Re: Need help with configuring message bridge from JBM-1.4.0
by Karen.Kramer
Well I was able to get it to work, so this may help you:
Putting everything in one file --- jms-ds.xml, seemed to solve the deployment probem. This following code works successfully for forwarding a message from a queue on a server with JBM and to JBossMQ with the Bridge being deployed on the server using JBM. You would only need to change the queue names and the IP address of the remote server.
This is my jmx-ds.xml file
<?xml version="1.0" encoding="UTF-8" ?>
| <connection-factories>
|
| <!-- The JMS provider loader -->
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider">
| <attribute name="ProviderName">DefaultJMSProvider</attribute>
| <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
| <!-- The combined connection factory -->
| <attribute name="FactoryRef">XAConnectionFactory</attribute>
| <!-- The queue connection factory -->
| <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
| <!-- The topic factory -->
| <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
| <!--
| Uncomment to use HAJNDI to access JMS
| <attribute name="Properties">
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.provider.url=localhost:1100
| </attribute>
| -->
| </mbean>
|
|
|
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider">
| <attribute name="ProviderName">RemoteXAConnectionFactory</attribute>
| <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
| <!-- The combined connection factory -->
| <attribute name="FactoryRef">XAConnectionFactory</attribute>
| <!-- The queue connection factory -->
| <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
| <!-- The topic factory -->
| <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
| <attribute name="Properties">
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.provider.url=172.31.19.57:1399
| </attribute>
| </mbean>
|
| <mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=TestBridge" xmbean-dd="xmdesc/Bridge-xmbean.xml">
| <depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
| <depends optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
| <attribute name="SourceDestinationLookup">/queue/DisputeStatusMessageQueue</attribute>
| <attribute name="TargetDestinationLookup">/queue/DisputeStatusMessageQueue</attribute>
| <attribute name="QualityOfServiceMode">0</attribute>
| <attribute name="MaxBatchSize">5</attribute>
| <attribute name="MaxBatchTime">-1</attribute>
| <attribute name="FailureRetryInterval">5000</attribute>
| <attribute name="MaxRetries">-1</attribute>
| <attribute name="AddMessageIDInHeader">false</attribute>
| </mbean>
|
| <!-- The server session pool for Message Driven Beans -->
| <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader" name="jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool">
| <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
| <attribute name="PoolName">StdJMSPool</attribute>
| <attribute name="PoolFactoryClass">org.jboss.jms.asf.StdServerSessionPoolFactory</attribute>
| </mbean>
|
| <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
| <tx-connection-factory>
| <jndi-name>JmsXA</jndi-name>
| <xa-transaction />
| <rar-name>jms-ra.rar</rar-name>
| <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
| <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
| <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
| <max-pool-size>20</max-pool-size>
| <security-domain-and-application>JmsXARealm</security-domain-and-application>
| </tx-connection-factory>
|
| </connection-factories>
Good Luck!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175971#4175971
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175971
17 years, 10 months
[JBossWS] - Re: SOAPElementImpl cast excepion (JBoss 4.2 + Axis2 + JDK1.
by davidm2005
Hi,
Did you (or anyone else) ever figure out this problem? I have almost the same error message trying to do use WS-Security for encrypting and signing messages:
2008-09-11 15:02:45,968 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
java.lang.ClassCastException: org.jboss.ws.core.soap.SOAPElementImpl
at org.jboss.ws.core.soap.SOAPEnvelopeImpl.(SOAPEnvelopeImpl.java:60)
at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:124)
at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:280)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:195)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:447)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175964#4175964
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175964
17 years, 10 months
[Beginners Corner] - Re: MDB cannot be created when running in
by dvh75
sorry, I should have been more explicit, as the wiki post is lacking.
In your jms-ds.xml, look for the JMSProviderLoader mbean. It's entry should be changed to look something like this:
<!-- The JMS provider loader -->
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
| name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
| <attribute name="ProviderName">DefaultJMSProvider</attribute>
| <attribute name="ProviderAdapterClass">
| org.jboss.jms.jndi.JNDIProviderAdapter
| </attribute>
| <!-- The combined connection factory -->
| <attribute name="FactoryRef">XAConnectionFactory</attribute>
| <!-- The queue connection factory -->
| <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
| <!-- The topic factory -->
| <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
| <!-- Access JMS via HAJNDI -->
| <attribute name="Properties">
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.provider.url=${jboss.bind.address:localhost}:1100
| jnp.disableDiscovery=false
| jnp.partitionName=${jboss.partition.name:DefaultPartition}
| jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
| jnp.discoveryPort=1102
| jnp.discoveryTTL=16
| jnp.discoveryTimeout=5000
| jnp.maxRetries=1
| </attribute>
| </mbean>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175943#4175943
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175943
17 years, 10 months
[EJB 3.0] - Bad EAR generated by Eclipse?
by dan jboss
I am using Eclipse 3.4.0 to generate an EAR for a jboss-4.2.3.GA installation. It is a very simple (my first) application and everything seems to be in place as expected from an ear except for the application.xml file. I am getting the following error on the server:
19:53:34,297 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
19:53:34,329 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
19:53:34,342 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 29s:708ms
17:32:08,053 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProject.ear
17:32:08,485 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProject.ear
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
which seems to be justified since the directory structure I see in the ear file is the following:
META-INF/MANIFEST.MF
myEjbProject.jar
myEjbProjectClient.jar
myDynamicWebProject.war
What am I missing? Why isn't the application.xml file generated. I guess I can generate it manually but that's not the point. Can anybody help please?
I know this question should belong to an Eclipse newsgroup but I couldn't get any response there.
Thanks.
Dan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175940#4175940
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175940
17 years, 10 months
[JBossWS] - Re: Providing your own wsdl instead of the generated one.
by sr_ren
I am using JBoss 4.3. I followed the exact steps I just got this
10:25:45,013 INFO [DefaultEndpointRegistry] register: jboss.ws:context=EchoTest,endpoint=echo
10:25:45,075 INFO [TomcatDeployer] deploy, ctxPath=/EchoTest, warUrl=.../tmp/deploy/tmp53925EchoTest-exp.war/
10:25:45,401 INFO [WSDLFilePublisher] WSDL published to: file:/C:/Program Files/JBoss/server/default/data/wsdl/EchoTest.war/EchoService.wsdl
I did not get the message regarding "ServiceEndpointDeployer". When I test my web service I got exception
10:27:07,011 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.IllegalStateException: Canot get target bean instance
at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.getTargetBean(DefaultInvocationHandler.java:80)
at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:90)
at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
...
Caused by: java.lang.InstantiationException: echo.Echo
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.getTargetBean(DefaultInvocationHandler.java:75)
I don't understand who creates this echo.Echo servlet which is mentioned in the web.xml. Any help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175930#4175930
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175930
17 years, 10 months
[JBoss jBPM] - Re: forking tasks
by kukeltje
Ok, basic trial without Seam and no special transaction stuff works
| package net.vankuijk.jbpm;
|
| import java.util.ArrayList;
| import java.util.Arrays;
| import java.util.HashSet;
| import java.util.Iterator;
| import java.util.List;
| import java.util.Set;
|
| import org.apache.commons.logging.Log;
| import org.apache.commons.logging.LogFactory;
| import org.jbpm.JbpmContext;
| import org.jbpm.db.AbstractDbTestCase;
| import org.jbpm.graph.def.ProcessDefinition;
| import org.jbpm.graph.exe.ExecutionContext;
| import org.jbpm.graph.exe.ProcessInstance;
| import org.jbpm.taskmgmt.def.AssignmentHandler;
| import org.jbpm.taskmgmt.exe.Assignable;
| import org.jbpm.taskmgmt.exe.TaskAssignmentDbTest;
| import org.jbpm.taskmgmt.exe.TaskInstance;
| import org.jbpm.taskmgmt.exe.TaskMgmtInstance;
|
| import junit.framework.TestCase;
|
| public class ForkedTaskTest extends AbstractDbTestCase {
| void deployProcessDefinition(String xml) {
| ProcessDefinition processDefinition = ProcessDefinition
| .parseXmlString(xml);
| jbpmContext.deployProcessDefinition(processDefinition);
| newTransaction();
| }
|
| public void testStartStateSwimlaneInitialization() {
| deployProcessDefinition("<process-definition name='testForkedTasks'>"
| + " <swimlane name='gertsGroupSwimlane'>"
| + " <assignment pooled-actors='gertsGroup' />"
| + " </swimlane>"
| + " <start-state>"
| + " <transition name='to_0' to='0' />"
| + " </start-state>"
| + " <task-node name='0'>"
| + " <task name='task 0' swimlane='gertsGroupSwimlane' />"
| + " <transition name='to_fork1' to='fork1' />"
| + " </task-node>"
| + " <fork name='fork1'>"
| + " <transition name='to_11' to='11' />"
| + " <transition name='to_21' to='21' />"
| + " </fork>"
| + " <task-node name='11'>"
| + " <task name='task 11' swimlane='gertsGroupSwimlane' />"
| + " <transition name='to_12' to='12' />"
| + " </task-node>"
| + " <task-node name='12'>"
| + " <task name='task 12' swimlane='gertsGroupSwimlane' />"
| + " <transition name='to_join' to='join1' />"
| + " </task-node>"
| + " <task-node name='21'>"
| + " <task name='task 21' swimlane='gertsGroupSwimlane' />"
| + " <transition name='to_join' to='join1' />"
| + " </task-node>"
| + " <join name='join1'>"
| + " <transition name='end' to='end' />"
| + " </join>"
| + " <end-state name='end' />"
| + "</process-definition>");
|
| ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testForkedTasks");
| processInstance.signal();
|
| processInstance = saveAndReload(processInstance);
|
| ArrayList actorIDs = new ArrayList();
| actorIDs.add("gertsGroup");
|
| //assertNotNull(processInstance.getTaskMgmtInstance().getTaskInstances());
|
| List tasks = jbpmContext.getGroupTaskList(actorIDs);
| assertEquals(1, tasks.size());
| assertEquals(false, ((TaskInstance) tasks.get(0)).isStartTaskInstance());
| TaskInstance task0 = (TaskInstance) tasks.iterator().next();
| assertEquals("task 0", task0.getName());
| task0.end();
|
| processInstance = saveAndReload(processInstance);
|
| tasks = jbpmContext.getGroupTaskList(actorIDs);
| assertEquals(2, tasks.size());
| ArrayList taskNames = new ArrayList();
| taskNames.add(((TaskInstance) tasks.get(0)).getName());
| taskNames.add(((TaskInstance) tasks.get(1)).getName());
| assertTrue(taskNames.contains("task 11"));
| assertTrue(taskNames.contains("task 21"));
| assertFalse(taskNames.contains("task 12"));
|
| TaskInstance task11 = (TaskInstance) tasks.get(0); //gamble it is the first
| if (!task11.getName().equals("task 11")) {
| task11 = (TaskInstance) tasks.get(1); // ok, it's the second
| }
| task11.end();
|
| processInstance = saveAndReload(processInstance);
|
| tasks = jbpmContext.getGroupTaskList(actorIDs);
| assertEquals(2, tasks.size());
| taskNames = new ArrayList();
| taskNames.add(((TaskInstance) tasks.get(0)).getName());
| taskNames.add(((TaskInstance) tasks.get(1)).getName());
| assertFalse(taskNames.contains("task 11")); //ended
| assertTrue(taskNames.contains("task 21"));
| assertTrue(taskNames.contains("task 12"));
| }
|
| private static final Log log = LogFactory
| .getLog(ForkedTaskTest.class);
|
| }
|
So it I have no clue what is going wrong in your case. Transactions? What if you try to retrieve the tasklist by using the jBPM api directly?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175927#4175927
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175927
17 years, 10 months
[JBossWS] - websphere swaRef/MIME interop. issue
by amashtakov
Hi Everybody,
I spent several hours while fighting with the following issue, but with
no luck:
I have to access a web service, running on websphere v6.
The web service itself uses swaRef and MIME for attachments.
Both, JBossWS and WebSphere v6 claim support for
WS-I Attachment Profile 1.0, but running wsconsume tool against
wsdl file raises the folowing error:
| [ERROR] invalid extension element: "mime:part" (in namespace http://schemas.xmlsoap.org/wsdl/mime/") unknown location
|
I tested this with jboss 4.2.2.GA, 4.2.3.GA and jbossws-3.0.3-native, but
the error remains. Seems, that problem is with wsdl file, but I cannot
figure out why due my limited experience with web services. Can
anybody help me this ? Any pointers will be highly appreciated.
Thank you in advance,
/Alexander
PS:
WeatherAttachment.wsdl (an example from websphere web services handbook v6)
| <?xml version="1.0" encoding="UTF-8"?>
| <wsdl:definitions xmlns:impl="http://bean.itso" xmlns:intf="http://bean.itso"
| xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
| xmlns:tns2="http://objects.itso"
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
| xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
| xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| targetNamespace="http://bean.itso">
| <wsdl:types>
| <schema xmlns="http://www.w3.org/2001/XMLSchema"
| targetNamespace="http://bean.itso" xmlns:impl="http://bean.itso"
| xmlns:intf="http://bean.itso" xmlns:tns2="http://objects.itso"
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
| <import namespace="http://objects.itso"/>
| <import namespace="http://ws-i.org/profiles/basic/1.1/xsd" schemaLocation="swaref.xsd"/>
| <element name="getDayForecast">
| <complexType>
| <sequence>
| <element name="theDate" nillable="true" type="xsd:dateTime"/>
| </sequence>
| </complexType>
| </element>
| <element name="getDayForecastResponse">
| <complexType>
| <sequence>
| <element name="getDayForecastReturn" nillable="true" type="tns2:Weather"/>
| </sequence>
| </complexType>
| </element>
| </schema>
| <schema xmlns="http://www.w3.org/2001/XMLSchema"
| targetNamespace="http://objects.itso" xmlns:impl="http://bean.itso"
| xmlns:intf="http://bean.itso"
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema">
| <complexType name="Weather">
| <sequence>
| <element name="condition" nillable="true" type="xsd:string"/>
| <element name="date" nillable="true" type="xsd:dateTime"/>
| <element name="windDirection" nillable="true" type="xsd:string"/>
| <element name="windSpeed" type="xsd:int"/>
| <element name="temperatureCelsius" type="xsd:int"/>
| <element name="dbflag" type="xsd:boolean"/>
| </sequence>
| </complexType>
| </schema>
| </wsdl:types>
|
| <wsdl:message name="getDayForecastRequest">
|
| <wsdl:part element="impl:getDayForecast" name="parameters"/>
|
| </wsdl:message>
|
| <wsdl:message name="getDayForecastResponse">
|
| <wsdl:part element="impl:getDayForecastResponse" name="parameters"/>
|
| </wsdl:message>
|
| <wsdl:message name="getDayForecastImageRequest">
|
| <wsdl:part name="theDate" type="xsd:dateTime"/>
|
| <wsdl:part name="bgImage" type="xsd:hexBinary"/>
|
| </wsdl:message>
|
| <wsdl:message name="getDayForecastImageResponse">
|
| <wsdl:part name="weatherImage" type="wsi:swaRef"/>
|
| </wsdl:message>
|
| <wsdl:portType name="WeatherAttachment">
|
| <wsdl:operation name="getDayForecast">
|
| <wsdl:input message="impl:getDayForecastRequest" name="getDayForecastRequest"/>
|
| <wsdl:output message="impl:getDayForecastResponse" name="getDayForecastResponse"/>
|
| </wsdl:operation>
|
| <wsdl:operation name="getDayForecastImage">
|
| <wsdl:input message="impl:getDayForecastImageRequest" name="getDayForecastImageRequest"/>
|
| <wsdl:output message="impl:getDayForecastImageResponse" name="getDayForecastImageResponse"/>
|
| </wsdl:operation>
|
| </wsdl:portType>
|
| <wsdl:binding name="WeatherAttachmentSoapBinding" type="impl:WeatherAttachment">
|
| <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
| <wsdl:operation name="getDayForecast">
|
| <wsdlsoap:operation soapAction=""/>
|
| <wsdl:input name="getDayForecastRequest">
|
| <wsdlsoap:body use="literal"/>
|
| </wsdl:input>
|
| <wsdl:output name="getDayForecastResponse">
|
| <wsdlsoap:body use="literal"/>
|
| </wsdl:output>
|
| </wsdl:operation>
|
| <wsdl:operation name="getDayForecastImage">
|
| <wsdlsoap:operation soapAction=""/>
|
| <wsdl:input name="getDayForecastImageRequest">
| <mime:part>
| <wsdlsoap:body parts="theDate" use="literal"/>
| </mime:part>
| <mime:multipartRelated>
| <mime:part>
| <mime:content part="bgImage" type="image/jpeg"/>
| </mime:part>
| </mime:multipartRelated>
| </wsdl:input>
|
| <wsdl:output name="getDayForecastImageResponse">
| <mime:multipartRelated>
| <mime:part>
| <wsdlsoap:body parts="weatherImage" use="literal"/>
| </mime:part>
| </mime:multipartRelated>
| </wsdl:output>
|
| </wsdl:operation>
|
| </wsdl:binding>
|
| <wsdl:service name="WeatherAttachmentService">
|
| <wsdl:port binding="impl:WeatherAttachmentSoapBinding" name="WeatherAttachment">
|
| <wsdlsoap:address location="http://localhost:9080/WeatherAttachmentWeb/services/WeatherAttachment"/>
|
| </wsdl:port>
|
| </wsdl:service>
|
| </wsdl:definitions>
|
swaref.xsd
| <?xml version="1.0" encoding="UTF-8"?>
| <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd">
| <xsd:simpleType name="swaRef">
| <xsd:restriction base="xsd:anyURI"/>
| </xsd:simpleType>
| </xsd:schema>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175922#4175922
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175922
17 years, 10 months
[Security & JAAS/JBoss] - Re: Peer address from LoginModule
by jopersson
Custom LoginModule is driven by Web Service's . I can see earlier on call stack that hostName and protocol can be found in LoginContext:
my.security.auth.spi.DatabaseServerLoginModule.login(DatabaseServerLoginModule.java:116)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
java.security.AccessController.doPrivileged(AccessController.java)
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
javax.security.auth.login.LoginContext.login(LoginContext.java:579)
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:180)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
java.lang.Thread.run(Thread.java:619)
Now I am trying to create LoginContext in CustomLoginModule::initialize(Subject subject, CallbackHandler callbackHandler,
Map sharedState, Map options)
{
super.initialize(subject, callbackHandler, sharedState, options);
this.subject = subject;
try {
loginContext = new LoginContext("MySP", subject, callbackHandler);
} catch (LoginException ex) {
Logger.getLogger(DatabaseServerLoginModule.class.getName()).log(Level.SEVERE, null, ex);
}
But it does not give client ip.
Maybe there is some abstraction on Jboss Remote for getting client ip ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175908#4175908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175908
17 years, 10 months
[Beginners Corner] - Re: problem with class loader
by devireddy
HI
Thank you for your help guys. I did try running it in default configuration this time i did not see any error in the log. But I did not understand if the application is deployed at all. So I tried to run the client application and i see this error in the log
could you please tell me what it means. I guess application is not deployed atall am I correct ?
| 2008-09-11 11:55:37,982 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Thu, 11 Sep 2008 11:55:37>
| 2008-09-11 11:55:37,982 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
| 2008-09-11 11:55:37,982 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
| 2008-09-11 11:55:37,982 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
| 2008-09-11 11:55:47,984 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Thu, 11 Sep 2008 11:55:47>
| 2008-09-11 11:55:47,984 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
| 2008-09-11 11:55:47,984 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
| 2008-09-11 11:55:47,984 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
| 2008-09-11 11:56:32,210 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run Thread[UIL2.SocketManager.ReadTask#3 client=127.0.0.1:1192,5,JBossMQ Server Threads]
| 2008-09-11 11:56:32,210 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run Thread[UIL2.SocketManager.WriteTask#4 client=127.0.0.1:1192,5,JBossMQ Server Threads]
| 2008-09-11 11:56:32,210 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
| 2008-09-11 11:56:32,210 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
| 2008-09-11 11:56:32,226 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
| 2008-09-11 11:56:32,226 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
| 2008-09-11 11:56:32,710 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
| java.net.SocketException: Connection reset
| at java.net.SocketInputStream.read(Unknown Source)
| at java.io.BufferedInputStream.fill(Unknown Source)
| at java.io.BufferedInputStream.read(Unknown Source)
| at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
| at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
| at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Unknown Source)
| at java.io.ObjectInputStream$BlockDataInputStream.refill(Unknown Source)
| at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
| at java.io.ObjectInputStream$BlockDataInputStream.readByte(Unknown Source)
| at java.io.ObjectInputStream.readByte(Unknown Source)
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:340)
| at java.lang.Thread.run(Unknown Source)
| 2008-09-11 11:56:32,710 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run Thread[UIL2.SocketManager.ReadTask#3 client=127.0.0.1:1192,5,JBossMQ Server Threads]
| 2008-09-11 11:56:32,710 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run Thread[UIL2.SocketManager.WriteTask#4 client=127.0.0.1:1192,5,JBossMQ Server Threads]
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175906#4175906
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175906
17 years, 10 months
[Management, JMX/JBoss] - is it possible to overiding patchURL functionality?
by patwary_shiva
I want to control in what order jars(setting classpath) files will be loaded so that java can load the a.class from a.jar rather than b.jar when both a.jar and b.jar has the same class.
this can be done by changing the way pathcURL picks up jar or zip files.
The code is in serverImpl.java of jboss-system.jar initBootLibraries()
method which is private.
The code needs to change to accept multiple jar files also and in the order we have specified in patchURL parameter.I am not sure whether it is good idea to modify by ourself as it will be very hard to maintain. Doesanyone have any suggestion!!.we are in process of buying jboss. should i make a patch request once we buy it or there is another way out.It is pretty urgent as we have a delivery to make.
Below is the code i am talking about..
/**
* Initialize the boot libraries.
*/
private RepositoryClassLoader initBootLibraries() throws Exception
{
// Build the list of URL for the spine to boot
List list = new ArrayList();
// Add the patch URL. If the url protocol is file, then
// add the contents of the directory it points to
URL patchURL = config.getPatchURL();
if (patchURL != null)
{
if (patchURL.getProtocol().equals("file"))
{
File dir = new File(patchURL.getFile());
if (dir.exists())
{
// Add the local file patch directory
list.add(dir.toURL());
// Add the contents of the directory too
File[] jars = dir.listFiles(new FileSuffixFilter(new String[] { ".jar", ".zip" }, true));
for (int j = 0; jars != null && j < jars.length; j++)
{
list.add(jars[j].getCanonicalFile().toURL());
}
}
}
else
{
list.add(patchURL);
}
}
shiva
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175905#4175905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175905
17 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Is MailFolder.getNewMessages supposed to work?
by stlecho
Hi,
Since a couple of days I'm trying to configure a way of popping mails from a mailbox. When looking at the code of MailFolder, I'm wondering if the getNewMessages() method is supposed to work.
First of all there is an interesting comment: "This does not seem to be the most reliable new msg check"
MailFolder.java: public Message[] getNewMessages()
| /* This does not seem to be the most reliable new msg check. This should
| probably be unread msgs with the msgs marked as read on successful
| delivery.
| */
| if (folder.hasNewMessages() {
| ...
| }
|
According to the JavaDoc of POP3Folder.hasNewMessages(), the method always returns false.
POP3Folder.hasNewMessages()
| Always returns false; the POP3 protocol provides no way to determine when a new message arrives.
I would be pleased if someone could indicate if this has been solved in the mean time :o)
Regards, Stefan Lecho.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175899#4175899
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175899
17 years, 10 months
[JBoss jBPM] - Re: forking tasks
by kukeltje
hmmm... it should work as expected. No reason why task11 and task21 should not be visible at the same time. What could be the case is that you run into 'caching'. Meaning that the tasklist is loaded when the transition to one task is taken from the fork but not the otherone yet. Refreshing this could clear things up. But if this is the case then I'd expect the first task after the first transition from the fork to be always visible, not randomly one or the other (unless it is non-determenistic which transition is taken first.
Async=true should not be needed here.
I'll try to make a unittest without seam to see if I can reproduce. Or if you already have one that would be great. btw, how are transactions configured?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175895#4175895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175895
17 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Re: DI and annotations not working
by irinac
The client side code needed to invoke the web service (TestService.as and others) were generated from a wsdl url using tools in Flex Builder 3.
I am invoking the web service from my main application mxml file
|
| /**
| * TestService.as
| * This file was auto-generated from WSDL by the Apache Axis2 generator modified by Adobe
| * Any change made to this file will be overwritten when the code is re-generated.
| */
| package RPortal.atl{
| import mx.rpc.AsyncToken;
| import flash.events.EventDispatcher;
| import mx.rpc.events.ResultEvent;
| import mx.rpc.events.FaultEvent;
| import flash.utils.ByteArray;
| import mx.rpc.soap.types.*;
|
| /**
| * Dispatches when a call to the operation sayHello completes with success
| * and returns some data
| * @eventType SayHelloResultEvent
| */
| [Event(name="SayHello_result", type="RPortal.atl.SayHelloResultEvent")]
|
| /**
| * Dispatches when the operation that has been called fails. The fault event is common for all operations
| * of the WSDL
| * @eventType mx.rpc.events.FaultEvent
| */
| [Event(name="fault", type="mx.rpc.events.FaultEvent")]
|
| public class TestService extends EventDispatcher implements ITestService
| {
| private var _baseService:BaseTestService;
|
| /**
| * Constructor for the facade; sets the destination and create a baseService instance
| * @param The LCDS destination (if any) associated with the imported WSDL
| */
| public function TestService(destination:String=null,rootURL:String=null)
| {
| _baseService = new BaseTestService(destination,rootURL);
| }
|
| //stub functions for the sayHello operation
|
|
| /**
| * @see ITestService#sayHello()
| */
| public function sayHello():AsyncToken
| {
| var _internal_token:AsyncToken = _baseService.sayHello();
| _internal_token.addEventListener("result",_sayHello_populate_results);
| _internal_token.addEventListener("fault",throwFault);
| return _internal_token;
| }
| /**
| * @see ITestService#sayHello_send()
| */
| public function sayHello_send():AsyncToken
| {
| return sayHello();
| }
|
| /**
| * @see ITestService#addsayHello()
| */
| public function addsayHelloEventListener(listener:Function):void
| {
| addEventListener(SayHelloResultEvent.SayHello_RESULT,listener);
| }
|
|
|
|
|
|
|
|
| RPortal.mxml
|
| <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" borderStyle="none">
| <mx:Script>
| <![CDATA[
| import RPortal.atl.*;
|
| [Bindable]
| private var testService:TestService = new TestService();
|
| private function testWebService():void
| {
| // Attach the event handler
| testService.addsayHelloEventListener(handleWebServiceResult);
| // Invoke the service call
| testService.sayHello();
| }
|
| private function handleWebServiceResult(event:SayHelloResultEvent):void
| {
| trace(event.result);
| }
| ]]>
| </mx:Script>
|
|
please let me know if this level of detail is enough or if I need to post anything else.
I feel like I'm making a silly mistake somewhere in deployment but don't know where to look ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175889#4175889
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175889
17 years, 10 months
[JBoss jBPM] - forking tasks
by gnagy
Hi,
We have a workflow with a fork, and need to track tasks in each branch. A simplified use case follows:
Start
|
Task0
|
Fork
/ \
Task11 Task21
| |
Task12 |
\ /
Join
|
End
We have a seam ui that uses PooledTaskInstanceList. We use swim lanes too, however the fork is within a single swim lane, so i guess it should not matter.
So we have a page with the pooled task instances. Initially Task0 should be displayed. When the user completes it, 2 tasks should appear: Task11, Task21. Then, if the user completes e.g. Task11, then the following should appear: Task 12, Task21. Etc. The join should continue only if both branches are done.
However, currently only 1 task is shown from either branch, seemingly randomly, e.g. after Task0 the user has only the option to complete Task11, then Task12, then Task21, the end.
I read thought the docs and this forum, and the thing people seem to get hung upon is to perform things concurrently. But we don't really need that, just that the forked tasks appear multiple times in the pooled instance list (or some other list??), so the user can choose what to do next. I tried putting async=true on the fork to no avail.
Any suggestions?
thanks,
Greg
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175883#4175883
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175883
17 years, 10 months
[Beginners Corner] - Re: problem with class loader
by devireddy
Thq Jaikiran for ur reply.
First I would like to tell you that I tested the same code on Glassfis and it worked fine. I used NetBeans-Glassfish combination. Dont know why its not working with Eclipse (3.4) - JBOSS (4.2.3) combination.
I am not deploying it as EAR on the server I have created the project just as a EJB project so its deploying it using a ejb jar file.
I have paster server log and console log here in that order.
Server log:
Here is the server log, As u can expect it was too big, I am just pasting the part of it which I think is relavent to this error.
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.ejb.EJBDeployer] init, MDB-test.jar
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.ejb.EJBDeployer] looking for nested deployments in : file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1bc82e7, cl=org.jboss.mx.loading.UnifiedClassLoader3@ad962c{ url=file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/tmp/deploy/tmp2068MDB-test.jar ,addedOrder=0}
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1bc82e7, cl=org.jboss.mx.loading.UnifiedClassLoader3@ad962c{ url=file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/tmp/deploy/tmp2068MDB-test.jar ,addedOrder=0}
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@ad962c{ url=file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/tmp/deploy/tmp2068MDB-test.jar ,addedOrder=0}
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| 2008-09-11 09:23:49,600 DEBUG [org.jboss.ejb.EJBDeployer] create, MDB-test.jar
| 2008-09-11 09:23:49,631 DEBUG [org.jboss.ejb.EJBDeployer] Verifying file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| 2008-09-11 09:23:49,647 WARN [org.jboss.verifier.strategy.AbstractVerifier] Failed to find class: MessageListener
| java.lang.ClassNotFoundException: No ClassLoaders found for: MessageListener
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at org.jboss.verifier.strategy.AbstractVerifier.isAssignableFrom(AbstractVerifier.java:146)
| at org.jboss.verifier.strategy.EJBVerifier21.verifyMessageDrivenBean(EJBVerifier21.java:2521)
| at org.jboss.verifier.strategy.EJBVerifier21.checkMessageBean(EJBVerifier21.java:144)
| at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:185)
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy32.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| 2008-09-11 09:23:49,647 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
| Bean : MessageBean
| Section: 15.7.2
| Warning: A message driven bean must implement, directly or indirectly, the message listener class
|
| 2008-09-11 09:23:49,647 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
| Bean : MessageBean
| Section: 15.7.2
| Warning: A message driven bean must implement, directly or indirectly, the message listener class
| Info : Class not found on 'MessageListener': No ClassLoaders found for: MessageListener
|
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
| 2008-09-11 09:23:49,647 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy32.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e10733d1{ url=file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar, deployedLastModified=0 }
| org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy32.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar -> file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/jmx-console.war/
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/jmx-console.war/
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
| 2008-09-11 09:23:49,647 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Begin init
|
|
|
Console :
| 09:23:31,366 INFO [Server] Starting JBoss (MX MicroKernel)...
| 09:23:31,366 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
| 09:23:31,366 INFO [Server] Home Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA
| 09:23:31,366 INFO [Server] Home URL: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/
| 09:23:31,366 INFO [Server] Patch URL: null
| 09:23:31,366 INFO [Server] Server Name: all
| 09:23:31,366 INFO [Server] Server Home Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\server\all
| 09:23:31,366 INFO [Server] Server Home URL: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/
| 09:23:31,366 INFO [Server] Server Log Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\server\all\log
| 09:23:31,366 INFO [Server] Server Temp Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\server\all\tmp
| 09:23:31,366 INFO [Server] Root Deployment Filename: jboss-service.xml
| 09:23:31,522 INFO [ServerInfo] Java version: 1.6.0_10-rc,Sun Microsystems Inc.
| 09:23:31,522 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b15,Sun Microsystems Inc.
| 09:23:31,522 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
| 09:23:31,788 INFO [Server] Core system initialized
| 09:23:33,303 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 09:23:33,303 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
| 09:23:33,616 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
| 09:23:33,616 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
| 09:23:33,725 INFO [TransactionManagerService] Starting recovery manager
| 09:23:33,772 INFO [TransactionManagerService] Recovery manager started
| 09:23:33,772 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
| 09:23:35,100 INFO [EJB3Deployer] Starting java:comp multiplexer
| 09:23:35,725 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is 127.0.0.1:1570
| -------------------------------------------------------
| 09:23:37,756 INFO [TreeCache] viewAccepted(): [127.0.0.1:1570|0] [127.0.0.1:1570]
| 09:23:37,756 INFO [TreeCache] TreeCache local address is 127.0.0.1:1570
| 09:23:37,756 INFO [TreeCache] State could not be retrieved (we are the first member in group)
| 09:23:37,756 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
| 09:23:38,866 INFO [NativeServerConfig] JBoss Web Services - Native
| 09:23:38,866 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
| 09:23:39,272 INFO [SnmpAgentService] SNMP agent going active
| 09:23:39,444 INFO [DefaultPartition] Initializing
| 09:23:39,475 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is 127.0.0.1:1578
| -------------------------------------------------------
| 09:23:41,475 INFO [DefaultPartition] Number of cluster members: 1
| 09:23:41,475 INFO [DefaultPartition] Other members: 0
| 09:23:41,475 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
| 09:23:41,475 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)
| 09:23:41,506 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/127.0.0.1
| 09:23:41,506 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
| 09:23:41,850 INFO [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
| 09:23:42,038 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is 127.0.0.1:1584
| -------------------------------------------------------
| 09:23:44,038 INFO [TreeCache] viewAccepted(): [127.0.0.1:1584|0] [127.0.0.1:1584]
| 09:23:44,038 INFO [TreeCache] TreeCache local address is 127.0.0.1:1584
| 09:23:44,116 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is 127.0.0.1:1590
| -------------------------------------------------------
| 09:23:46,116 INFO [TreeCache] viewAccepted(): [127.0.0.1:1590|0] [127.0.0.1:1590]
| 09:23:46,116 INFO [TreeCache] TreeCache local address is 127.0.0.1:1590
| 09:23:46,412 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000F4000102000000000A3132372E302E302E31000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000D31302E31302E31302E31313600000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 09:23:46,459 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000F4000102000000000A3132372E302E302E31000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000D31302E31302E31302E31313600000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 09:23:46,866 INFO [Embedded] Catalina naming disabled
| 09:23:46,944 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Java\jdk1.6.0_10\bin;C:\Program Files\SlikSvn\bin\;C:\Program Files\TortoiseSVN\bin;C:\Documents and Settings\RReddy\Desktop\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin
| 09:23:46,991 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
| 09:23:46,991 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 09:23:46,991 INFO [Catalina] Initialization processed in 126 ms
| 09:23:46,991 INFO [StandardService] Starting service jboss.web
| 09:23:46,991 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
| 09:23:47,022 INFO [Catalina] Server startup in 29 ms
| 09:23:47,084 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
| 09:23:47,444 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
| 09:23:47,522 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
| 09:23:47,569 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddi.war/
| 09:23:47,631 INFO [RegistryServlet] Loading jUDDI configuration.
| 09:23:47,631 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
| 09:23:47,631 INFO [RegistryServlet] Initializing jUDDI components.
| 09:23:47,772 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 09:23:47,897 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 09:23:48,131 INFO [MailService] Mail Service bound to java:/Mail
| 09:23:48,225 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
| 09:23:48,428 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 09:23:48,444 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 09:23:48,459 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 09:23:48,491 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 09:23:48,537 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
| 09:23:48,553 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
| 09:23:48,569 INFO [QuartzResourceAdapter] start quartz!!!
| 09:23:48,600 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
| 09:23:48,616 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 09:23:48,616 INFO [RAMJobStore] RAMJobStore initialized.
| 09:23:48,616 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
| 09:23:48,616 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 09:23:48,616 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
| 09:23:49,272 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 09:23:49,459 INFO [A] Bound to JNDI name: queue/A
| 09:23:49,459 INFO [B] Bound to JNDI name: queue/B
| 09:23:49,459 INFO [C] Bound to JNDI name: queue/C
| 09:23:49,459 INFO [D] Bound to JNDI name: queue/D
| 09:23:49,459 INFO [ex] Bound to JNDI name: queue/ex
| 09:23:49,475 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 09:23:49,475 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 09:23:49,475 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 09:23:49,475 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 09:23:49,506 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
| 09:23:49,522 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 09:23:49,584 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 09:23:49,647 WARN [AbstractVerifier] Failed to find class: MessageListener
| java.lang.ClassNotFoundException: No ClassLoaders found for: MessageListener
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at org.jboss.verifier.strategy.AbstractVerifier.isAssignableFrom(AbstractVerifier.java:146)
| at org.jboss.verifier.strategy.EJBVerifier21.verifyMessageDrivenBean(EJBVerifier21.java:2521)
| at org.jboss.verifier.strategy.EJBVerifier21.checkMessageBean(EJBVerifier21.java:144)
| at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:185)
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy32.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| 09:23:49,647 WARN [verifier] EJB spec violation:
| Bean : MessageBean
| Section: 15.7.2
| Warning: A message driven bean must implement, directly or indirectly, the message listener class
|
| 09:23:49,647 WARN [verifier] EJB spec violation:
| Bean : MessageBean
| Section: 15.7.2
| Warning: A message driven bean must implement, directly or indirectly, the message listener class
| Info : Class not found on 'MessageListener': No ClassLoaders found for: MessageListener
|
| 09:23:49,647 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy32.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(Unknown Source)
| 09:23:49,662 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 09:23:49,756 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@e10733d1 { url=file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar }
| deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
| status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
| state: FAILED
| watch: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/all/deploy/MDB-test.jar
| altDD: null
| lastDeployed: 1221139429600
| lastModified: 1221139429584
| mbeans:
|
|
| 09:23:49,819 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
| 09:23:49,819 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 09:23:49,834 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 18s:468ms
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175846#4175846
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175846
17 years, 10 months
[Remoting] - Pure RMI
by hudara
Hi,
I'm trying to expose some methods using "Pure RMI" on jBoss 4.0.5GA.
When I say "Pure RMI" this means that my interface extends the java.rmi.Remote class.
Note that I'm not talking about a remote connection to an Statefull\stateless session Facade (EJB), which are also a type of RMI.
My questions are:
1. Where can I find a document describing how to do it on jBoss.
2. How can I solve the "anonymous port selection" assuming my application will be installed behind a firewall? Is replacing the transport layer to an HTTP transport layer should work? if yes, how exectly this can be done o jBoss?
3. If I execute the java.rmi.registry.LocateRegistry.createRegistry method upon server startup, and try to bind this RMI for the defual port (1099), I get an error saying that this port is already bind. This may hint that this is not the correct way to implement RMI. What is the correct way?
Thanks
Guy Hudara
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175836#4175836
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175836
17 years, 10 months
[JBoss jBPM] - Re: Questions about doXslTransform
by dave9739
Hi all,
I found that when bpel process call doXslTransform then the server will produce the following output.
-------------------------------------------------------
2008-09-11 18:35:25,625 ERROR [org.jbpm.bpel.sublang.xpath.XPathExpressionEvaluator] expression evaluation failed
org.jaxen.UnresolvableException: No Such Function doXslTransform
at org.jaxen.SimpleFunctionContext.getFunction(SimpleFunctionContext.java:127)
at org.jaxen.ContextSupport.getFunction(ContextSupport.java:242)
at org.jaxen.Context.getFunction(Context.java:216)
at org.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:172)
at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)
at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674)
at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213)
at org.jbpm.bpel.sublang.xpath.XPathExpressionEvaluator.evaluate(XPathExpressionEvaluator.java:80)
at org.jbpm.bpel.graph.basic.assign.FromExpression.extract(FromExpression.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
........
-------------------------------------------------------
Why jbpm-bpel does not support this function? As jbpm-bpel home page
said
"New services can be rapidly scripted as a function of other services instead of being developed from the ground up. Transforming output from one service into input to another service is made straightforward with XPath and XSLT.
".
However, jbpm-bpel cannot found that functions.
Does anyone know how to make this function works?
Many thanks.
dave
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175828#4175828
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175828
17 years, 10 months
[JBoss Messaging] - Timeout for Disconnected JBM Client
by rtm333
We are using JBM 1.4.0.SP3 on JBoss AS 4.2.2.GA, where messages generated by a Linux server are to be distributed to topic subscribers running on Windows boxes.
We are experiencing a major problem with JBoss Messaging when a consuming JBM client running on a Win XP box disappears suddenly, e.g. by Blue Screen or network disruption (as simulated by disabling the corresponding Local Area Connection in Control Panel - Network Connections). In this case it takes the JMS server 15 minutes to detect that the client is gone with a "java.io.IOException: Connection timed out". During all this time the publishing thread is blocked trying to write to the socket (see stack trace below). This also stops all message delivery to the other subscribers of this topic, what makes this a real showstopper.
We have also tried this scenario with JBM 1.4.0.SP3_CP03 with the same result. We updated to that release, because the change log mentioned JBMESSAGING-1268 that is also concerned with a similar scenario.
We tried playing with the timeout settings in remoting-bisocket-service.xml, but to no avail. Can you please explain the meaning of the attributes "timeout" and "callbackTimeout" and in what units (e.g. ms) these have to be specified? Any other ideas for a solution or workaround?
Thanks,
Ralf Torsten
Here the stack trace of the blocking publisher thread (from JBM 1.4.0.SP3_CP03):
| "ClientPublishQ-1" daemon prio=10 tid=0x85a33400 nid=0x6364 runnable [0x84ae9000..0x84ae9e20]
| java.lang.Thread.State: RUNNABLE
| at java.net.SocketOutputStream.socketWrite0(Native Method)
| at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
| at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
| at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
| at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
| - locked <0x9eaae338> (a java.io.BufferedOutputStream)
| at java.io.DataOutputStream.flush(DataOutputStream.java:106)
| at org.jboss.jms.wireformat.ClientDelivery.write(ClientDelivery.java:93)
| at org.jboss.jms.wireformat.JMSWireFormat.write(JMSWireFormat.java:237)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:971)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:606)
| at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:418)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.remoting.Client.invokeOneway(Client.java:598)
| at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:826)
| at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvokerCallbackHandler.java:697)
| at org.jboss.jms.server.endpoint.ServerSessionEndpoint.performDelivery(ServerSessionEndpoint.java:1440)
| at org.jboss.jms.server.endpoint.ServerSessionEndpoint.handleDelivery(ServerSessionEndpoint.java:1352)
| - locked <0x9eabf860> (a org.jboss.jms.server.endpoint.ServerSessionEndpoint)
| at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:327)
| - locked <0x9ebce290> (a java.lang.Object)
| at org.jboss.messaging.core.impl.RoundRobinDistributor.handle(RoundRobinDistributor.java:119)
| at org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.handle(MessagingQueue.java:583)
| at org.jboss.messaging.core.impl.ClusterRoundRobinDistributor.handle(ClusterRoundRobinDistributor.java:79)
| at org.jboss.messaging.core.impl.ChannelSupport.deliverInternal(ChannelSupport.java:606)
| at org.jboss.messaging.core.impl.MessagingQueue.deliverInternal(MessagingQueue.java:506)
| at org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:238)
| - locked <0x9ebcdf28> (a java.lang.Object)
| at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2208)
| at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:494)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:763)
| at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:391)
| at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
| at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
| at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
| at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
| at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
| at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
| at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
| at org.jboss.remoting.ServerInvoker$1.run(ServerInvoker.java:1761)
| at org.jboss.jms.server.remoting.DirectThreadPool.run(DirectThreadPool.java:63)
| at org.jboss.remoting.ServerInvoker.handleOnewayInvocation(ServerInvoker.java:1772)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:758)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.remoting.Client.invokeOneway(Client.java:598)
| at org.jboss.remoting.Client.invokeOneway(Client.java:786)
| at org.jboss.remoting.Client.invokeOneway(Client.java:776)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:180)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvokeOneway(DelegateSupport.java:165)
| at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:473)
| at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
| at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:661)
| at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect28.invoke(SessionAspect28.java)
| at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
| at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
| at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)
| at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:269)
| at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect39.invoke(ProducerAspect39.java)
| at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
| at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)
| at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164)
| at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207)
| at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145)
| at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136)
| at org.jboss.jms.client.JBossMessageProducer.publish(JBossMessageProducer.java:177)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175797#4175797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175797
17 years, 10 months
[JBoss jBPM] - Re: Task timer and TaskInstance.dueDate field
by lblaauw
Hey,
Allthough it has been a while since the post below was posted, I am
facing a somewhat simular dilemma...
Basically I also have a timer asociated on a task node. Seems to be
working just fine, but when i get a tasklist the task duedate is not set
to the timer and I agree with the poster of the original message that
the task duedate really should be the Timer duedate wich was asociated
with this task to begin with. Obviously I could 'kludge' some db calls
to fill my own task objects, go through the jobs of the processInstance
and add the timers to my own custom task objects... Dont really want
to do that however since I feel the aproach below makes sense.
Any of the jBPM gurus like to comment ?
Greetings and thanks upfront for your time,
Leo de Blaauw
"p4elka" wrote : Hello
|
| JBPM allow to use timers with task instance, where timer has it's own due date not related to task due date. Timer's due date cannot be changed after timer is created (at least using API provided i.e SchedulerService or JobSession).
| Sometimes it is required to change due date for timer associated with task instance after task instance is created, and I haven't found standard way of doing this in JBPM.
|
| Here is how I think this could be implemented and I would be glad to get your opinion on this.
| I believe that link between task instance due date and task timer due date is missing in current JBPM implementation.
| Task due date should be ignored when timer is associated with task, and task instance should be initialized with timer due date.
| Upon change of task due date, we should look whether task has timer associated and if yes, timer instance should be found and updated with new due date value.
| Another approach could be not to change dates in existing timers but cancel timer and create new one using existing timer declaration.
|
| What do you think ?
|
| Thanks a lot !
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175787#4175787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175787
17 years, 10 months
[Security & JAAS/JBoss] - JAAS authentification with JBoss AS CR1 : jaas not bound
by slimamar
A working Beta4 EJB3 application is broken with CR1.
@Stateful
@Remote(MyInterface.class)
@SecurityDomain("myconfig")
public class MyClassEJB3 implements MyInterface
{
....
}
A RuntimeException appears when 'MyClassEJB3' is loaded.
anonymous wrote :
| org.jboss.deployers.spi.DeploymentException: Error deploying gsrAppServeur.jar: failed to initialize bean container
| at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192)
| at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:544)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.RuntimeException: failed to initialize bean container
| at org.jboss.ejb3.EJBContainer.(EJBContainer.java:225)
| at org.jboss.ejb3.session.SessionContainer.(SessionContainer.java:116)
| at org.jboss.ejb3.session.SessionSpecContainer.(SessionSpecContainer.java:29)
| at org.jboss.ejb3.stateful.StatefulContainer.(StatefulContainer.java:98)
| at org.jboss.ejb3.Ejb3AnnotationHandler.getStatefulContainer(Ejb3AnnotationHandler.java:294)
| at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:209)
| at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:645)
| at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:605)
| at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:587)
| at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:553)
| at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:465)
| at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:178)
| ... 21 more
| Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: jaas not bound
| at org.jboss.ejb3.EJBContainer.getSecurityManager(EJBContainer.java:917)
| at org.jboss.ejb3.security.AuthenticationInterceptorFactory.createPerClass(AuthenticationInterceptorFactory.java:44)
| at org.jboss.aop.advice.AspectFactoryDelegator.createPerClass(AspectFactoryDelegator.java:107)
| at org.jboss.aop.Advisor.addPerClassAspect(Advisor.java:1080)
| at org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedInterceptorFactory.java:75)
| at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:1134)
| at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.createInterceptorChain(ManagedObjectAdvisor.java:136)
| at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:1623)
| at org.jboss.aop.MethodMatchInfo.applyBinding(MethodMatchInfo.java:153)
| at org.jboss.aop.MethodMatchInfo.overridePopulateBindings(MethodMatchInfo.java:144)
| at org.jboss.aop.MethodMatchInfo.populateBindings(MethodMatchInfo.java:93)
| at org.jboss.aop.Advisor.finalizeMethodChain(Advisor.java:1255)
| at org.jboss.aop.ClassAdvisor.finalizeChains(ClassAdvisor.java:688)
| at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:601)
| at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:304)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:274)
| at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.initialize(ManagedObjectAdvisor.java:169)
| at org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor.initialize(ExtendedManagedObjectAdvisor.java:70)
| at org.jboss.ejb3.interceptors.container.AbstractContainer.initializeAdvisor(AbstractContainer.java:162)
| at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:201)
| at org.jboss.ejb3.EJBContainer.(EJBContainer.java:221)
| ... 32 more
| Caused by: javax.naming.NameNotFoundException: jaas not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.ejb3.security.SecurityDomainManager.getSecurityManager(SecurityDomainManager.java:41)
| at org.jboss.ejb3.EJBContainer.getSecurityManager(EJBContainer.java:911)
| ... 53 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175786#4175786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175786
17 years, 10 months
[Persistence, JBoss/CMP, Hibernate, Database] - Making a client-side JPA connection
by homaxto
For testing purpose I am trying to make a JPA connection to our database.
I get an error saying:
Unable to configure EntityManagerFactory
with no further explanation!
I think I have tried everything in my persistence file and now finally I give up.
My persistence.xml (only the persistence-unit):
<persistence-unit name="Test" transaction-type="RESOURCE_LOCAL">
| <provider>org.hibernate.ejb.HibernatePersistence</provider>
| <class>dme.dm.device.Operation</class>
| <class>dme.dm.device.Action</class>
| <properties>
| <property name="hibernate.connection.driver_class"
| value="com.mysql.jdbc.Driver"/>
| <property name="hibernate.connection.username"
| value="jboss"/>
| <property name="hibernate.connection.password"
| value="banan123"/>
| <property name="hibernate.connection.url"
| value="jdbc:mysql://172.16.12.15/dm_tos"/>
| <property name="hibernate.dialect"
| value="org.hibernate.dialect.MySQLDialect"/>
| <property name="hibernate.hbm2ddl.auto"
| value="update"/>
| </properties>
| </persistence-unit>
And I make the call like this:
public class OperationTest {
| private EntityManager entityManager;
|
| @Before
| public void setUp() {
| EntityManagerFactory emf = Persistence.createEntityManagerFactory("Test");
| entityManager = emf.createEntityManager();
| }
| }
When I run this code I get the exception:
javax.persistence.PersistenceException: [PersistenceUnit: Test] Unable to configure EntityManagerFactory
Does anyone have an idea of what could be wrong?
Regards,
Thomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175780#4175780
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175780
17 years, 10 months
[JBoss jBPM] - cancel process instance including subprocesses
by Thomas.Kriechbaum
Hello,
what's the recommended way to cancel a process instance and it's subprocesses as well (jbpm-jpdl 3.2.2).
Within a remote interface I'm invoking the org.jbpm.command.CancelProcessInstanceCommand having cancelSubProcesses set to true.
First of all, there seams to be a bug in the method cancelSubProcesses, because the HQL-Query "GraphSession.findSubProcessInstances" requires the parameter "processInstance" and not "instanceId". I will report this issue.
The main problem is, that when canceling a sub process the super process gets a signal and continues as defined by the process definition. In my particular case, new task instances are created that are not canceled as expected.
Here is the source code from ProcessInstance.end
| /**
| *ends (=cancels) this process instance and all the tokens in it.
| **/
| public void end() {
| ...
| // check if this process was started as a subprocess of a super process
| if (superProcessToken!=null) {
| addCascadeProcessInstance(superProcessToken.getProcessInstance());
|
|
| ExecutionContext superExecutionContext = new ExecutionContext(superProcessToken);
| superExecutionContext.setSubProcessInstance(this);
| superProcessToken.signal(superExecutionContext);
| }
| ...
| }
| }
|
|
The posting http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72442 almost deals with the same question, but no replies have been sent at the moment.
Thanks,
Thomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175777#4175777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175777
17 years, 10 months
[Beginners Corner] - why Session would close under stress test?
by gan.gary
I have a JBoss under stresstest and under what condition the Session would close?
and the very first log is:
2008-09-10 09:01:40,695 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for null
| org.hibernate.SessionException: Session is closed!
| at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
| at org.hibernate.impl.SessionImpl.getActionQueue(SessionImpl.java:1817)
| at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:201)
| at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
| at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
| at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
| at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
| at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
| at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
| at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
| at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
| at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:494)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:248)
| at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
| at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)
| at java.lang.Thread.run(Thread.java:595)
| 2008-09-10 09:01:40,695 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] org.jboss.resource.adapter.jms.inflow.JmsServerSession@e94c75 failed to commit/rollback
| java.lang.NullPointerException
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175763#4175763
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175763
17 years, 10 months
[JBoss Portal] - Re: Problem with Custom Auth Module
by jsports
It's very easy to do.
There are 2 steps.
1.Cas Authentication
You can write a public class CASAuthenticationService implements org.jboss.portal.identity.sso.AuthenticationService
,
then define it as a MBean in jboss-portal.sar/meta-inf/jboss-service.xml,
the MBean should like this:
| <mbean code="org.jboss.portal.identity.sso.cas.CASAuthenticationService"
| name="portal:service=Module,type=CASAuthenticationService"
| xmbean-dd=""
| xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
| <xmbean/>
| <depends>portal:service=Module,type=IdentityServiceController</depends>
| <attribute name="HavingRole"></attribute>
| </mbean>
|
you can decalre the resource you need as attribute,and remove the resource you does not use.
you can change the class name,but should not chanage
name="portal:service=Module,type=CASAuthenticationService".
2.jboss portal loginmodule
define a loginmodule what you like,extends from the several calss I mentioned before,override validatePassword method like the below:
| protected boolean validatePassword(String inputPassword,
| String expectedPassword) {
| // logger.info("inputPassword=="+inputPassword);
| // logger.info("expectedPassword=="+expectedPassword);
| HttpServletRequest request = null;
| try {
| request = (HttpServletRequest) PolicyContext
| .getContext("javax.servlet.http.HttpServletRequest");
| } catch (Exception e) {
| log.error(this, e);
| throw new RuntimeException(e);
| }
| if (request != null) {
| Object ssoSuccess = request.getAttribute("ssoSuccess");
| // logger.info("ssoSuccess=="+ssoSuccess);
| if (ssoSuccess != null) {
| return true;
| }
| }
| return super.validatePassword(inputPassword, expectedPassword);
| }
|
then change the loginmodule declaration in jboss-portal.sar\conf\login-config.xml as your class.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175744#4175744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175744
17 years, 10 months
[Clustering/JBoss] - JBoss node joining wrong cluster
by dyazbek
I am trying to setup an environment of more than one cluster in the same network.
Each cluster will have two JBoss instances, and I want them to be totally isolated.
Here is what I have done so-far.
Setup two machines with JBoss EAP 4.3 on them, configured the partition name to be different for each, and configured the PeerID to be different on each.
On each server, i have configured the following:
cluster-service.xml
UDP ip_mcast="false"
UDP bind_addr="${jboss.bind.address}"
PING initial_hosts="${jboss.bind.address}[12345]"
ejb3-clustered-sfsbcache-service.xml
UDP ip_mcast="false"
UDP bind_addr="${jboss.bind.address}"
PING initial_hosts="${jboss.bind.address}[12346]"
ejb3-entity-cache-service.xml
UDP ip_mcast="false"
UDP bind_addr="${jboss.bind.address}"
PING initial_hosts="${jboss.bind.address}[12347]"
Now, when I start JBoss on one machine, it realizes it is the first node of the cluster, and all is okay.
But, when I start JBoss on the second machine, it attempts to join the cluster that was started on the first. Here is what happens in the log:
| 12:27:12,134 INFO [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener@131cd12 got new view [ip-addr1:33326|117] [ip-addr1:33326, ip-addr2:2393], old view is null
| 12:27:12,134 INFO [GroupMember] I am (ip-addr2:2393)
| 12:27:12,134 INFO [GroupMember] New Members : 2 ([ip-addr1:33326, ip-addr2:2393])
| 12:27:12,134 INFO [GroupMember] All Members : 2 ([ip-addr1:33326, ip-addr2:2393])
|
| ....
|
| 12:27:49,417 ERROR [ExceptionUtil] org.jboss.jms.server.connectionfactory.ConnectionFactory@11c5342 startService
| java.lang.IllegalStateException: org.jboss.messaging.core.impl.postoffice.GroupMember@4a583d response not received from ip-addr1:33326 - there may be others
| at org.jboss.messaging.core.impl.postoffice.GroupMember.multicastControl(GroupMember.java:246)
| at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.put(MessagingPostOffice.java:1429)
| at org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper.registerConnectionFactory(ConnectionFactoryJNDIMapper.java:241)
| at org.jboss.jms.server.connectionfactory.ConnectionFactory.startService(ConnectionFactory.java:200)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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:302)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy51.start(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
| 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 sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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:302)
| 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.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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:595)
|
|
Any ideas on what I am missing?
Is this type of configuration even possible?
Thanks!
-Daniel.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175742#4175742
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175742
17 years, 10 months
[Installation, Configuration & DEPLOYMENT] - JBoss vs Weblogic: classloading
by samkhanski
Hi,
I'm working on an app that is app server agnostic (in theory). Here's the exploded deployment structure:
app.ear
+ first.war
+ second.war
+ third.war
+ META-INF
+ APP-INF
++classes
++ lib
As some of you may know, Weblogic will load binaries from the classes folder (under APP-INF) before loading binaries from the lib folder. This is great - I can output binaries from eclipse to the classes folder hot swap them. However this doesn't work in JBoss - I've tried it many times and in many different configurations. JBoss DOES pick up binaries from the lib folder - binaries that the war's depend on. My question is - is it possible to configure JBoss to load non jar packaged binaries before it goes looking in the lib folder? Basically I'd like to hot swap class files - my current process with JBoss is to kill the server, update the jars (under the lib folder) and restart which is very time consuming.
Many thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175727#4175727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175727
17 years, 10 months
[JBoss Portal] - Problem with Portal and ESB install
by troy.sellers
Hi,
New to JBoss stack, trying to install the AS with ESB and Portal. Install steps were conducted in the following order..
Windows XP SP2, MySQL 5.1, jdk1.6.0_02
1 - Download jboss-4.2.3.GA.zip, unpack ...
2 - Download jboss-messaging-1.4.0.SP3, use to replace JBossMQ as described in the documentation of this package.
3 - Download jbossesb-4.4.GA and install using the ant build (The automatic, not the manual)
At this stage the server was still behaving as expected and the quickstart examples in the JBossESB package where functioning as expected. All datasources where updated to point to schemas in MySQL removing any hypersonic references.
4 - Download jboss-portal-2.6.6.GA, unpack and install as documented.
It is here the trouble started (perhaps not unexpectedly?). I needed to update the jbpm jar files in the portal.sar deployment to get rid of some errors on startup.
Current error seems to be with the deployment of the Workflow MBean.. not entirely sure what is going on. below are snippets of stack trace that occur in log on startup..
First error in log is obviously trying to insert values into the database that already exist. I am wondering if there is a JMS service also in the portal distribution? This error does not occur if the portal.sar is removed from the server configuration.... I am wondering if i need to remove something from the portal.sar to stop this clash?
| 2008-09-11 09:16:08,537 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging:service=ServerPeer
| 2008-09-11 09:16:08,537 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.messaging:service=ServerPeer on jboss.messaging:service=JMSUserManager
| 2008-09-11 09:16:08,537 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging:service=PostOffice
| 2008-09-11 09:16:08,537 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.messaging:service=PostOffice on jboss.messaging:service=ServerPeer
| 2008-09-11 09:16:08,537 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging:service=JMSUserManager
| 2008-09-11 09:16:08,537 DEBUG [org.jboss.jms.server.plugin.JDBCJMSUserManagerService] Starting jboss.messaging:service=JMSUserManager
| 2008-09-11 09:16:08,537 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] Schema is not being created as createTablesOnStartup=false
| 2008-09-11 09:16:08,599 DEBUG [org.jboss.jms.server.plugin.JDBCJMSUserManager] Failed to execute INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('subscriber','john')
| com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'john-subscriber' for key 1
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
| at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
| at com.mysql.jdbc.Util.getInstance(Util.java:381)
| at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
| at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
| at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
| at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
| at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
| at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
| at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
| at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1564)
| at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1485)
| at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:249)
| at org.jboss.jms.server.plugin.JDBCJMSUserManager.insertUserRoleData(JDBCJMSUserManager.java:190)
| at org.jboss.jms.server.plugin.JDBCJMSUserManager.start(JDBCJMSUserManager.java:100)
| at org.jboss.jms.server.plugin.JDBCJMSUserManagerService.startService(JDBCJMSUserManagerService.java:78)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy195.start(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
| 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 sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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:619)
|
Again, not sure what is happening here... the jbpm configuration in portal not finding hibernate mapping files???
| 2008-09-11 09:16:11,891 INFO [org.hibernate.cfg.HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE
| 2008-09-11 09:16:11,891 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: value -> STRINGVALUE_
| 2008-09-11 09:16:11,891 DEBUG [org.hibernate.cfg.Configuration] null<-org.dom4j.tree.DefaultAttribute@1bf4c57 [Attribute: name resource value "org/jbpm/msg/Message.hbm.xml"]
| 2008-09-11 09:16:11,891 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource : org/jbpm/msg/Message.hbm.xml
| 2008-09-11 09:16:11,907 DEBUG [org.jboss.portal.jems.hibernate.SessionFactoryBinder] Initialization failed portal:service=Hibernate,type=Workflow
| org.hibernate.MappingNotFoundException: resource: org/jbpm/msg/Message.hbm.xml not found
| at org.hibernate.cfg.Configuration.addResource(Configuration.java:563)
| at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1587)
| at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1555)
| at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1534)
| at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1508)
| at org.hibernate.cfg.Configuration.configure(Configuration.java:1443)
| at org.jboss.portal.jems.hibernate.SessionFactoryBinder.createService(SessionFactoryBinder.java:192)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
| at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
| at org.jboss.portal.jems.as.system.AbstractJBossService.create(AbstractJBossService.java:68)
| at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.execute(JBossServiceModelMBean.java:486)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.createService(JBossServiceModelMBean.java:447)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
| at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$5.invoke(JBossServiceModelMBean.java:363)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
| at $Proxy0.create(Unknown Source)
| at org.jboss.system.ServiceController.create(ServiceController.java:330)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at org.jboss.system.ServiceController.create(ServiceController.java:349)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at org.jboss.system.ServiceController.create(ServiceController.java:349)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at org.jboss.system.ServiceController.create(ServiceController.java:349)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at org.jboss.system.ServiceController.create(ServiceController.java:349)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.create(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:260)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy195.create(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:192)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.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(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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.java: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.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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:619)
|
Finally, here is the deployment listing at the end of server startup.
| 2008-09-11 09:17:07,210 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/java/jboss-4.2.3.GA/server/messaging/deploy/spring.esb/ -> file:/C:/java/jboss-4.2.3.GA/server/messaging/deploy/spring.esb/META-INF/jboss-esb.xml
| 2008-09-11 09:17:07,210 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: portal:service=CMS
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| portal:service=JAASLoginModule
| portal:service=Hibernate,type=CMS
| cms.pm.cache:service=TreeCache
| portal:service=AuthorizationManager,type=cms
| portal:service=ApprovePublish,type=Workflow
| portal:service=InterceptorStackFactory,type=Cms
| Depends On Me:
| portal:commandFactory=CMSObject
|
| ObjectName: portal:commandFactory=CMSObject
| State: CONFIGURED
| I Depend On:
| portal:service=CMS
| portal:service=ServerConfig
| Depends On Me:
| portal:commandFactory=Delegate,path=content
| portal:service=ContentRenderer,type=cms
|
| ObjectName: portal:commandFactory=Delegate,path=content
| State: CONFIGURED
| I Depend On:
| portal:commandFactory=Delegating
| portal:commandFactory=CMSObject
|
| ObjectName: portal:service=ContentRenderer,type=cms
| State: CONFIGURED
| I Depend On:
| portal:service=ContentProviderRegistry
| portal:commandFactory=CMSObject
| portal:service=PortalAuthorizationManagerFactory
| portal:container=Instance
|
| ObjectName: portal:service=ApprovePublish,type=Workflow
| State: CONFIGURED
| I Depend On:
| portal:service=Workflow,type=WorkflowService
| portal:service=Module,type=IdentityServiceController
| Depends On Me:
| portal:service=CMS
|
| ObjectName: portal:commandFactory=IdentityUI
| State: CONFIGURED
| I Depend On:
| portal:service=ValidateEmailService,type=IdentityUI
| Depends On Me:
| portal:commandFactory=Delegate,path=validateEmail
|
| ObjectName: portal:service=IdentityUIConfigurationService,type=IdentityUI
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=IdentityServiceController
| portal:service=Workflow,type=WorkflowService
| Depends On Me:
| portal:service=IdentityMailService,type=Mail
| portal:service=RegistrationService,type=IdentityUI
| portal:service=ValidateEmailService,type=IdentityUI
|
| ObjectName: portal:service=IdentityMailService,type=Mail
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=Mail
| portal:service=IdentityUIConfigurationService,type=IdentityUI
|
| ObjectName: portal:service=RegistrationService,type=IdentityUI
| State: CONFIGURED
| I Depend On:
| portal:service=IdentityUIConfigurationService,type=IdentityUI
| portal:service=IdentityUserManagementService,type=IdentityUI
|
| ObjectName: portal:service=ValidateEmailService,type=IdentityUI
| State: CONFIGURED
| I Depend On:
| portal:service=IdentityUIConfigurationService,type=IdentityUI
| portal:service=IdentityUserManagementService,type=IdentityUI
| Depends On Me:
| portal:commandFactory=IdentityUI
|
| ObjectName: portal:commandFactory=Delegate,path=validateEmail
| State: CONFIGURED
| I Depend On:
| portal:commandFactory=Delegating
| portal:commandFactory=IdentityUI
|
| ObjectName: portal:service=Hibernate,type=Workflow
| State: FAILED
| Reason: org.hibernate.MappingNotFoundException: resource: org/jbpm/msg/Message.hbm.xml not found
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| Depends On Me:
| portal:service=Workflow,type=WorkflowService
|
| ObjectName: portal:service=Thread,type=WorkflowService
| State: CONFIGURED
| I Depend On:
| portal:service=Workflow,type=WorkflowService
|
| ObjectName: portal:service=Workflow,type=WorkflowService
| State: CONFIGURED
| I Depend On:
| portal:service=Hibernate,type=Workflow
| Depends On Me:
| portal:service=ApprovePublish,type=Workflow
| portal:service=IdentityUIConfigurationService,type=IdentityUI
| portal:service=Thread,type=WorkflowService
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: portal:service=Hibernate,type=Workflow
| State: FAILED
| Reason: org.hibernate.MappingNotFoundException: resource: org/jbpm/msg/Message.hbm.xml not found
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| Depends On Me:
| portal:service=Workflow,type=WorkflowService
|
I was hoping that someone could help me out with this one.. as stated, i am fairly green and not entirely sure what is going on here.
Cheers,
Troy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175722#4175722
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175722
17 years, 10 months
[JBoss Getting Started Documentation] - instrucitons for building roster application screwed up
by MikePhoenix
I am trying to build the roster application to test my connection to MySQL and am using this version of the getting started manual: http://docs.jboss.org/jbossas/getting_started/v4/html/cmp.html
It gives me the following instruations:
7.1. Building the Example
The EJBs are packaged in two separate JAR files, one for the entity beans and one for the session bean. As before, weâve provided an ejb-jar.xml file for each one. You donât need a jboss.xml file for this example. All the CMP information needed to build the database schema is included in the standard descriptor. Weâll look at JBoss-specific customization later.
To compile the code, first make sure youâre in the examples directory. Running the compile-cmp target will compile all the code in one go.
ant -f jboss-build.xml compile-cmp
1. There is no such file in the examples directory.
2. There is no such file in cmproster directory.
3. When I try to run the build.xml, I find there is no such target as compile.cmp.
4. When I try to execute build.xml without the target, I get the following:
BUILD FAILED
C:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not
properly set in /j2eetutorial14/examples/common/build.properties.
Set the j2ee.home property to the location of your Application Server installati
on.
On Windows, you must escape any backslashes in the j2ee.home property with anoth
er backslash or use forward slashes as a path separator. So, if your Application
Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = C:\\Sun\\AppServer
or
j2ee.home=C:/Sun/AppServer
j2ee.home is currently set to:
Total time: 0 seconds
Could somebsody give me some CURRENT instructions on how to build this? Is all the JBoss documentation this out of date?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175716#4175716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175716
17 years, 10 months
[JBoss Messaging] - Clustering JBM
by tuomo
Hi,
I want to use jboss with jboss-messaging as cluster. I don't know how it should work.
My scenario is the following:
I have 2 hosts with a seperated instance of jboss 4.2.0 GA (including jbm). As datastore runs postgres 8.3.
I thought the clustering of jboss is independent from the database and the synchronization of messaging is handled by jboss. In the documentation it is said: "For a clustered installation it is mandatory that a shared database is available to all nodes in the cluster." But then the database is the single-point-of-failure. How do I have to configurate jboss to get a high-available system? Is it possible to create a jboss-cluster without a clustered database that every jboss-node has his own seperated DB?
THX for any reply.
Thomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175712#4175712
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175712
17 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Re: classoverirding in jboss
by patwary_shiva
Peter,
The code is in serverImpl.java of jboss-system.jar initBootLibraries() method which is private.
/**
* Initialize the boot libraries.
*/
private RepositoryClassLoader initBootLibraries() throws Exception
{
// Build the list of URL for the spine to boot
List list = new ArrayList();
// Add the patch URL. If the url protocol is file, then
// add the contents of the directory it points to
URL patchURL = config.getPatchURL();
if (patchURL != null)
{
if (patchURL.getProtocol().equals("file"))
{
File dir = new File(patchURL.getFile());
if (dir.exists())
{
// Add the local file patch directory
list.add(dir.toURL());
// Add the contents of the directory too
File[] jars = dir.listFiles(new FileSuffixFilter(new String[] { ".jar", ".zip" }, true));
for (int j = 0; jars != null && j < jars.length; j++)
{
list.add(jars[j].getCanonicalFile().toURL());
}
}
}
else
{
list.add(patchURL);
}
}
this code needs to chnage to accept multiple files.I am not sure whether it is good idea to modify as it will be very hard to maintain .Do you have any suggestion!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175710#4175710
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175710
17 years, 10 months
[Security & JAAS/JBoss] - LDAP with Domino -- No roles found/Access Denied
by tjpfister
I'm having an issue integrating JBOSS's security in my application. When logging into my application, the LDAP server is correctly verifying the user name and password, but it cannot find the roles on the LDAP server. Since it cannot find the roles, the user is redirected to a 403 error page: "Access to the requested resource has been denied".
I'm running this on JBOSS 4.2.0.GA
My login-config.xml security policy:
<application-policy name="mySecurityPolicy">
| <authentication>
| <login-module code="org.jboss.security.auth.spi.LdapLoginModule"
| flag="required">
| <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
| <module-option name="java.naming.provider.url">ldap://myserver.host.com:389/</module-option>
| <module-option name="java.naming.security.authentication">simple</module-option>
| <module-option name="principalDNPrefix">cn=</module-option>
| <!-- for principalDNSuffix no entry is needed for domino (e.g. o=MYDOMIAN) -->
| <module-option name="principalDNSuffix"></module-option>
| <module-option name="rolesCtxDN"></module-option>
| <module-option name="uidAttributeID">member</module-option>
| <module-option name="matchOnUserDN">true</module-option>
| <module-option name="roleAttributeID">cn</module-option>
| <module-option name="roleAttributeIsDN">false</module-option>
| <module-option name="searchTimeLimit">5000</module-option>
| <!-- searchScope ONELEVEL_SCOPE is neccesary for Domino -->
| <module-option name="searchScope">ONELEVEL_SCOPE</module-option>
| <!-- Principal und Credentials for ldap lookups -->
| <module-option name="java.naming.security.principal">cn=admin</module-option>
| <module-option name="java.naming.security.credentials">admin</module-option>
|
| </login-module>
| </authentication>
| </application-policy>
My jboss-web.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <jboss-web>
| <security-domain>java:/jaas/mySecurityPolicy</security-domain>
|
| </jboss-web>
The security section of my web.xml:
<security-constraint>
| <web-resource-collection>
| <web-resource-name>General</web-resource-name>
| <url-pattern>/app/*</url-pattern>
| <http-method>PUT</http-method>
| <http-method>DELETE</http-method>
| <http-method>GET</http-method>
| <http-method>POST</http-method>
| </web-resource-collection>
| <auth-constraint>
| <role-name>Change Requester</role-name>
| <role-name>Request Approver</role-name>
| </auth-constraint>
| </security-constraint>
|
| <security-role>
| <role-name>Change Requester</role-name>
| </security-role>
| <security-role>
| <role-name>Request Approver</role-name>
| </security-role>
|
|
The groups are at the root of my Domino LDAP server. The Groups are named exactly the same as my role-names from my web.xml file "Change Requester" and "Request Approver". I have verified the users I am attempting to login with are a member of at least one these groups.
I have enabled trace output for security in my jboss-log4j.xml file:
<category name="org.jboss.security">
| <priority value="TRACE" class="org.jboss.logging.XLevel"/>
| </category>
| <category name="org.jboss.web.tomcat.security">
| <priority value="TRACE" class="org.jboss.logging.XLevel"/>
| </category>
| <category name="org.apache.catalina">
| <priority value="DEBUG"/>
| </category>
and receive the following output when logging in:
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling authenticate()
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.authenticator.FormAuthenticator] Restore request from session '0C5834DF07062C7C651A26A7CD01AD48'
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Authenticated 'tpfister' with type 'FORM'
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.authenticator.FormAuthenticator] Proceed to restored request
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling accessControl()
2008-09-10 17:10:20,188 TRACE [org.jboss.web.tomcat.security.JBossSecurityMgrRealm] Checking roles GenericPrincipal[tpfister()]
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.realm.RealmBase] Username tpfister does NOT have role Change Requester
2008-09-10 17:10:20,188 TRACE [org.jboss.web.tomcat.security.JBossSecurityMgrRealm] No role found: Change Requester
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.realm.RealmBase] Username tpfister does NOT have role Request Approver
2008-09-10 17:10:20,188 TRACE [org.jboss.web.tomcat.security.JBossSecurityMgrRealm] No role found: Request Approver
2008-09-10 17:10:20,188 TRACE [org.jboss.web.tomcat.security.JBossSecurityMgrRealm] Checking for all roles mode: authOnly
2008-09-10 17:10:20,188 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Failed accessControl() test
I have this same application installed on WebSphere running against the same Domino LDAP server just fine. I'm trying to push for our development group's standard application server to be switched from WebSphere to JBOSS, but if I cannot get security working, it would be an obvious deal-breaker.
Does anyone have any ideas what is causing this? If not, are there any additional debugging methods I could use?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175709#4175709
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175709
17 years, 10 months
[JBossWS] - Webservice impl from WSDL
by sr_ren
I have a JBoss 4.3 with "[NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)".
I am trying to implement the WSDL using "start from WSDL" approach to implement server side webservice.
First I tried using Eclipse 3.4 plugin that can generate server side code, however the deployment fails with "application.xml" not found. Also I found eclipse 3.4 webservice plugin generates buggy jaxb classes and it is unusable for complex types that uses derived types. I abandoned using Eclipse for webservice dev.
Then I restored to using "wsconsume" to do service side webservice development. "wsconsume" generated interface and I wrote the implementation for the interface. However I have no idea what are the things that are needed to be in the war/ear to package and in what structure (e.g META-INF/application.xml, META-INF/manifest.mf, WEB-INF/wsdl/mywsdl.wsdl).
I could not get information about what all things need to be put for packaging if I want to manually package and deploy, could anyone help?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175689#4175689
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175689
17 years, 10 months
[JBoss Messaging] - JMSProviderLoader NOTYETINSTALLED When using Bridge?
by samdoyle
Hello,
I keep running into this issue on startup when trying to make use of the messaging bridge.
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
| State: NOTYETINSTALLED
| Depends On Me:
| jboss.messaging:service=Bridge,name=HibernateSearchBridge
Here is the bridge configuration.
| <mbean code="org.jboss.jms.server.bridge.BridgeService"
| name="jboss.messaging:service=Bridge,name=HibernateSearchBridge"
| xmbean-dd="xmdesc/Bridge-xmbean.xml">
|
| <!-- The JMS provider loader that is used to lookup the source destination -->
| <depends optional-attribute-name="SourceProviderLoader">
| jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
| </depends>
|
| <!-- The JMS provider loader that is used to lookup the target destination -->
| <depends optional-attribute-name="TargetProviderLoader">
| jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
| </depends>
|
| <!-- The JNDI lookup for the source destination -->
| <attribute name="SourceDestinationLookup">/queue/hibernatesearch</attribute>
|
| <!-- The JNDI lookup for the target destination -->
| <attribute name="TargetDestinationLookup">queue/hibernatesearchMaster</attribute>
|
| <!-- Optional: The Quality Of Service mode to use, one of:
| QOS_AT_MOST_ONCE = 0;
| QOS_DUPLICATES_OK = 1;
| QOS_ONCE_AND_ONLY_ONCE = 2; -->
| <attribute name="QualityOfServiceMode">0</attribute>
|
|
| <!-- The maximum number of messages to consume from the source before sending to the target -->
| <attribute name="MaxBatchSize">5</attribute>
|
| <!-- The maximum time to wait (in ms) before sending a batch to the target even if MaxBatchSize is not exceeded.
| -1 means wait forever -->
| <attribute name="MaxBatchTime">-1</attribute>
|
| <!-- The number of ms to wait between connection retrues in the event connections to source or target fail -->
| <attribute name="FailureRetryInterval">5000</attribute>
|
| <!-- The maximum number of connection retries to make in case of failure, before giving up
| -1 means try forever-->
| <attribute name="MaxRetries">-1</attribute>
|
| <!-- If true then the message id of the message before bridging will be added as a header to the message so it is available
| to the receiver. Can then be sent as correlation id to correlate in a distributed request-response -->
| <attribute name="AddMessageIDInHeader">false</attribute>
|
| </mbean>
Here is the JMS section from hajndi-jms-ds.xml
<!-- The JMS provider loader -->
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
| name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
| <attribute name="ProviderName">DefaultJMSProvider</attribute>
| <attribute name="ProviderAdapterClass">
| org.jboss.jms.jndi.JNDIProviderAdapter
| </attribute>
| <!-- The combined connection factory -->
| <attribute name="FactoryRef">XAConnectionFactory</attribute>
| <!-- The queue connection factory -->
| <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
| <!-- The topic factory -->
| <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
| <!-- Access JMS via HAJNDI -->
| <attribute name="Properties">
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.provider.url=${jboss.bind.address:localhost}:1100
| jnp.disableDiscovery=false
| jnp.partitionName=${jboss.partition.name:DefaultPartition}
| jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
| jnp.discoveryPort=1102
| jnp.discoveryTTL=16
| jnp.discoveryTimeout=5000
| jnp.maxRetries=1
| </attribute>
| </mbean>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175673#4175673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175673
17 years, 10 months
[EJB 3.0] - Problem with stateful session bean and connection
by Marcos_APS
Hello, everybody!
I have a stateful session bean with the following code:
| @Stateful
| public class PaginadorMateriaisBean extends PesquisaAcervoBase
| implements IPaginadorMateriais
| {
| private Connection fConexao;
| private CallableStatement fProcedimentoArmazenado;
|
| // This is a method defined in the IPaginadorMateriais interface.
| // It is a interface marked with the @Local attribute.
| public ResultadoPesquisa irParaPagina(int numeroPagina)
| {
| if (fProcedimentoArmazenado == null)
| {
| InitialContext contexto = new InitialContext();
| DataSource fonteDados =
| (DataSource) contexto.lookup("java:/BibliotecaDS");
| fConexao = fonteDados.getConnection();
|
| fProcedimentoArmazenado = ...
| }
|
| // uses fConexao and fProcedimentoArmazenado...
| }
|
| @Remove
| public void finalizar()
| {
| if (fProcedimentoArmazenado != null)
| {
| try
| {
| fProcedimentoArmazenado.close();
| }
| catch (SQLException ex)
| {
| }
| fProcedimentoArmazenado = null;
| }
| if (fConexao != null)
| {
| try
| {
| fConexao.close();
| }
| catch (SQLException ex)
| {
| }
| }
| }
| }
|
As you can see, I want to keep a connection between method calls. But I'm getting
the following error when I call the irParaPagina method from a client:
| 13:35:10,000 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.jdk5.WrappedConnectionJDK5@fad969
| java.lang.Throwable: STACKTRACE
| at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:423)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
| at br.urca.www.biblioteca.gerenciador.implementacao.PaginadorMateriaisBean.irParaPagina(PaginadorMateriaisBean.java:61)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
| at $Proxy78.irParaPagina(Unknown Source)
| at br.urca.www.biblioteca.dados.ejb.PesquisaAcervoEJB.irParaPagina(PesquisaAcervoEJB.java:58)
| at br.urca.www.biblioteca.web.Materiais.paginaSelecionada(Materiais.java:250)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
| at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
| at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:99)
| at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
| at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
| at javax.faces.component.UICommand.broadcast(UICommand.java:372)
| at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:755)
| at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
| at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Unknown Source)
|
So, what's the problem? Am I not allowed to keep a connection alive between a
stateful session bean method calls? What I am doing wrong? How can I fix this
problem?
Thank you.
Marcos
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175652#4175652
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175652
17 years, 10 months
[EJB/JBoss] - class loader exception
by devireddy
Hi
I am new to Jboss and to ejb development. I am stuck at a point for two days now. searched online examples and didnt get any thing so trying to find help in forums.
I am trying to get a message driven bean(ejb 2.1) to work. my environment is jboss 4.2.3 eclipse IDE 3.4 on vista.
I have implemented the bean class and have implemented two necessary interfaces javax.jms.MessageListener and javax.ejb.MessageDrivenBean. But when I deploy my bean to the server, I see a log file error message saying class loader did not find MessageListener class. It further tells me that ejb should implement MessageListener interface which I did. Can soem one let me know what the probliem might be ?
Here is my bean class
| import java.util.Properties;
| import javax.ejb.EJBException;
| import javax.ejb.MessageDrivenBean;
| import javax.ejb.MessageDrivenContext;
| import javax.jms.Message;
| import javax.jms.MessageListener;
| import javax.jms.Queue;import javax.jms.QueueConnection;
| import javax.jms.QueueConnectionFactory;
| import javax.jms.QueueReceiver;
| import javax.jms.QueueSession;
| import javax.jms.TextMessage;
| import javax.naming.InitialContext;
| import org.jboss.logging.Logger;
| public class MessageBean implements MessageListener, MessageDrivenBean
| {
| public MessageBean() { }
| public void ejbCreate(){ }
| public void ejbRemove() throws EJBException { }
| public void setMessageDrivenContext(MessageDrivenContext arg0) throws EJBException { }
| @Override
| public void onMessage(Message msg)
| {
| try
| {
| TextMessage txt = (TextMessage)msg;
| Logger log=Logger.getLogger("Message BEan log"); log.info(txt.getText()); System.out.println("MessageBean has received this message:"+txt.getText());
| }
| catch(Exception e) { e.printStackTrace(); }
| }
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175650#4175650
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175650
17 years, 10 months
[JBoss Messaging] - Re: integrate JSF with JMS ?
by quintenjiang
Think, the easy way is to save message into database from MDB, the get message from back bean, but it is slow.
By the way, may I know how to do cofiguration, to allow remote JMS client to run on diffrent machine, I just change java.naming.provider.url=localhost into Jboss Server IP, but get error:
javax.naming.CommunicationException: Could not obtain connection to any of these urls: 10.0.2.35 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server 10.0.2.35:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.0.2.35:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175643#4175643
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175643
17 years, 10 months
[Beginners Corner] - problem with class loader
by devireddy
HI
I am new to JBoss and EJB development. I am stuck at one point for 2 days now, I had been searching example documents but could not get any help so trying to get soem help from forums.
Am trying to write a simple message driven bean (ejb 2.1 spec) and am using jboss 4.2.3 and eclipse 3.4 IDE on windows vista OS.
I have implmented a ben class and have also implemented javax.ejb.MessagDrivenBean abd javax.jms.MessageListener in my class. But when I deploy the ejb to the server I see that the server log shows an error. And it says can not find class MessageListener. It further says that the EJB code has to implement the MessageListener intergface which I did. I have pasted my code here could any one please let me know what the problem might be ????
| import java.util.Properties;
| import javax.ejb.EJBException;
| import javax.ejb.MessageDrivenBean;
| import javax.ejb.MessageDrivenContext;
| import javax.jms.Message;
| import javax.jms.MessageListener;
| import javax.jms.Queue;
| import javax.jms.QueueConnection;
| import javax.jms.QueueConnectionFactory;
| import javax.jms.QueueReceiver;
| import javax.jms.QueueSession;
| import javax.jms.TextMessage;
| import javax.naming.InitialContext;
| import org.jboss.logging.Logger;
|
| public class MessageBean implements MessageListener, MessageDrivenBean
| {
| public MessageBean() { }
| public void ejbCreate(){ }
| public void ejbRemove() throws EJBException { }
| public void setMessageDrivenContext(MessageDrivenContext arg0) throws EJBException
| { }
|
| @Override
| public void onMessage(Message msg)
| {
| try
| {
| TextMessage txt = (TextMessage)msg;
| Logger log=Logger.getLogger("Message BEan log");
| log.info(txt.getText());
| System.out.println("MessageBean has received this message:"+txt.getText());
| }
| catch(Exception e)
| {
| e.printStackTrace();
|
| }
|
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175640#4175640
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175640
17 years, 10 months
[Beginners Corner] - Re: Windows Authentication with Jboss
by PeterJ
JBoss 2.0? Are you using JBoss Web Server? Also, is it really version 2.0 or is it 2.1? I ask because I could not find where to download 2.0 (I could find only 1.0.1 and 2.1).
The wiki link is for the JBoss Application Server, and though it mentions version 4.0.3, the steps apply to 4.2.x and to 5.0. You can also apply the same steps to JBoss Web Server 1.0 because it uses the same basic configuration options as JBoss Application Server.
However, JBoss Web Server 2.1 reverts back to the original Tomcat directory structure, and thus probably also reverts back to the original Tomcat configuration options. Therefore, neither the wiki page I gave nor the additional non-free resource I offered will help. However, 2.1 does come with the docs which should provide login configuration information.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175622#4175622
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175622
17 years, 10 months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when calling DatabaseMetadatat functi
by tonioinho
The related datasource file :
| <?xml version="1.0" encoding="UTF-8"?>
|
| <datasources>
|
| <local-tx-datasource>
|
| <!-- Setting this to false will bind the DataSource into global jndi -->
| <use-java-context>false</use-java-context>
|
| <jndi-name>Test/DataSource/Data</jndi-name>
|
| <connection-url>jdbc:oracle:thin:@localhost:1521:XE</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>username</user-name>
| <password>password</password>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
| <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name>
| <min-pool-size>2</min-pool-size>
| <max-pool-size>20</max-pool-size>
| <blocking-timeout-millis>5000</blocking-timeout-millis>
| <idle-timeout-minutes>10</idle-timeout-minutes>
| <prefill>true</prefill>
| <metadata>
| <type-mapping>Oracle9i</type-mapping>
| </metadata>
|
| </local-tx-datasource>
|
| </datasources>
|
Also the ojdbc14.jar file is in the server/default/lib folder
The code works fine using Mysql or SQL Server datasources.
I found a similar post ( http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87423 ) but it is not answered.
thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175609#4175609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175609
17 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Re: DI and annotations not working
by irinac
Here is the code for the java side
|
| @Stateless
| @WebService(serviceName="TestService")
| @SOAPBinding(
| style=javax.jws.soap.SOAPBinding.Style.RPC,
| use=javax.jws.soap.SOAPBinding.Use.LITERAL)
| public class TestWebService extends Remote implements TestWebServiceInterface {
|
| @EJB private DomainManager domainManager;
|
| public TestWebService() {
| }
|
| @WebMethod
| public String sayHello() {
|
| String hellostring = domainManager.sayHello();
| return hellostring;
| }
| }
|
| @Local
| public interface DomainManager {
|
| public String sayHello();
| }
|
| @Stateless
| public class DomainManagerBean implements DomainManager{
|
|
| public DomainManagerBean() {
| }
|
| public String sayHello() {
| return "Hello";
| }
| }
|
|
I am invoking the web service from a flex application, not sure if pasting that code will help ...
Upon invokation this is the line where the null pointer is thrown
| String hellostring = domainManager.sayHello();
|
Alternatively, this is the code i was using inside the WebMethod to look up the bean
|
| InitialContext ctx = new InitialContext();
| domainManager = (DomainManager) ctx.lookup("RPortal/DomainManagerBean/local");
|
|
and it works ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175603#4175603
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175603
17 years, 10 months
[JBoss jBPM] - Re: Consuming webservice in jBPM JPDL (Eclipse)
by chrlyck
Hi again
Thanks for the reply.
I have been looking into this thoroughly. I have tried two things, my original setup where i deploy the WS jars using JPDL, then not deploying them. Then the same two options with the custom-made jar in the classpath. Here are my results:
Webservice NOT deployed from JDPL deployed - without JAR
exception
|
| javax.servlet.ServletException: Servlet execution threw an exception
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
| root cause
|
| java.lang.NoClassDefFoundError: org/me/calculator/CalculatorWSService
| java.lang.Class.getDeclaredConstructors0(Native Method)
| java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
| java.lang.Class.getConstructor0(Class.java:2671)
Webservice deployed from JDPL - without JAR
Error: Cannot load service endpoint interface: com.sample.action.CalculatorWS
Webservice NOT deployed from JDPL - with JAR
exception
|
| javax.servlet.ServletException: Servlet execution threw an exception
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
| root cause
|
| java.lang.NoClassDefFoundError: javax/xml/ws/Service
| java.lang.ClassLoader.defineClass1(Native Method)
| java.lang.ClassLoader.defineClass(ClassLoader.java:620
Webservice deployed from JDPL - with JAR
exception
|
| javax.servlet.ServletException: Servlet execution threw an exception
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
| root cause
|
| java.lang.NoClassDefFoundError: javax/xml/ws/Service
| java.lang.ClassLoader.defineClass1(Native Method)
| java.lang.ClassLoader.defineClass(ClassLoader.java:620
So it seems like thats not the solution...
Any other ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175602#4175602
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175602
17 years, 10 months
[Persistence, JBoss/CMP, Hibernate, Database] - ClassCastException when calling DatabaseMetadatat functions
by tonioinho
Hi,
Using JbossAS 4.2.2GA and Oracle 10g, I access a DataSource through JNDI lookup.
Everything works fine until I try to call methods of DatabaseMetadata which return a ResultSet.
| InitialContext ic = new InitialContext();
| DataSource datasource = (DataSource) ic.lookup("Test/DataSource/Data");
|
| Connection conn = null ;
|
| Statement stmt = null;
| ResultSet rs = null;
| try
| {
| conn = datasource.getConnection();
|
| stmt = conn.createStatement();
| rs = stmt.executeQuery(
| "select DISTINCT " +
| "a.ID, " +
| "a.NAME " +
| "from TEST_TABLE a" );
|
| for( int nbRecords= 1; rs.next(); ++nbRecords ) {
|
| String id = rs.getString( 1 );
| String name = rs.getString( 2 );
|
| System.out.println(String.format("%1$s: %2$s", id, name));
|
| }
|
| DatabaseMetaData metaData = conn.getMetaData();
| String catalogTerm = metaData.getCatalogTerm();
| System.out.println("CatalogTerm :"+catalogTerm);
| //output is as expected
|
| ResultSet resultset = metaData.getColumns(conn.getCatalog(), null, "TEST_TABLE", "NAME");// throws an exception
|
The exception :
| java.lang.ClassCastException: $Proxy5 cannot be cast to java.sql.ResultSet
| at $Proxy4.getColumns(Unknown Source)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175601#4175601
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175601
17 years, 10 months