[JBossWS] - Re: IllegalStateException Cannot find property
by gryffin
I installed JBossAS 4.2.3, this time NOT updating it to JBossWS 3.0.4. I get the same error running my client through Eclipse. I tried wsrunclient ( v4.2.3) and got a different error:
C:\Documents and Settings\tx714c\My Documents\workspace\MV4Client2\bin>c:\jboss-4.2.3.GA\bin\wsruncl
| ient com.boeing.nmt.nls.test.AssetTest
| log4j:WARN No appenders could be found for logger (org.jboss.ws.metadata.builder.jaxws.JAXWSWebServi
| ceMetaDataBuilder).
| log4j:WARN Please initialize the log4j system properly.
| ====================================
| DISABLE TAG: FFF123456789
| Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException
| : setProperty must be overridden by all subclasses of SOAPMessage
| at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
| at $Proxy19.findPopulatedTagByNetworkId(Unknown Source)
| at com.boeing.nmt.nls.mv4client.MV4Client.disableTag(MV4Client.java:305)
| at com.boeing.nmt.nls.test.AssetTest.main(AssetTest.java:25)
| Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses
| of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
| at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
| at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
| ... 5 more
I am using code generated by JBoss, using JBoss to run it, why is JBoss carping out?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172065#4172065
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172065
17 years, 8 months
[JNDI/Naming/Network] - Re: SQL query missinterperted in JBOSS. How can I correct it
by badam571
Hi PeterJ
Here is stacktrace for error:
2008-08-22 12:06:22,427 DEBUG [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Created Connection proxy for invoker=jboss:service=invoker,type=jrmp, targetName=jboss.jca:service=DataSourceBinding,name=aco_code, cacheID=25803197
2008-08-22 12:06:22,427 INFO [STDOUT] data-source: org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy@191c263
2008-08-22 12:06:22,427 INFO [STDOUT] connection: 25803197
2008-08-22 12:06:22,427 DEBUG [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Created Statement proxy for invoker=jboss:service=invoker,type=jrmp, targetName=jboss.jca:service=DataSourceBinding,name=aco_code, cacheID=1031493
2008-08-22 12:06:22,447 DEBUG [com.base.SqlEngine] debug2 ====>com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name ' '.
2008-08-22 12:06:22,447 INFO [STDOUT] debug2 ====>com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name ' '.
2008-08-22 12:06:22,447 DEBUG [com.base.SqlEngine] debug2 ====>com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name ':'.
2008-08-22 12:06:22,447 INFO [STDOUT] debug2 ====>com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name ':'.
2008-08-22 12:06:22,447 DEBUG [com.base.SqlEngine] debug2 ====>com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name '00'.
2008-08-22 12:06:22,447 INFO [STDOUT] debug2 ====>com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name '00'.
2008-08-22 12:06:22,457 DEBUG [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Closed Statement=1031493
2008-08-22 12:06:22,457 INFO [STDOUT] results: false
You can see that results is equal to: false .. results is the output of: stmt.execute(sqlcommand)
do I need to paste all the server long here?
Best Regards
badam571
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172061#4172061
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172061
17 years, 8 months
[Security & JAAS/JBoss] - Re: JAAS Authentication from stand alone client
by ragavgomatam
HI
Quick answers :- Since it is java client
(1) You would be using a callback handler on the client to connect to your Jaas Module.
(2) Your CustomModule should be in a jar file under $HOME/server/default/lib
(3) The classpath in run.sh or run.bat of jboss should be changed to include your jar
(4) You would be useing an auth.config policy file as a part of your client start up & use this syntax, please check this out once again :-
anonymous wrote : java -Djava.security.manager -Djava.security.auth.login.config==file:../conf/default/auth.conf
watch that ==.
(5) This auth.conf would be having the ClientLoginModule in addition to your module . The format should be as of a policy file.
(6) Use jars from $HOME/jboss/client in your client classpath. There are many jars from this directory, I don't immediately recall. However if using jdk 1.6 use classpath wildcard to use all the jars.
This should be good as a start. I will try to post more if this is insufficient
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172056#4172056
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172056
17 years, 8 months