[JBoss-user] [JBossWS] - could not find deserializer for type

2005-08-26 Thread satya
Hi ,

I'm new to Web services. I'm trying to call a web service which is running in 
Jboss-4.0.2. I'm returning Data Object from Web service method. When I call 
that method, I'm getting the following error from the Standalone client. Please 
help me to find out the solution for this.


Console  
anonymous wrote : 
  | 
  | ulr :: http://T5-1FB-140531:8080/csda/csda/AcceptRequest?wsdl
  | Contacting webservice at 
http://T5-1FB-140531:8080/csda/csda/AcceptRequest?wsdl
  | New approach
  | log4j:WARN No appenders could be found for logger 
(org.jboss.webservice.EngineConfigurationFinder).
  | log4j:WARN Please initialize the log4j system properly.
  | AxisFault
  |  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
  |  faultSubcode: 
  |  faultString: Deserializing parameter 'getMetaData':  could not find 
deserializer for type 
{http://com.test.csda.imaging/ws_acceptrequest/types}getMetaData
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | 
  | org.jboss.axis.AxisFault: Deserializing parameter 'getMetaData':  could not 
find deserializer for type 
{http://com.test.csda.imaging/ws_acceptrequest/types}getMetaData
  | at 
org.jboss.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:303)
  | at 
org.jboss.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:142)
  | at 
org.jboss.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1249)
  | at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
  | at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | at javax.xml.parsers.SAXParser.parse(Unknown Source)
  | at 
org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257)
  | at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
  | at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
  | at org.jboss.axis.client.Call.invokeEngine(Call.java:3077)
  | at org.jboss.axis.client.Call.invoke(Call.java:3039)
  | at org.jboss.axis.client.Call.invoke(Call.java:2629)
  | at org.jboss.axis.client.Call.invoke(Call.java:2538)
  | at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
  | at org.jboss.axis.client.Call.invoke(Call.java:1914)
  | at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
  | at 
com.test.csda.imaging.client.CSDAAcceptRequestWsClient.doProcess(CSDAAcceptRequestWsClient.java:87)
  | at 
com.test.csda.imaging.client.CSDAAcceptRequestWsClient.main(CSDAAcceptRequestWsClient.java:39)
  | Exception in thread main 
  | 
  | 



Client 

anonymous wrote : 
  | 
  | 
  | /*
  |  * Created on Jul 21, 2005
  |  *
  |  * TODO To change the template for this generated file go to
  |  * Window - Preferences - Java - Code Style - Code Templates
  |  */
  | package com.test.csda.imaging.client;
  | 
  | 
  | import java.net.URL;
  | import java.net.URLClassLoader;
  | 
  | import javax.xml.namespace.QName;
  | import javax.xml.rpc.Service;
  | import javax.xml.rpc.ServiceFactory;
  | import org.jboss.webservice.client.ServiceFactoryImpl;
  | import javax.naming.*;
  | import java.util.*;
  | import javax.xml.rpc.Service;
  | import javax.xml.rpc.ServiceException;
  | 
  | 
  | import com.test.csda.imaging.common.WebServiceDO;
  | import com.test.csda.imaging.ws_acceptrequest.AcceptRequest;
  | 
  | import javax.xml.rpc.Call;
  | 
  | 
  | /**
  |  * @author satya
  |  *
  |  * TODO To change the template for this generated type comment go to
  |  * Window - Preferences - Java - Code Style - Code Templates
  |  */
  | public class CSDAAcceptRequestWsClient {
  | 
  | public static void main(String[] args) throws Exception{
  | 
  | new CSDAAcceptRequestWsClient().doProcess();
  | }
  | 
  | public void doProcess() throws Exception {
  | 
  | String urlstr = 
http://T5-1FB-140531:8080/csda/csda/AcceptRequest?wsdl;;
  | 
  | 
  | 
  | System.out.println(ulr ::  +urlstr);
  | String jobId = A123;
  | String jobtype = JobType;
  | String colorCode = MONO;
  | String grFormat = jpeg;
  | int height=123;
  | int width=123;  
  | 
  | System.out.println(Contacting webservice at  + urlstr);
  | URL wsdlURL = new URL(urlstr

[JBoss-user] [Beginners Corner] - Re: Postgres problems

2004-06-07 Thread satya karthik

1. Instead of writing your own jbosscmp-jdbc.xml, copy standardjbosscmp-jdbc.xml in to 
your META-INF directory and rename it as jbosscmp-jdbc.xml .

2.see that you had given datasource-mapping as 

 datasource-mappingPostgreSQL/datasource-mapping
3. see that postgres-ds.xml is in your hot deployment directory

  After following the above three steps , i had overcome the exception.
May be the standardjbosscmp-jdbc.xml contains the definition for every data-source


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837718#3837718

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837718


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] adding context to embedded jboss-tomcat

2001-10-23 Thread Satya

Dear Friends,

I am running embedded tomcat service of jboss.
I have my tomcat running fine with messages:

[EmbeddedTomcatSX]Starting EmbeddedTomcatSX
[Default]Starting tomcat.Check logs/tomcat.log for error messages
[EmbeddedTomcatSX]OK
[EmbeddedTomcatServiceSX]Started

But the problem is Context that i have added to server.xml of tomcat
is not running.My Jboss version is 2.4.1 and tomcat version 3.2.3 ,i
am running this on linux 7.1.
Let me know how can i run different context with jboss-embedded
tomcat.

Regards,
Hitesh Patel.

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] addint context to embedded jboss-tomcat

2001-10-23 Thread Satya

Dear Friends,

I am running embedded tomcat service of jboss.
I have my tomcat running fine with messages:

[EmbeddedTomcatSX]Starting EmbeddedTomcatSX
[Default]Starting tomcat.Check logs/tomcat.log for error messages
[EmbeddedTomcatSX]OK
[EmbeddedTomcatServiceSX]Started

But the problem is Context that i have added to server.xml of tomcat
is not running.My Jboss version is 2.4.1 and tomcat version 3.2.3 ,i
am running this on linux 7.1.
Let me know how can i run different context with jboss-embedded
tomcat.

Regards,
Hitesh Patel.

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jboss:ConnectionPool java.net.sockettimeout

2001-10-20 Thread Satya



hi,

i am getting error of java.net.sockettimeout after few minutes of
starting jboss.further i was unable to load ConnectionPool of oracle
although i am able to load oracle drivers.

can anybody help ??

Jay Shri Krishana.

-- FREE Perl CGI scripts add WEB ACCESS to your
-- POP E-Mail accounts! Download today!! http://www.adjeweb.com


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JavaPetstore1.1.2 How-To

2001-07-15 Thread Satya Chauhan

Hello all,
I'm starting to compile one How-To document to run  jps1.1.2 on
jBoss2.2.2/tomcat3.2.2, please let me know if you have been able to run it
successfully  using any  one of the database.

I believe the petstore1.1.1 how-to  on jboss.org website is slightly off the
track and need some revamping to use it for jps1.1.2

Comments welcome.

Thanks,
sc


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JavaPetstore1.1.2 How-To

2001-07-15 Thread Satya Chauhan

Enclosed is the  priliminary How-To file, if I use these steps I get the
following error:


[Default] JBoss 2.2.2 Started in 0m:18s
2001-07-15 03:12:21 - Ctx( /estore ): Exception in: R( /estore + /control +
/lan
guage) -
com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureExcep
tion: CatalogDAOFactory.getDAO:  NamingException while getting DAO type :
catalog not bound


Please let me know what is missing??

Thanks,
sc




PetStore1.1.2 How-To

Objective: 
To be able to run Petstore1.1.2 on Jboss2.2.2/Tomcat3.2.2 from the scratch

Platform Used for this exercise:

Win2000
JDK1.3.0
JBoss2.2.2
Tomcat3.2.2
Oracle8 Rdbms



Steps:

1. Integrate jBoss + tomcat to run on the same stack
2. Get the jps1.1.1
3. Configure jps1.1.2 to run on jboss and build it
4. Add EstoreDB datasource into jboss.jcml
5. Deploy petstore.ear
6. Run the jBoss.
7. Access the Petstore




1. Integrate jBoss + tomcat to run on the same stack
Please follow the instructions  under Tomcat and Jboss - A full J2EE Stack  How-To.


2. Get the jps1.1.2
Get the source for the jps1.1.2 from  http://java.sun.com/j2ee/download.html#blueprints

3. Configure jps1.1.2 for jBoss and build it
Add the file jboss-web.xml as listed below  into  
..\jps1.1.2\src\petstore\src\docroot\WEB-INF


===jboss-web.xml===
jboss-web
  resource-ref
res-ref-namejdbc/EstoreDataSource/res-ref-name
res-typejavax.sql.DataSource/res-type
jndi-namejava:/EstoreDB/jndi-name
  /resource-ref
ejb-ref
ejb-ref-nameejb/catalog/Catalog/ejb-ref-name
jndi-nameTheCatalog/jndi-name
  /ejb-ref
  ejb-ref
ejb-ref-nameejb/cart/Cart/ejb-ref-name
jndi-nameTheCart/jndi-name
  /ejb-ref
  ejb-ref
ejb-ref-nameejb/customer/Customer/ejb-ref-name
jndi-nameTheCustomer/jndi-name
  /ejb-ref
  ejb-ref
ejb-ref-nameejb/profilemgr/ProfileMgr/ejb-ref-name
jndi-nameTheProfileMgr/jndi-name
  /ejb-ref
  ejb-ref
ejb-ref-nameejb/scc/Scc/ejb-ref-name
jndi-nameTheShoppingClientController/jndi-name
  /ejb-ref
  ejb-ref
ejb-ref-nameejb/inventory/Inventory/ejb-ref-name
jndi-nameTheInventory/jndi-name
  /ejb-ref
/jboss-web



Now run the build command under ..\jps1.1.2\src\petstore\src, this should create
petstore.ear in ..\jps1.1.2\src\build directory.


4. Add EstoreDB datasource into jboss.jcml

Add following entry into jBoss.jcml, make sure to modify IP address/server name, 
instance name, 
oracle userid/password as per your configuration.

mbean code=org.jboss.jdbc.XADataSourceLoader 
name=DefaultDomain:service=XADataSource,name=EstoreDB
attribute name=PoolNameEstoreDB/attribute
attribute 
name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attribute
attribute name=Properties/attribute
attribute name=URLjdbc:oracle:thin:@192.168.0.2:1521:ORCL/attribute
attribute name=GCMinIdleTime120/attribute
attribute name=JDBCUserpetstore/attribute
attribute name=MaxSize10/attribute
attribute name=Passwordpetstore/attribute
attribute name=GCEnabledfalse/attribute
attribute name=InvalidateOnErrorfalse/attribute
attribute name=TimestampUsedfalse/attribute
attribute name=Blockingtrue/attribute
attribute name=GCInterval12/attribute
attribute name=IdleTimeout180/attribute
attribute name=IdleTimeoutEnabledfalse/attribute
attribute name=LoggingEnabledfalse/attribute
attribute name=MaxIdleTimeoutPercent1.0/attribute
attribute name=MinSize0/attribute
  /mbean


Also add the oracle driver name entry as  below in jboss.jcml file

  !-- JDBC --
  mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider
 attribute 
name=Driversorg.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,oracle.jdbc.driver.OracleDriver/attribute
  /mbean


Make sure to add the zip file containing oracle driver classes (usually 
classes111.zip) into 
$JBOSS_HOME/lib/ext folder



5. Deploy petstore.ear
Copy petstore.ear as created in step-3 above into $JBOSS_HOME/deploy folder

6. Run the jBoss
Run the jboss using run command under $JBOSS_HOME/bin

7. Access the Petstore application

Point your browser to 
http://localhost:8080/estore  


















Re: [JBoss-user] JMS example needed

2001-07-15 Thread Satya Chauhan

Here is a quick link from jBoss.org :
http://jboss.org/documentation/HTML/ch07s03.html

SC
- Original Message - 
From: Boris Garbuzov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 15, 2001 4:53 PM
Subject: [JBoss-user] JMS example needed


 Can somebody point me to  JMS materials specific for JBoss and also guide
 through some HelloJms sample?
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user