tomcat clustering / jwsdp soap / serializable

2004-11-14 Thread peter maas
Hi list,
I have been experimenting with the clustering options for a while. The 
main issue I seem to encounter over and over again is synchronizing 
objects which do not implement the serializable interface. Since we are 
using the jwsdp wscompile tool to generate source code based on a wsdl 
we have tons of beans generated which do not implement the Serializable 
interface (allthough, since they are sent over SOAP the can be 
serialized). If we want to connect suchs a bean to a session, I would 
have to modify the auto generated code or write adapter beans.
Also it would mean that if I want to use older applications (for which 
we are not sure if they implement the Serializable interface) in a 
cluster setup, I would have to modify and recompile them!

Is there a way to enable replication based on introspection if the 
Serialization interface is not implemented? Any other ideas?

--
Peter Maas
Application Architect / Streaming
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM Amsterdam
The Netherlands
Tel: +31 (0)205929966
Fax: +31 (0)204688405
Gsm: +31 (0)624687952
Web: www.noterik.nl
--
Take a look at our streaming solutions: 
http://www.streamedit.com/demo.html

Get firefox: 
http://www.mozilla.org/products/firefox/
---

:wq!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat clustering / jwsdp soap / serializable

2004-11-14 Thread peter maas
O.k. I just found out that I can force wscompile to add the 
implementation of Serializable to all datatypes 
(xSerializable=true)... however the part about older apps is still 
relevant.

peter maas wrote:
Hi list,
I have been experimenting with the clustering options for a while. The 
main issue I seem to encounter over and over again is synchronizing 
objects which do not implement the serializable interface. Since we 
are using the jwsdp wscompile tool to generate source code based on a 
wsdl we have tons of beans generated which do not implement the 
Serializable interface (allthough, since they are sent over SOAP the 
can be serialized). If we want to connect suchs a bean to a session, I 
would have to modify the auto generated code or write adapter beans.
Also it would mean that if I want to use older applications (for which 
we are not sure if they implement the Serializable interface) in a 
cluster setup, I would have to modify and recompile them!

Is there a way to enable replication based on introspection if the 
Serialization interface is not implemented? Any other ideas?


--
Peter Maas
Application Architect / Streaming
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM Amsterdam
The Netherlands
Tel: +31 (0)205929966
Fax: +31 (0)204688405
Gsm: +31 (0)624687952
Web: www.noterik.nl
--
Take a look at our streaming solutions: 
http://www.streamedit.com/demo.html

Get firefox: 
http://www.mozilla.org/products/firefox/
---

:wq!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


use a servlet in TOMCAT on JWSDP?

2002-07-09 Thread staginfo-ar

Hi,
i'm developping a web service named first with JWSDP-1_0. I've a client
servlet which was compiled by ANT. How can I launch this servlet? How can I
launch this servlet from a html page (What way in the Action of FORM) ?

Jc


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat and JWSDP

2002-04-03 Thread Lenhart Stefan

Hi everyone!

I'm trying to develop a small WebService example and therefore use Sun's
Java WebService Development Pack which has a Tomcat version 4.something
distribution included.

Packaging the service class into a war file is no problem, and on startup
Tomcat extracts the war archive to the appropriate subdirectory of webapps.
No problem so far. But when I'm trying to access the webapp in my browser
(http://localhost:8080/kredit) I get a 404 error message although I've got
an index.html file in the /kredit directory.

I checked the log file, and found that on startup this error occurs:

2002-04-03 09:58:25 ContextConfig[/kredit] Parse error in application
web.xml
java.lang.Exception: Can't open config file:
java.io.ByteArrayInputStream@2ae94f due to: java.io.UTFDataFormatException:
invalid byte 1 of 1-byte UTF-8 sequence (0xfc)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:282)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:256)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
224)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


Anybody had this problem before? Any ideas?

Thx in advance!


Mit freundlichen Gruessen

Stefan Lenhart

R. Boeker Consulting GmbH
Ein Unternehmen der R. Boeker Unternehmensgruppe AG
RBU AG Zweigniederlassung Frankfurt
Mergenthalerallee 77
D-65760 Eschborn

Tel.:+49 (61 96) 4 70-883
Fax.:+49 (61 96) 4 70-8 90
E-Mail:  mailto:[EMAIL PROTECTED]
Internet: http://www.rbu.de

Diese eMail enthält möglicherweise vertrauliche und/oder rechtlich
geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese eMail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten diese eMail. Das unerlaubte Kopieren sowie die
unbefugte Weitergabe dieser eMail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat and JWSDP

2002-04-03 Thread Craig R. McClanahan



On Wed, 3 Apr 2002, Lenhart Stefan wrote:

 Date: Wed, 3 Apr 2002 10:45:29 +0200
 From: Lenhart Stefan [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Tomcat and JWSDP

 Hi everyone!

 I'm trying to develop a small WebService example and therefore use Sun's
 Java WebService Development Pack which has a Tomcat version 4.something
 distribution included.


The version of Tomcat in JWSDP is pretty much what is available in recent
nightly builds of Tomcat 4.

 Packaging the service class into a war file is no problem, and on startup
 Tomcat extracts the war archive to the appropriate subdirectory of webapps.
 No problem so far. But when I'm trying to access the webapp in my browser
 (http://localhost:8080/kredit) I get a 404 error message although I've got
 an index.html file in the /kredit directory.

 I checked the log file, and found that on startup this error occurs:

Are you sure you're trying to run this webapp on the JWSDP version of
Tomcat, and not some separate one?  The reason I ask is that the
org.apache.catalina.util.xml.XmlMapper class (used to parse web.xml and
TLD files) only exists in Tomcat 4.0.x -- it doesn't exist in the version
of Tomcat included in JWSDP.  The stack trace implies that you're trying
this on a standard 4.0.x version of Tomcat.

The other thing I would do is look at your web.xml file itself, and make
sure there are no wierd characters in it.

Craig



 2002-04-03 09:58:25 ContextConfig[/kredit] Parse error in application
 web.xml
 java.lang.Exception: Can't open config file:
 java.io.ByteArrayInputStream@2ae94f due to: java.io.UTFDataFormatException:
 invalid byte 1 of 1-byte UTF-8 sequence (0xfc)
   at
 org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:282)
   at
 org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
 va:256)
   at
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
   at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
 224)
   at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
 t.java:155)
   at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
   at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
   at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
   at
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
   at
 org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
   at
 org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
   at
 org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
   at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
 t.java:155)
   at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
   at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
   at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
   at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
   at
 org.apache.catalina.core.StandardService.start(StandardService.java:388)
   at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
   at java.lang.reflect.Method.invoke(Native Method)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


 Anybody had this problem before? Any ideas?

 Thx in advance!


 Mit freundlichen Gruessen

 Stefan Lenhart

 R. Boeker Consulting GmbH
 Ein Unternehmen der R. Boeker Unternehmensgruppe AG
 RBU AG Zweigniederlassung Frankfurt
 Mergenthalerallee 77
 D-65760 Eschborn

 Tel.:  +49 (61 96) 4 70-883
 Fax.:  +49 (61 96) 4 70-8 90
 E-Mail:mailto:[EMAIL PROTECTED]
 Internet: http://www.rbu.de

 Diese eMail enthält möglicherweise vertrauliche und/oder rechtlich
 geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder
 diese eMail irrtümlich erhalten haben, informieren Sie bitte sofort den
 Absender und vernichten diese eMail. Das unerlaubte Kopieren sowie die
 unbefugte Weitergabe dieser eMail ist nicht gestattet.

 This e-mail may contain confidential and/or privileged information. If you
 are not the intended recipient (or have received this e-mail in error)
 please notify the sender immediately and destroy this e-mail. Any
 unauthorised copying, disclosure or distribution of the material in this
 e-mail is strictly forbidden.



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe