aspose file tools*
The moose likes JBoss/WildFly and the fly likes DeploymentException: Error cant find datasource: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "DeploymentException: Error cant find datasource:" Watch "DeploymentException: Error cant find datasource:" New topic
Author

DeploymentException: Error cant find datasource:

jodan daniel
Greenhorn

Joined: Mar 15, 2007
Posts: 7
Hi

LINUX VERSION : RED HAT LINUX 9.1
JBOSS VERSION : jboss-4.0.3SP1
MSSQL VERSION : MSSQL SERVER 2000

1) I COPIED ALL THE JARS msbase.jar, mssqlserver.jar, and msutil.jar
too the <JBoss>/server/default/lib directory

2) copied the MS SQL Server datasource file <JBoss>\docs\examples\jca\mssql-ds.xml to the
<JBoss>\server\default\deploy directory.

<datasources>
<local-tx-datasource>
<jndi-name>MSSQLDS</jndi-name>

<use-java-context>false</use-java-context>
<connection-url>jdbc:microsoft:sqlserver://192.168.100.10:1433;DatabaseName=EBCasino</connection-url>

<driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class>

<user-name>sa_EBCasinonew</user-name>
<password>123456</password>
<!-- sql to call when connection is created
<new-connection-sql>some arbitrary sql</new-connection-sql>
-->
<!-- sql to call on an existing pooled connection when it is obtained from pool
<check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
-->
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->

<metadata>
<type-mapping>MS SQLSERVER2000</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>

3) Next, modified the <JBoss>server\default\conf\login-config.xml configuration file
by adding the following <application-policy/> element to login-config.xml:

<application-policy name = "MSSQLDbRealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
<module-option name = "principal">sa</module-option>
<module-option name = "userName">sa_EBCasinonew</module-option>
<module-option name = "password">123456</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=MSSQLDS</module-option>
</login-module>
</authentication>
</application-policy>


4) Since i am using entity EJB, i modified the <JBoss>\server\default\conf\standardjbosscmp-jdbc.xml
configuration file.

<jbosscmp-jdbc>
<defaults>
<datasource>java:/MSSQLDS</datasource>
<datasource-mapping>MS SQLSERVER2000</datasource-mapping>
</defaults>
</jbosscmp-jdbc>


5) Then i modified the <JBoss>\server\default\conf\standardjaws.xml

<datasource>java:/MSSQLDS</datasource>
<type-mapping>MS SQLSERVER2000</type-mapping>
<debug>false</debug>

6) jbosscmp-jdbc.xml file

<jbosscmp-jdbc>
<defaults>
<datasource>java:/MSSQLDS</datasource>
<datasource-mapping>MS SQLSERVER2000</datasource-mapping>
.
.
</defaults>

<enterprise-beans>
<entity>
<ejb-name>GenericUserTicket</ejb-name>
<table-name>GenericUserTicket</table-name>
<cmp-field>
<field-name>ticketId</field-name>
<column-name>ticket_id</column-name>
</cmp-field>
<cmp-field>
<field-name>userId</field-name>
<column-name>user_id</column-name>
</cmp-field>
<cmp-field>
<field-name>loginTime</field-name>
<column-name>login_time</column-name>
</cmp-field>
</entity>
</enterprise-beans>
.
.
</jbosscmp-jdbc>

7) ejb-jar.xml

<entity>
<ejb-name>GenericUserTicket</ejb-name>
<local-home>com.casinocasino.cmp.GenericUserTicketHome</local-home>
<local>com.casinocasino.cmp.GenericUserTicket</local>
<ejb-class>com.casinocasino.cmp.GenericUserTicketBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>

<resource-ref>
<res-ref-name>jdbc/MSSQLDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>

<abstract-schema-name>genericuserticket</abstract-schema-name>
<cmp-field>
<field-name>ticketId</field-name>
</cmp-field>
<cmp-field>
<field-name>userId</field-name>
</cmp-field>
<cmp-field>
<field-name>loginTime</field-name>
</cmp-field>

<primkey-field>ticketId</primkey-field>
</entity>

8) jboss.xml
<entity>
<ejb-name>GenericUserTicket</ejb-name>
<local-jndi-name>ejb/GenericUserTicket</local-jndi-name>
<resource-ref>
<res-ref-name>jdbc/MSSQLDS</res-ref-name>
<resource-name>java:/MSSQLDS</resource-name>
</resource-ref>
</entity>

9) web.xml

<resource-ref>
<description>DB Connection</description>
<res-ref-name>java:/MSSQLDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>

10) jboss-web.xml

<resource-ref>
<res-ref-name>java:/MSSQLDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:MSSQLDS</jndi-name>
</resource-ref>


11) Client Code

public static final String JDBCJNDI = "java:/MSSQLDS";

public static InitialContext getInitialContextStatic() throws javax.naming.NamingException{
Hashtable hashTable = new Hashtable();
hashTable.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
hashTable.put(Context.PROVIDER_URL, "jnp://localhost:80");

return new InitialContext(hashTable);
}

Context context = (Context) getInitialContextStatic();

GenericUserTicketHome gutickethome = (GenericUserTicketHome) context.lookup("ejb/GenericUserTicket");
.
.
.


These are the steps i followed.
but i am getting org.jboss.deployment.DeploymentException: Error cant find datasource: java:/MSSQLDS

Please help me out
Thanks in advance..
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
169

I havent completely gone through those config files. But here are 2 things that you would have to change:

hashTable.put(Context.PROVIDER_URL, "jnp://localhost:80");


Change it to



You are using java:/MSSQLDS in all your config files and code. So remove the following line from the -ds.xml file:

<use-java-context>false</use-java-context>


[My Blog] [JavaRanch Journal]
jodan daniel
Greenhorn

Joined: Mar 15, 2007
Posts: 7
Hi

really thanks for very quick reply..
see now the jar file is deployed but i am getting the following the error

16:34:17,042 INFO [EJBDeployer] Deployed: file:/usr/local/jboss-4.0.3SP1/server/default/tmp/deploy/tmp29702casinoreality-ear.ear-contents/casinoreality-jar.jar
16:34:17,335 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp29702casinoreality-ear.ear-contents/casinoreality-war.war/
16:34:20,209 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
16:34:20,209 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp29702casinoreality-ear.ear-contents/casinoreality-war.war/WEB-INF/etc/languageResources
16:34:20,209 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
16:34:20,210 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp29702casinoreality-ear.ear-contents/casinoreality-war.war/WEB-INF/etc/languageResources
16:34:20,268 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
16:34:20,268 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp29702casinoreality-ear.ear-contents/casinoreality-war.war/WEB-INF/etc/languageResources
16:34:20,269 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
16:34:20,269 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp29702casinoreality-ear.ear-contents/casinoreality-war.war/WEB-INF/etc/languageResources
16:34:20,274 ERROR [[/]] Exception starting filter Forbidden Filter
java.lang.NoClassDefFoundError: javax/servlet/Filter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1247)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:211)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3540)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4110)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
at org.jboss.web.WebModule.startModule(WebModule.java:68)
at org.jboss.web.WebModule.startService(WebModule.java:46)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at sun.reflect.GeneratedMethodAccessor4.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
at sun.reflect.GeneratedMethodAccessor6.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy45.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor8.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
at org.jboss.Main.boot(Main.java:187)
at org.jboss.Main$1.run(Main.java:438)
at java.lang.Thread.run(Thread.java:595)



web.xml

<filter>
<filter-name>Forbidden Filter</filter-name>
<filter-class>com.lokitech.filter.ForbiddenFilter</filter-class>
</filter>


<filter-mapping>
<filter-name>Forbidden Filter</filter-name>
<url-pattern> /audit/* </url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Forbidden Filter</filter-name>
<url-pattern> /video/* </url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Forbidden Filter</filter-name>
<url-pattern> /*inc.jsp </url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Player Login Filter</filter-name>
<url-pattern> /player/* </url-pattern>
</filter-mapping>


Whether i need to include this jboss-web.xml or classpath missing
Thanks in advance.
jodan daniel
Greenhorn

Joined: Mar 15, 2007
Posts: 7
in the above filter class

com.lokitech.filter.ForbiddenFilter is in jar file.
and i have added that jar in
<JBOSS_HOME>/server/default/lib

this is killing us.

thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
169

16:34:20,274 ERROR [[/]] Exception starting filter Forbidden Filter
java.lang.NoClassDefFoundError: javax/servlet/Filter


Have you done any changes to the jar files that come as part of JBoss, maybe deleted them? Because the javax/servlet/Filter class is part of a jar that comes as part of JBoss (javax.servlet.jar) which is present in the %JBOSS_HOME%/server/default/lib folder.
[ March 18, 2007: Message edited by: Jaikiran Pai ]
jodan daniel
Greenhorn

Joined: Mar 15, 2007
Posts: 7
Hi,

Thanks for your reply.


No. i did not change anything
now i included that javax.servlet.jar to jboss classpath.so that error is not coming.

but i'm getting the following error

10:41:53,799 INFO [STDOUT] javax.naming.NamingException: Could not dereference object [Root exception is java.lang.IllegalArgumentException: object is not an instance of declaring class]
10:41:53,801 INFO [STDOUT] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1052)
10:41:53,826 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:685)
10:41:53,826 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:701)
10:41:53,826 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
10:41:53,826 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:351)
10:41:53,826 INFO [STDOUT] at com.casinocasino.security.SecureSiteFilter.init(SecureSiteFilter.java:85)
10:41:53,826 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
10:41:53,826 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
10:41:53,826 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79)
10:41:53,826 INFO [STDOUT] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3540)
10:41:53,826 INFO [STDOUT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4110)
10:41:53,827 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
10:41:53,827 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
10:41:53,851 INFO [STDOUT] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
10:41:53,851 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:41:53,851 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:41:53,851 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:53,851 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:53,851 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
10:41:53,851 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
10:41:53,852 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:53,852 INFO [STDOUT] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
10:41:53,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:41:53,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:41:53,852 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:53,877 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:53,877 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
10:41:53,877 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
10:41:53,877 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:53,878 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)
10:41:53,878 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)
10:41:53,878 INFO [STDOUT] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
10:41:53,878 INFO [STDOUT] at org.jboss.web.WebModule.startModule(WebModule.java:68)
10:41:53,878 INFO [STDOUT] at org.jboss.web.WebModule.startService(WebModule.java:46)
10:41:53,878 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
10:41:53,878 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
10:41:53,878 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
10:41:53,904 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:53,904 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:53,904 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:41:53,904 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:41:53,904 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:41:53,905 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:41:53,905 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:53,905 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
10:41:53,905 INFO [STDOUT] at $Proxy0.start(Unknown Source)
10:41:53,905 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:428)
10:41:53,905 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
10:41:53,905 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:53,931 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:53,931 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:41:53,931 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:41:53,931 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:41:53,931 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:41:53,931 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:53,932 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:41:53,932 INFO [STDOUT] at $Proxy45.start(Unknown Source)
10:41:53,932 INFO [STDOUT] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)
10:41:53,932 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:41:53,932 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:41:53,932 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:53,958 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:53,958 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:41:53,958 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:41:53,958 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
10:41:53,958 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:41:53,958 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
10:41:53,958 INFO [STDOUT] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
10:41:53,958 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:41:53,959 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:41:53,959 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:53,959 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:41:53,959 INFO [STDOUT] at $Proxy46.start(Unknown Source)
10:41:53,984 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
10:41:53,984 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
10:41:53,984 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
10:41:53,985 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
10:41:53,985 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
10:41:53,985 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:53,985 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:53,985 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:41:53,985 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:41:53,985 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
10:41:53,985 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:41:53,985 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
10:41:54,011 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:41:54,011 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:41:54,011 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:54,011 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:41:54,011 INFO [STDOUT] at $Proxy6.deploy(Unknown Source)
10:41:54,011 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
10:41:54,011 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
10:41:54,011 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
10:41:54,011 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
10:41:54,012 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
10:41:54,012 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
10:41:54,037 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:41:54,037 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:41:54,037 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:54,037 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:54,037 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:41:54,037 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:41:54,037 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:41:54,037 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:41:54,037 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:54,038 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
10:41:54,038 INFO [STDOUT] at $Proxy0.start(Unknown Source)
10:41:54,038 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:428)
10:41:54,063 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:41:54,063 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:41:54,063 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:54,063 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:54,063 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:41:54,063 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:41:54,064 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:41:54,064 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:41:54,064 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:54,064 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:41:54,064 INFO [STDOUT] at $Proxy4.start(Unknown Source)
10:41:54,064 INFO [STDOUT] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
10:41:54,089 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
10:41:54,089 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
10:41:54,089 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
10:41:54,090 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
10:41:54,090 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:41:54,090 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:41:54,090 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:54,090 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:54,090 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:41:54,090 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:41:54,090 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
10:41:54,090 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:41:54,177 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
10:41:54,177 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:41:54,177 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:41:54,177 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:41:54,177 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:41:54,177 INFO [STDOUT] at $Proxy5.deploy(Unknown Source)
10:41:54,177 INFO [STDOUT] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
10:41:54,177 INFO [STDOUT] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
10:41:54,177 INFO [STDOUT] at org.jboss.Main.boot(Main.java:187)
10:41:54,177 INFO [STDOUT] at org.jboss.Main$1.run(Main.java:438)
10:41:54,178 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
10:41:54,179 INFO [STDOUT] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
10:41:54,205 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:41:54,230 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:41:54,230 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:41:54,230 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:41:54,230 INFO [STDOUT] at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:229)
10:41:54,230 INFO [STDOUT] at $Proxy187.lookup(Unknown Source)
10:41:54,230 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
10:41:54,230 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
10:41:54,231 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:351)
10:41:54,231 INFO [STDOUT] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1046)
10:41:54,231 INFO [STDOUT] ... 142 more
10:41:54,231 ERROR [[/]] Exception starting filter Secure site filter
javax.servlet.ServletException: Could not dereference object
at com.casinocasino.security.SecureSiteFilter.init(SecureSiteFilter.java:89)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3540)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4110)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
at org.jboss.web.WebModule.startModule(WebModule.java:68)
at org.jboss.web.WebModule.startService(WebModule.java:46)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at sun.reflect.GeneratedMethodAccessor4.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
at sun.reflect.GeneratedMethodAccessor6.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy45.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor8.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
at org.jboss.Main.boot(Main.java:187)
at org.jboss.Main$1.run(Main.java:438)
at java.lang.Thread.run(Thread.java:595)



// Code in com.casinocasino.security.SecureSiteFilter.init(SecureSiteFilter.java:85


public void init(FilterConfig filterConfig) throws ServletException {
this.filterConfig = filterConfig;

try {
Context context = (Context)com.casinocasino.util.LookUpConstants.getInitialContextStatic();
transaction = (UserTransaction) context.lookup(
"java:comp/UserTransaction");
} catch (NamingException ne) {
ne.printStackTrace();
throw new ServletException(ne);
}
}


// code in com.casinocasino.util.LookUpConstants.getInitialContextStatic();

public static InitialContext getInitialContextStatic() throws javax.naming.NamingException{
Hashtable hashTable = new Hashtable();
hashTable.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
hashTable.put(Context.PROVIDER_URL, "jnp://localhost:1099");
hashTable.put(Context.URL_PKG_PREFIXES, "org.jboss.naming rg.jnp.interfaces");
return new InitialContext(hashTable);
}


Thanks.
jodan daniel
Greenhorn

Joined: Mar 15, 2007
Posts: 7
i missed this declaration

import javax.transaction.*;

private UserTransaction transaction = null;

and the error line 85 :

transaction = (UserTransaction) context.lookup("java:comp/UserTransaction");

Thanks
jodan daniel
Greenhorn

Joined: Mar 15, 2007
Posts: 7
I Solved this issue by changing as below.

transaction = (UserTransaction) context.lookup("UserTransaction");

But.......This is my console output.


[root@localhost bin]# sh run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/local/jboss-4.0.3SP1

JAVA: /usr/local/jdk1.5//bin/java

JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

CLASSPATH: /usr/local/jboss-4.0.3SP1/server/default/lib/acme.jar:/usr/local/jboss-4.0.3SP1/server/default/lib/germantds.jar:/usr/local/jboss-4.0.3SP1/server/default/lib/lokicore-20020821.jar:/usr/local/jboss-4.0.3SP1/server/default/lib/msbase.jar:/usr/local/jboss-4.0.3SP1/server/default/lib/mssqlserver.jar:/usr/local/jboss-4.0.3SP1/server/default/lib/msutil.jar:/usr/local/jboss-4.0.3SP1/server/default/lib/javax.servlet.jar:/usr/local/jboss-4.0.3SP1/bin/run.jar:/usr/local/jdk1.5//lib/tools.jar

=========================================================================

12:57:49,481 INFO [Server] Starting JBoss (MX MicroKernel)...
12:57:49,482 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)
12:57:49,484 INFO [Server] Home Dir: /usr/local/jboss-4.0.3SP1
12:57:49,487 INFO [Server] Home URL: file:/usr/local/jboss-4.0.3SP1/
12:57:49,488 INFO [Server] Patch URL: null
12:57:49,490 INFO [Server] Server Name: default
12:57:49,490 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.3SP1/server/default
12:57:49,491 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.3SP1/server/default/
12:57:49,491 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.3SP1/server/default/tmp
12:57:49,492 INFO [Server] Root Deployment Filename: jboss-service.xml
12:57:50,022 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
12:57:50,022 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_10-b03,Sun Microsystems Inc.
12:57:50,022 INFO [ServerInfo] OS-System: Linux 2.4.20-8,i386
12:57:51,028 INFO [Server] Core system initialized
12:57:53,684 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
12:57:59,578 INFO [EJB3Deployer] Default persistence.properties: {hibernate.transaction.flush_before_completion=false, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming rg.jnp.interfaces, hibernate.transaction.auto_close_session=false, hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, hibernate.hbm2ddl.auto=create-drop, hibernate.connection.datasource=java:/DefaultDS, hibernate.connection.release_mode=after_statement}
12:57:59,612 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/0.0.0.0:3873]
12:58:00,606 INFO [AspectDeployer] Deployed AOP: file:/usr/local/jboss-4.0.3SP1/server/default/deploy/ejb3-interceptors-aop.xml
12:58:08,095 INFO [WebService] Using RMI server codebase: http://localhost.localdomain:8083/
12:58:08,585 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000) ING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false) bcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=60 0,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100) bcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false) bcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true) bcast.STATE_TRANSFER(down_thread=false;up_thread=false)
12:58:08,631 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
12:58:08,637 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
12:58:08,871 INFO [TreeCache] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.LockInterceptor
class org.jboss.cache.interceptors.CacheLoaderInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.CacheStoreInterceptor
12:58:08,887 INFO [TreeCache] cache mode is REPL_SYNC
12:58:09,704 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:32928
-------------------------------------------------------
12:58:11,742 INFO [TreeCache] viewAccepted(): new members: [localhost:32928]
12:58:11,744 INFO [TreeCache] state could not be retrieved (must be first member in group)
12:58:11,767 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
12:58:11,844 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
12:58:11,884 INFO [TreeCache] new cache is null (maybe first member in cluster)
12:58:11,965 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000) ING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false) bcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600 ,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100) bcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false) bcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true) bcast.STATE_TRANSFER(down_thread=false;up_thread=false)
12:58:11,971 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
12:58:15,113 INFO [MailService] Mail Service bound to java:/Mail
12:58:16,331 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
12:58:16,346 INFO [DefaultPartition] Initializing
12:58:16,943 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:32930 (additional data: 14 bytes)
-------------------------------------------------------
12:58:19,144 INFO [DefaultPartition] Number of cluster members: 1
12:58:19,144 INFO [DefaultPartition] Other members: 0
12:58:19,144 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
12:58:19,330 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
12:58:19,336 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
12:58:19,495 INFO [TreeCache] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.LockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
12:58:19,497 INFO [TreeCache] cache mode is REPL_SYNC
12:58:19,527 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:32933
-------------------------------------------------------
12:58:21,530 INFO [TreeCache] state could not be retrieved (must be first member in group)
12:58:21,530 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
12:58:21,530 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
12:58:21,536 INFO [TreeCache] new cache is null (maybe first member in cluster)
12:58:21,557 INFO [TreeCache] viewAccepted(): new members: [localhost:32933]
12:58:22,963 INFO [Embedded] Catalina naming disabled
12:58:23,805 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-80
12:58:23,807 INFO [Catalina] Initialization processed in 623 ms
12:58:23,832 INFO [StandardService] Starting service jboss.web
12:58:23,836 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
12:58:23,968 INFO [StandardHost] XML validation disabled
12:58:24,014 INFO [Catalina] Server startup in 184 ms
12:58:24,408 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
12:58:25,114 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
12:58:25,979 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp56387jboss-ws4ee.war/
12:58:26,340 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
12:58:26,638 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
12:58:27,071 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
12:58:28,324 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000) ING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false) bcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICA ST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100) bcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false) bcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true) bcast.STATE_TRANSFER(down_thread=true;up_thread=true)
12:58:28,329 INFO [TreeCache] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.LockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
12:58:28,352 INFO [TreeCache] cache mode is REPL_ASYNC
12:58:28,643 INFO [STDOUT]
-------------------------------------------------------
GMS: address is localhost:32936
-------------------------------------------------------
12:58:30,921 INFO [TreeCache] viewAccepted(): new members: [localhost:32936]
12:58:30,922 INFO [TreeCache] new cache is null (maybe first member in cluster)
12:58:30,922 INFO [TreeCache] state could not be retrieved (must be first member in group)
12:58:32,220 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
12:58:32,638 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
12:58:32,948 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
12:58:33,355 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
12:58:33,658 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
12:58:33,962 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
12:58:34,596 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
12:58:34,927 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MSSQLDS' to JNDI name 'java:MSSQLDS'
12:58:35,614 INFO [A] Bound to JNDI name: queue/A
12:58:35,618 INFO [B] Bound to JNDI name: queue/B
12:58:35,646 INFO [C] Bound to JNDI name: queue/C
12:58:35,729 INFO [D] Bound to JNDI name: queue/D
12:58:35,760 INFO [ex] Bound to JNDI name: queue/ex
12:58:35,842 INFO [testTopic] Bound to JNDI name: topic/testTopic
12:58:35,847 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
12:58:35,876 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
12:58:36,005 INFO [testQueue] Bound to JNDI name: queue/testQueue
12:58:36,132 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
12:58:36,397 INFO [DLQ] Bound to JNDI name: queue/DLQ
12:58:36,529 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
12:58:37,618 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.3SP1/server/default/deploy/example-ear.ear
13:00:18,058 INFO [EjbModule] Deploying GenericUserTicket
13:00:24,493 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'GenericUserTicket' to jndi 'ejb/GenericUserTicket'
13:00:32,902 INFO [EJBDeployer] Deployed: file:/usr/local/jboss-4.0.3SP1/server/default/tmp/deploy/tmp56455example-ear.ear-contents/example-jar.jar
13:00:33,173 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp56455example-ear.ear-contents/example-war.war/
13:00:37,329 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
13:00:37,329 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp56455example-ear.ear-contents/example-war.war/WEB-INF/etc/languageResources
13:00:37,329 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
13:00:37,330 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp56455example-ear.ear-contents/example-war.war/WEB-INF/etc/languageResources
13:00:37,330 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
13:00:37,330 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp56455example-ear.ear-contents/example-war.war/WEB-INF/etc/languageResources
13:00:37,330 INFO [STDOUT] filePath :/WEB-INF/etc/languageResources/
13:00:37,355 INFO [STDOUT] file :/usr/local/jboss-4.0.3SP1/server/default/./tmp/deploy/tmp56455example-ear.ear-contents/example-war.war/WEB-INF/etc/languageResources



In this jar deployed properly but war deployment not completed.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DeploymentException: Error cant find datasource: