JMS Bug? javax.jms.MessageFormatException: Unable to deserialize object:

2001-05-25 Thread NealKaiser

I am running Orion 1.4.5 and have a problem that I can't figure out. I
have a JMS Topic which a Servlet (publisher) talks to a differnet server
(consumer).  The message is successfully sent over the channel to the
consumer. The consumer then successfully wraps the return object in an
ObjectMessage.  My debug statements tell me that it is an instance of
the object it is supposed to be.

Now, when the publisher's onMessage() is called, the following exception
is thrown:


javax.jms.MessageFormatException: Unable to deserialize object:
java.lang.ClassNotFoundException:
com.mas.ebiz.asp.billing.util.BillingResults
at com.evermind.server.jms.da.getObject(JAX)
at
com.mas.ebiz.asp.billing.publisher.BillingPublisher.onMessage(BillingPub
lisher.java:172)
at com.evermind.server.jms.cr.ls(JAX)
at com.evermind.server.jms.cs.ls(JAX)
at com.evermind.server.jms.EvermindTopicConnection.ma(JAX)
at com.evermind.server.jms.JMSServer.lr(JAX)
at com.evermind.server.jms.ck.run(JAX)
at com.evermind.util.f.run(JAX)


Well, my debug statements show me that it definitely is a BillingResults
object that I packed in the ObjectMessage.  And the BillingResults
object is definitely in my classpath -- I even created a temp
BillingResults object right before where this exception happens.

Here's a snippet of my code onMessage() that fails:

ObjectMessage m = (ObjectMessage)message;
Object messageObject = m.getObject();  //THIS IS WHERE THE EXCEPTION IS
THROWN


Here is my consumer snippet that packs the BillingResults object and
publishes back...


BillingResults results = new BillingResults("dummy"); 
ObjectMessage message = _session.createObjectMessage((Serializable)
results);
message.setObject((Serializable) results);
int delivery_mode = DeliveryMode.PERSISTENT;
_publisher.publish(message, delivery_mode, 1, 0);


Any ideas? I've wasted way too much time on this one!  :) 

Thank you. 





RE: Re[2]: Can't start Orion 1.5.1

2001-05-25 Thread Jason Smith

You may want to check and make sure there are no "surprise" jars in your
runtime environment, look in the {jdk}/jre/lib/ext directory.  I ran into
some problems because of this (specifically some other java based apps put
some of their jars there).  I believe that these will become part of your
bootclasspath regardless of what is defined in your "normal" classpath.

-jason


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Friday, May 25, 2001 3:54 PM
> To: Orion-Interest
> Subject: Re[2]: Can't start Orion 1.5.1
>
>
> Ciao Arnox!
>
> I'm just trying to start Orion 1.5.1 out of the box without adding a
> single byte to the Orion dir.
> I'm using Win98, my CLASSPATH is empty and my PATH is just
> c:\java\ibm13\bin
> I never had problems until release 1.4.5
> Unfortunately I need at least 1.4.8 to use OSContent.
> Thanks for your attention.
> Marcello
>
> AG> It appears that you still have the old JAXP1.0 XML processor in the
> AG> classpath.
> AG> Check "program files" (win32) or whatever on linux for /Jaxp1.0.1.
> AG> In particular, the old parser.jar and jaxp.jar. Once you take those
> AG> out of the classpath, orion should start fine.
>
> AG> If you're actually parsing XML in your web app, then take a look at
> AG> what has changed at: http://java.sun.com/xml/jaxp-1.1/readme.html
> AG> Hope this helps.
> AG> -arnox
>
> AG> -Original Message-
> AG> From: [EMAIL PROTECTED]
> AG> [mailto:[EMAIL PROTECTED]]On Behalf Of
> AG> [EMAIL PROTECTED]
> AG> Sent: Thursday, May 24, 2001 5:20 PM
> AG> To: Orion-Interest
> AG> Subject: Can't start Orion 1.5.1
>
>
> AG> Hello,
> AG> I downloaded Orion 1.4.5 and it works fine out of the box.
> AG> Then I autoupdated it to 1.5.1 but it throws the following exception.
> AG> I tried both updating the configuration files (answering all 'y') and
> AG> not doing it (answering all 'n').
> AG> Also tried with Sun's SDK 1.2.2 and IBM's 1.3.0.
> AG> Any suggestion ?
> AG> Thanks for your attention.
> AG> Marcello
>
> AG> java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
> AG> getQName(I)Ljava/lang/String; not found
> AG> at
> AG> org.apache.crimson.tree.AttributeSet.(AttributeSet.java:139)
> AG> at
> AG>
> org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumen
> tBuilder.j
> AG> ava:463)
> AG> at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449)
> AG> at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
> AG> at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
> AG> at
> AG> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
> AG> at
> AG>
> org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderI
> mpl.java:1
> AG> 79)
> AG> at com.evermind._ug.getJavaxDocument(Unknown Source)
> AG> at com.evermind.xml.XMLUtils.getDocument(Unknown Source)
> AG> at com.evermind.xml.XMLConfig._qh(Unknown Source)
> AG> at com.evermind.xml.XMLConfig._qh(Unknown Source)
> AG> at com.evermind._iy.run(Unknown Source)
> AG> at java.lang.Thread.run(Thread.java:498)
> AG> at com.evermind._ip.run(Unknown Source)
>
>
>
>
>
>
>
>
>
> --
> Best regards,
>  javamailto:[EMAIL PROTECTED]
>
>





proxying orion with IIS or iPlanet Web Server

2001-05-25 Thread Andrew Diederich

Folks,

I've been able to make proxying work with apache, but I wanted to know if
you could do the same thing with either IIS or iWS 4.1.  I was fooling
around with redirects in IIS, but they seem to be truly redirects, and not
proxy passthroughs.  Has anyone accomplished this successfully?

--
Andrew Diederich




Re[2]: Can't start Orion 1.5.1

2001-05-25 Thread java

Ciao Arnox!

I'm just trying to start Orion 1.5.1 out of the box without adding a
single byte to the Orion dir.
I'm using Win98, my CLASSPATH is empty and my PATH is just c:\java\ibm13\bin
I never had problems until release 1.4.5
Unfortunately I need at least 1.4.8 to use OSContent.
Thanks for your attention.
Marcello

AG> It appears that you still have the old JAXP1.0 XML processor in the
AG> classpath.
AG> Check "program files" (win32) or whatever on linux for /Jaxp1.0.1.
AG> In particular, the old parser.jar and jaxp.jar. Once you take those
AG> out of the classpath, orion should start fine.

AG> If you're actually parsing XML in your web app, then take a look at
AG> what has changed at: http://java.sun.com/xml/jaxp-1.1/readme.html
AG> Hope this helps.
AG> -arnox

AG> -Original Message-
AG> From: [EMAIL PROTECTED]
AG> [mailto:[EMAIL PROTECTED]]On Behalf Of
AG> [EMAIL PROTECTED]
AG> Sent: Thursday, May 24, 2001 5:20 PM
AG> To: Orion-Interest
AG> Subject: Can't start Orion 1.5.1


AG> Hello,
AG> I downloaded Orion 1.4.5 and it works fine out of the box.
AG> Then I autoupdated it to 1.5.1 but it throws the following exception.
AG> I tried both updating the configuration files (answering all 'y') and
AG> not doing it (answering all 'n').
AG> Also tried with Sun's SDK 1.2.2 and IBM's 1.3.0.
AG> Any suggestion ?
AG> Thanks for your attention.
AG> Marcello

AG> java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
AG> getQName(I)Ljava/lang/String; not found
AG> at
AG> org.apache.crimson.tree.AttributeSet.(AttributeSet.java:139)
AG> at
AG> org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.j
AG> ava:463)
AG> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449)
AG> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
AG> at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
AG> at
AG> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
AG> at
AG> org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1
AG> 79)
AG> at com.evermind._ug.getJavaxDocument(Unknown Source)
AG> at com.evermind.xml.XMLUtils.getDocument(Unknown Source)
AG> at com.evermind.xml.XMLConfig._qh(Unknown Source)
AG> at com.evermind.xml.XMLConfig._qh(Unknown Source)
AG> at com.evermind._iy.run(Unknown Source)
AG> at java.lang.Thread.run(Thread.java:498)
AG> at com.evermind._ip.run(Unknown Source)









-- 
Best regards,
 javamailto:[EMAIL PROTECTED]






RE: bugs in <@page extends="...."> in Orion implementation?

2001-05-25 Thread Robert Nicholson

It's doing you a favour.Please elaborate on why you want to extend
that class.


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jiuyun Wang
> Sent: Friday, May 25, 2001 9:20 AM
> To: Orion-Interest
> Subject: Re: bugs in <@page extends=""> in Orion implementation?
> 
> 
> It doesnot work, not matter which one (servlet/jspbase) I extends my
> jsp, orion jsp compiler just don't support extends
> 
> -Jiuyun
> --- SCOTT FARQUHAR <[EMAIL PROTECTED]> wrote:
> > It looks like your page should extend servlet and not jsppage.
> > 
> > Just change JSPBase to extend servlet (and make the required
> > changes).
> > 
> > I haven't read the spec, but I imagine that extending
> > OrionHttpJspPage is proprietary, and would not be part of the spec.
> > 
> > Scott
> > 
> > >>> [EMAIL PROTECTED] 05/23/01 05:42am >>>
> > I create a class called JSPBase class which extends OrionHttpJspPage,
> > and I put the <@ page extends="packagename.JSPBase"> in my JSP file.
> > however, orion give the following error:
> > 
> >  Superclass of the JSP page does not implement Servlet, invalid
> > extends attribute.
> > 
> > Does orion implement <@page extends> correctly?
> > 
> > Any clarification?
> > 
> > -Jiuyun
> > 
> > 
> > __
> > Do You Yahoo!?
> > Yahoo! Auctions - buy the things you want at great prices
> > http://auctions.yahoo.com/ 
> > 
> > 
> > 
> 
> 
> =
> Jiuyun Wang   M.Sc. of Computer Sciences
> Sun Certified Programmer for Java 2 Platform
> IBM Certified Solution & Enterprise Developer   
> Phone: 919-696-0419(cel)
> Email: [EMAIL PROTECTED]
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> 




Re: help jsession problem -urgent

2001-05-25 Thread Kesav Kumar

Thanks I got the problem.  You are right the servlet spec says the
JSESSIONID should be after the contextpath.

Thanks.


- Original Message -
From: "Jacky Cheung" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 11:52 PM
Subject: Re: help jsession problem -urgent


> Kesav,
>
> It seems that your are using url rewriting to track sessions. According to
> the Servlet specification, for session tracking using URL rewriting, a
path
> parameter should be added. I think the url should be...
>
> http://localhost/vms/servlet/Logout;JSESSIONID=x?fileName=blah
>
> You can find the information in SRV.7.1.3 in the specification of Servlet
> 2.3 PFD2.
>
> Best regards,
> Jacky
>
> - Original Message -
> From: "Jeff Hubbach" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Friday, May 25, 2001 12:35 PM
> Subject: Re: help jsession problem -urgent
>
>
> > Kesav,
> >
> > Do you mean to have the URL:
> > http://localhost/vms/servlet/Logout?fileName=blah;JSESSIONID=x
> > ??
> >
> > It looks like you have a semicolon where an ampersand should be:
> > http://localhost/vms/servlet/Logout?fileName=blah&JSESSIONID=x
> >
> > The correct method of separating multiple URL parameters is with an
> > ampersand,
> > not a semicolon as you sent.
> >
> > Jeff Hubbach
> >
> > On Thu, 24 May 2001 19:16:14 -0700
> > Kesav Kumar <[EMAIL PROTECTED]> wrote:
> >
> > >I am using a URL
> > >http://localhost/vms/servlet/Logout?fileName=blah;JSESSIONID=x
> > >
> > >In my servlet I am accessing the fileName by
> > >request.getParameter("fileName")
> > >I am getting the following value 1;JSESSIONID=x
> > >
> > >Why doesn't orion strips out the jessionid from the name value paris of
> > the
> > >request.  It seems it is happening in the new version only.
> > >
> > >I am using 1.5.1 version.  I haven't seen this problem in the previous
> > >versions.  Is there some thing I am missing or is it a bug?
> > >
> > >Thanks.
> > >
> > >Kesav Kumar
> > >Software Engineer
> > >Voquette, Inc.
> > >650 356 3740
> > >mailto:[EMAIL PROTECTED]
> > >http://www.voquette.com
> > >Voquette...Delivering Sound Information
> > >
> > >
> >
> >
> > --
> > Jeff Hubbach
> > [EMAIL PROTECTED]
> >
> >
> >
>
>




Re: HELP! 1.4.5 and JMS

2001-05-25 Thread Kesav Kumar

Try to upgrade to 1.5.1 orion if you can't upgrate then possible soultions
are like this.

Copy the latest xerces.jar into \jre\lib\ext
directory so that orion picks the xerces from there.

The other alternate is write a batch file including all jar files in
classpath in correct order and run the orion server by

java com.evermind.server.ApplicationServer




- Original Message -
From: "Jean-Guillaume LALANNE" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 7:35 AM
Subject: RE: HELP! 1.4.5 and JMS


> Hi,
>
> Have you managed to install GLUE with orion ?
> Is it a difficult to handle ?
> I have tried to install SOAP apache on Orion and I got on trouble
> with the xerces versioning...
> So I now I run my J2EE plateform on orion(1.3.8) and my SOAP
> listener on TOMCAT.
> I would be nice if could come back to orion.
> Is glue toolkit a way to do this ?
>
> Thanx in advance for your suggestions.
>
> cheers
> Jean-Guillaume LALANNE
>
>
>
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Joseph B.
> Ottinger
> Envoye : vendredi 25 mai 2001 13:08
> A : Orion-Interest
> Objet : RE: HELP! 1.4.5 and JMS
>
>
> Well, that's useful. Actually, I'm investigating the use of SOAP now (not
> being an anti-MS idiot^Wbigot and all) and it's pretty nice; with a decent
> toolkit like GLUE (http://www.themindelectric.com/) it's easy to use with
> Orion, fast, and cross-platform and cross-language. All pluses, if you
> need that kind of capability.
>
> On Thu, 24 May 2001, elephantwalker wrote:
>
> > Yes...drop SOAP and use XML-RPC. Faster and lighter and NOT a Microsoft
> > solution.
> >
> > www.xml-rpc.org
> >
> > also Brett McGlaughlin's book Java and XML.
> >
> > Regards,
> >
> > the elephantwalker
> >   -Original Message-
> >   From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Su, Yi
> >   Sent: Thursday, May 24, 2001 8:01 PM
> >   To: Orion-Interest
> >   Subject: RE: HELP! 1.4.5 and JMS
> >
> >
> >   Hello,
> >
> >   Does anyone knows that what Java tools, libraries are currently
> supporting
> > XML schema and XLL.
> >
> >   Is there resources for me to look up for using SOAP using Java?
> >
> >   Thanks alot.
> >
> >   Regards,
> >
> >   Yeoman
> >
> > -Original Message-
> > From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 17, 2001 10:16 AM
> > To: Orion-Interest
> > Cc: 'Orion-Interest'
> > Subject: Re: HELP! 1.4.5 and JMS
> >
> >
> > Hi Kesav,
> > Thanks for the tip. I tried that with both 1.4.5 and 1.4.8.  After
> > removing the connection factory line, in 1.4.5, the client hangs on
> > TopicConnection.createSubscriber().  If I give the createTopicConnection
a
> > username and password, then the server throws a NPE and the client hangs
> at
> > createTopicConnection().
> >
> > The same problem persists in 1.4.8.
> >
> > I'm sure I'm doing something really stupid.  However, I have no idea
> how
> > to solve it.  I'm attaching some code in the hope that someone can help
me
> > out of this mess.  I've tried it against 1.4.5 and 1.4.8.  And I am
really
> > desperate!
> >
> > Thanks,
> > Vidur
> >
> > Kesav Kumar wrote:
> >
> >
> >   Just remove the connectionfactory line from your jms.xml.
> >
> >   Kesav Kumar
> >   Software Engineer
> >   Voquette, Inc.
> >   650 356 3740
> >   mailto:[EMAIL PROTECTED]
> >   http://www.voquette.com
> >   Voquette...Delivering Sound Information
> >
> >   -Original Message-
> >   From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> >   Sent: Wednesday, May 16, 2001 11:31 AM
> >   To: Orion-Interest
> >   Subject: HELP! 1.4.5 and JMS
> >
> >   Please help!  I broke something in my code and can't figure it
out.
> > On
> >   the client, I'm consistently getting:
> >   java.lang.NullPointerException
> >at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
> >at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
> >at com.evermind.server.jms.cj.(JAX)
> >at com.evermind.server.jms.b8.start(JAX)
> >at
> >
> >
>
com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java
> > :89)
> >
> >at
> >
> >
>
com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:10
> > 1)
> >
> >at
> >
> >
>
com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java
> > :44)
> >
> >   Auto-started clients can send/receive messages without trouble.
> >
> >   getConnection() calls createTopicConnection() and then start().
> >   If I use, createConnection (usr, pwd), then the system hangs.
> >
> >   In jms.xml, I have:
> >   
> > > location="jms/notificationFactory" port="9127" />
> > location="jms/dwItemNotification">
> >
> >
> >   Any ideas?  I'm on version 1.4.5.  1.4.8 h

RE: HELP! 1.4.5 and JMS

2001-05-25 Thread Joseph B. Ottinger

Is it a strong use? After all, you said XML-RPC was faster and lighter -
okay, granted. Then you pointed out that XML-RPC wasn't a MS solution,
either - with emphasis. SOAP is also an IBM solution, yet you didn't say
"NOT an IBM solution" - you centered on MS. Typically, that's bigotry. If
I'm incorrect in my analysis, well... that's okay, it just seemed to be
the connotation you were offering.

On Fri, 25 May 2001, elephantwalker wrote:

> Joe,
> 
> Using a word like 'bigot' is a little strong, there are several technical
> experts that have evaluated the soap standard and xml-rpc (often, you can
> use xml-rpc with soap), and concluded that soap is a "heavy" standard,
> versus the relatively light implementations of xml-rpc out there. So this is
> a considered opinion.
> 
> In the end, isv's will use whatever gets us to the end of the project in the
> cheapest, most reliable way.
> 
> Regards,
> 
> the elephantwalker
> 
> 
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph B.
> Ottinger
> Sent: Friday, May 25, 2001 4:08 AM
> To: Orion-Interest
> Subject: RE: HELP! 1.4.5 and JMS
> 
> 
> Well, that's useful. Actually, I'm investigating the use of SOAP now (not
> being an anti-MS idiot^Wbigot and all) and it's pretty nice; with a decent
> toolkit like GLUE (http://www.themindelectric.com/) it's easy to use with
> Orion, fast, and cross-platform and cross-language. All pluses, if you
> need that kind of capability.
> 
> On Thu, 24 May 2001, elephantwalker wrote:
> 
> > Yes...drop SOAP and use XML-RPC. Faster and lighter and NOT a Microsoft
> > solution.
> >
> > www.xml-rpc.org
> >
> > also Brett McGlaughlin's book Java and XML.
> >
> > Regards,
> >
> > the elephantwalker
> >   -Original Message-
> >   From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Su, Yi
> >   Sent: Thursday, May 24, 2001 8:01 PM
> >   To: Orion-Interest
> >   Subject: RE: HELP! 1.4.5 and JMS
> >
> >
> >   Hello,
> >
> >   Does anyone knows that what Java tools, libraries are currently
> supporting
> > XML schema and XLL.
> >
> >   Is there resources for me to look up for using SOAP using Java?
> >
> >   Thanks alot.
> >
> >   Regards,
> >
> >   Yeoman
> >
> > -Original Message-
> > From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 17, 2001 10:16 AM
> > To: Orion-Interest
> > Cc: 'Orion-Interest'
> > Subject: Re: HELP! 1.4.5 and JMS
> >
> >
> > Hi Kesav,
> > Thanks for the tip. I tried that with both 1.4.5 and 1.4.8.  After
> > removing the connection factory line, in 1.4.5, the client hangs on
> > TopicConnection.createSubscriber().  If I give the createTopicConnection a
> > username and password, then the server throws a NPE and the client hangs
> at
> > createTopicConnection().
> >
> > The same problem persists in 1.4.8.
> >
> > I'm sure I'm doing something really stupid.  However, I have no idea
> how
> > to solve it.  I'm attaching some code in the hope that someone can help me
> > out of this mess.  I've tried it against 1.4.5 and 1.4.8.  And I am really
> > desperate!
> >
> > Thanks,
> > Vidur
> >
> > Kesav Kumar wrote:
> >
> >
> >   Just remove the connectionfactory line from your jms.xml.
> >
> >   Kesav Kumar
> >   Software Engineer
> >   Voquette, Inc.
> >   650 356 3740
> >   mailto:[EMAIL PROTECTED]
> >   http://www.voquette.com
> >   Voquette...Delivering Sound Information
> >
> >   -Original Message-
> >   From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> >   Sent: Wednesday, May 16, 2001 11:31 AM
> >   To: Orion-Interest
> >   Subject: HELP! 1.4.5 and JMS
> >
> >   Please help!  I broke something in my code and can't figure it out.
> > On
> >   the client, I'm consistently getting:
> >   java.lang.NullPointerException
> >at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
> >at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
> >at com.evermind.server.jms.cj.(JAX)
> >at com.evermind.server.jms.b8.start(JAX)
> >at
> >
> >
> com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java
> > :89)
> >
> >at
> >
> >
> com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:10
> > 1)
> >
> >at
> >
> >
> com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java
> > :44)
> >
> >   Auto-started clients can send/receive messages without trouble.
> >
> >   getConnection() calls createTopicConnection() and then start().
> >   If I use, createConnection (usr, pwd), then the system hangs.
> >
> >   In jms.xml, I have:
> >   
> > > location="jms/notificationFactory" port="9127" />
> > location="jms/dwItemNotification">
> >
> >
> >   Any ideas?  I'm on version 1.4.5.  1.4.8 has a regression on bug 188
> >   that is 

RE: HELP! 1.4.5 and JMS

2001-05-25 Thread Joseph B. Ottinger

Installing GLUE is simple: in ./electric/webapps/glue there's a web
application. Install that in Orion, and you're fairly done; see the
installation docs (the usage document, in particular) for how to do it.

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant





RE: Serious problem with Orion transaction processing: multiple c onnecti

2001-05-25 Thread Andre Vanha

Interesting problem.  It could be that there is a bug in orion, but since
this problem is so likely to happen anytime you use multiple connections I
would suspect the problem was taken care of.

A couple of hints:

>From which context are you executing your JDBC calls?  Servlet or EJB?  How
are you retrieving the connection?  Dirver Manager or JNDI?  You should be
using JNDI, and if you are,  you should be using the EJBPooled location, to
ensure transactional integrity with CMP transactions.  Also if you are
executing JDBC calls from EJB, you should be defining and using a resource
reference in your assembly descriptor.

Andre



-Original Message-
From: Eduardo Estefano [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 9:49 AM
To: Orion-Interest
Cc: Orion-Interest (E-mail)
Subject: SV: Serious problem with Orion transaction processing: multiple
c onnecti


Using 1.4.5 with Oracle 8i and jdk1.3.1

The problem we are finding is that when orion starts a transaction, it does
not necessarily executes all DB commands within the same database
transaction.

The end result is a deadlock in the database.

I'm having a problem executing a delete command that does a delete on child
tables using JDBC and finally, a delete in the parent table using
entityBean.remove().

I tested the code two ways. 

The first, with no constraints on the database and the delete works fine.

The second, with foreign key constraings, causes a deadlock, where the
parent delete is waiting on the child deletes to commit. But this commit
will not happen until the parent is deleted.

I was able to duplicate the problem manually, opening two connections to the
database and issuing SQL statements. Off course, if I was doing this
manually, I would put both statements in the same transaction.

Here are my questions now:
-   Is it not allowed in EJB to mix JDBC and CMP Entity calls in the
same transaction?





Orion JSP Container bugs in <@page extends="...."> in Orion implementation?

2001-05-25 Thread Jiuyun Wang

In JSP 1.1 spec it says,

If the JSP page author uses extends, the generated class is identical
to the one shown in
CODE EXAMPLE 3-2, except that the class name is the one specified in
the extends attribute.
The contract on the JSP page implementation class does not change. The
JSP container
should check (usually through reflection) that the provided superclass:
· Implements HttpJspPage if the protocol is HTTP, or JspPage otherwise.
· All of the methods in the Servlet interface are declared final.
Additionally, it is the responsibility of the JSP page author that the
provided superclass
satisfies:
· The service() method of the Servlet API invokes the _jspService()
method.
· The init(ServletConfig) method stores the configuration, makes it
available as
getServletConfig, then invokes jspInit.
· The destroy method invokes jspDestroy.
A JSP container may give a fatal translation error if it detects that
the provided superclass
does not satisfy these requirements, but most JSP containers will not
check them.

It seems orion JSP container does not implement in this way, any
insider or expert opinion?

-Jiuyun
--- Jiuyun Wang <[EMAIL PROTECTED]> wrote:
> I create a class called JSPBase class which extends OrionHttpJspPage,
> and I put the <@ page extends="packagename.JSPBase"> in my JSP file.
> however, orion give the following error:
>
>  Superclass of the JSP page does not implement Servlet, invalid
> extends attribute.
>
> Does orion implement <@page extends> correctly?
>
> Any clarification?
>
> -Jiuyun
>
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>


Jiuyun Wang   M.Sc. of Computer Sciences
Sun Certified Programmer for Java 2 Platform
IBM Certified Solution & Enterprise Developer
Phone: 919-696-0419(cel)
Email: [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




Re: How do you make JDBC and EJB in same Transaction?

2001-05-25 Thread Eduardo Estefano

Upgrading to 1.5.1 fixed the problem. We no longer have the deadlock in the
database.
I would still like to know if this was a bug in Orion or if it was a
limitation of ejb 1.1

-
Eduardo Estefano
Integrated Information Systems
480.317.8549





Re: bugs in <@page extends="...."> in Orion implementation?

2001-05-25 Thread Jiuyun Wang

It doesnot work, not matter which one (servlet/jspbase) I extends my
jsp, orion jsp compiler just don't support extends

-Jiuyun
--- SCOTT FARQUHAR <[EMAIL PROTECTED]> wrote:
> It looks like your page should extend servlet and not jsppage.
> 
> Just change JSPBase to extend servlet (and make the required
> changes).
> 
> I haven't read the spec, but I imagine that extending
> OrionHttpJspPage is proprietary, and would not be part of the spec.
> 
> Scott
> 
> >>> [EMAIL PROTECTED] 05/23/01 05:42am >>>
> I create a class called JSPBase class which extends OrionHttpJspPage,
> and I put the <@ page extends="packagename.JSPBase"> in my JSP file.
> however, orion give the following error:
> 
>  Superclass of the JSP page does not implement Servlet, invalid
> extends attribute.
> 
> Does orion implement <@page extends> correctly?
> 
> Any clarification?
> 
> -Jiuyun
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/ 
> 
> 
> 


=
Jiuyun Wang   M.Sc. of Computer Sciences
Sun Certified Programmer for Java 2 Platform
IBM Certified Solution & Enterprise Developer   
Phone: 919-696-0419(cel)
Email: [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




RE: HELP! 1.4.5 and JMS

2001-05-25 Thread elephantwalker

Joe,

Using a word like 'bigot' is a little strong, there are several technical
experts that have evaluated the soap standard and xml-rpc (often, you can
use xml-rpc with soap), and concluded that soap is a "heavy" standard,
versus the relatively light implementations of xml-rpc out there. So this is
a considered opinion.

In the end, isv's will use whatever gets us to the end of the project in the
cheapest, most reliable way.

Regards,

the elephantwalker





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Joseph B.
Ottinger
Sent: Friday, May 25, 2001 4:08 AM
To: Orion-Interest
Subject: RE: HELP! 1.4.5 and JMS


Well, that's useful. Actually, I'm investigating the use of SOAP now (not
being an anti-MS idiot^Wbigot and all) and it's pretty nice; with a decent
toolkit like GLUE (http://www.themindelectric.com/) it's easy to use with
Orion, fast, and cross-platform and cross-language. All pluses, if you
need that kind of capability.

On Thu, 24 May 2001, elephantwalker wrote:

> Yes...drop SOAP and use XML-RPC. Faster and lighter and NOT a Microsoft
> solution.
>
> www.xml-rpc.org
>
> also Brett McGlaughlin's book Java and XML.
>
> Regards,
>
> the elephantwalker
>   -Original Message-
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Su, Yi
>   Sent: Thursday, May 24, 2001 8:01 PM
>   To: Orion-Interest
>   Subject: RE: HELP! 1.4.5 and JMS
>
>
>   Hello,
>
>   Does anyone knows that what Java tools, libraries are currently
supporting
> XML schema and XLL.
>
>   Is there resources for me to look up for using SOAP using Java?
>
>   Thanks alot.
>
>   Regards,
>
>   Yeoman
>
> -Original Message-
> From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 10:16 AM
> To: Orion-Interest
> Cc: 'Orion-Interest'
> Subject: Re: HELP! 1.4.5 and JMS
>
>
> Hi Kesav,
> Thanks for the tip. I tried that with both 1.4.5 and 1.4.8.  After
> removing the connection factory line, in 1.4.5, the client hangs on
> TopicConnection.createSubscriber().  If I give the createTopicConnection a
> username and password, then the server throws a NPE and the client hangs
at
> createTopicConnection().
>
> The same problem persists in 1.4.8.
>
> I'm sure I'm doing something really stupid.  However, I have no idea
how
> to solve it.  I'm attaching some code in the hope that someone can help me
> out of this mess.  I've tried it against 1.4.5 and 1.4.8.  And I am really
> desperate!
>
> Thanks,
> Vidur
>
> Kesav Kumar wrote:
>
>
>   Just remove the connectionfactory line from your jms.xml.
>
>   Kesav Kumar
>   Software Engineer
>   Voquette, Inc.
>   650 356 3740
>   mailto:[EMAIL PROTECTED]
>   http://www.voquette.com
>   Voquette...Delivering Sound Information
>
>   -Original Message-
>   From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
>   Sent: Wednesday, May 16, 2001 11:31 AM
>   To: Orion-Interest
>   Subject: HELP! 1.4.5 and JMS
>
>   Please help!  I broke something in my code and can't figure it out.
> On
>   the client, I'm consistently getting:
>   java.lang.NullPointerException
>at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
>at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
>at com.evermind.server.jms.cj.(JAX)
>at com.evermind.server.jms.b8.start(JAX)
>at
>
>
com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java
> :89)
>
>at
>
>
com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:10
> 1)
>
>at
>
>
com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java
> :44)
>
>   Auto-started clients can send/receive messages without trouble.
>
>   getConnection() calls createTopicConnection() and then start().
>   If I use, createConnection (usr, pwd), then the system hangs.
>
>   In jms.xml, I have:
>   
> location="jms/notificationFactory" port="9127" />
>
>
>
>   Any ideas?  I'm on version 1.4.5.  1.4.8 has a regression on bug 188
>   that is a show stopper for us.  And in fact, this code worked uptil
>   yesterday when I made changes to try and get 1.4.8 to work.
>
>   TIA,
>   Vidur
>
>   PS.  If possible, please also cc me directly.  I'm really desperate.
>   --
>   Vidur Dhanda
>   Active Solutions
>   tel: 617/566-1252
>   cell: 617/821-7115
>   [EMAIL PROTECTED]
>   www.active-solutions-inc.com
>
>
> --
> Vidur Dhanda
> Active Solutions
> tel: 617/566-1252
> cell: 617/821-7115
> [EMAIL PROTECTED]
> www.active-solutions-inc.com
>
>
>

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant






SV: Serious problem with Orion transaction processing: multiple c onnecti

2001-05-25 Thread Eduardo Estefano

Using 1.4.5 with Oracle 8i and jdk1.3.1

The problem we are finding is that when orion starts a transaction, it does
not necessarily executes all DB commands within the same database
transaction.

The end result is a deadlock in the database.

I'm having a problem executing a delete command that does a delete on child
tables using JDBC and finally, a delete in the parent table using
entityBean.remove().

I tested the code two ways. 

The first, with no constraints on the database and the delete works fine.

The second, with foreign key constraings, causes a deadlock, where the
parent delete is waiting on the child deletes to commit. But this commit
will not happen until the parent is deleted.

I was able to duplicate the problem manually, opening two connections to the
database and issuing SQL statements. Off course, if I was doing this
manually, I would put both statements in the same transaction.

Here are my questions now:
-   Is it not allowed in EJB to mix JDBC and CMP Entity calls in the
same transaction?





UN-SUBSCRIBE

2001-05-25 Thread Mike Beyersdorf



UN-SUBSCRIBE


RE: HELP! 1.4.5 and JMS

2001-05-25 Thread Jean-Guillaume LALANNE

Hi,

Have you managed to install GLUE with orion ?
Is it a difficult to handle ?
I have tried to install SOAP apache on Orion and I got on trouble
with the xerces versioning...
So I now I run my J2EE plateform on orion(1.3.8) and my SOAP
listener on TOMCAT.
I would be nice if could come back to orion.
Is glue toolkit a way to do this ?

Thanx in advance for your suggestions.

cheers
Jean-Guillaume LALANNE



-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Joseph B.
Ottinger
Envoye : vendredi 25 mai 2001 13:08
A : Orion-Interest
Objet : RE: HELP! 1.4.5 and JMS


Well, that's useful. Actually, I'm investigating the use of SOAP now (not
being an anti-MS idiot^Wbigot and all) and it's pretty nice; with a decent
toolkit like GLUE (http://www.themindelectric.com/) it's easy to use with
Orion, fast, and cross-platform and cross-language. All pluses, if you
need that kind of capability.

On Thu, 24 May 2001, elephantwalker wrote:

> Yes...drop SOAP and use XML-RPC. Faster and lighter and NOT a Microsoft
> solution.
>
> www.xml-rpc.org
>
> also Brett McGlaughlin's book Java and XML.
>
> Regards,
>
> the elephantwalker
>   -Original Message-
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Su, Yi
>   Sent: Thursday, May 24, 2001 8:01 PM
>   To: Orion-Interest
>   Subject: RE: HELP! 1.4.5 and JMS
>
>
>   Hello,
>
>   Does anyone knows that what Java tools, libraries are currently
supporting
> XML schema and XLL.
>
>   Is there resources for me to look up for using SOAP using Java?
>
>   Thanks alot.
>
>   Regards,
>
>   Yeoman
>
> -Original Message-
> From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 10:16 AM
> To: Orion-Interest
> Cc: 'Orion-Interest'
> Subject: Re: HELP! 1.4.5 and JMS
>
>
> Hi Kesav,
> Thanks for the tip. I tried that with both 1.4.5 and 1.4.8.  After
> removing the connection factory line, in 1.4.5, the client hangs on
> TopicConnection.createSubscriber().  If I give the createTopicConnection a
> username and password, then the server throws a NPE and the client hangs
at
> createTopicConnection().
>
> The same problem persists in 1.4.8.
>
> I'm sure I'm doing something really stupid.  However, I have no idea
how
> to solve it.  I'm attaching some code in the hope that someone can help me
> out of this mess.  I've tried it against 1.4.5 and 1.4.8.  And I am really
> desperate!
>
> Thanks,
> Vidur
>
> Kesav Kumar wrote:
>
>
>   Just remove the connectionfactory line from your jms.xml.
>
>   Kesav Kumar
>   Software Engineer
>   Voquette, Inc.
>   650 356 3740
>   mailto:[EMAIL PROTECTED]
>   http://www.voquette.com
>   Voquette...Delivering Sound Information
>
>   -Original Message-
>   From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
>   Sent: Wednesday, May 16, 2001 11:31 AM
>   To: Orion-Interest
>   Subject: HELP! 1.4.5 and JMS
>
>   Please help!  I broke something in my code and can't figure it out.
> On
>   the client, I'm consistently getting:
>   java.lang.NullPointerException
>at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
>at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
>at com.evermind.server.jms.cj.(JAX)
>at com.evermind.server.jms.b8.start(JAX)
>at
>
>
com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java
> :89)
>
>at
>
>
com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:10
> 1)
>
>at
>
>
com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java
> :44)
>
>   Auto-started clients can send/receive messages without trouble.
>
>   getConnection() calls createTopicConnection() and then start().
>   If I use, createConnection (usr, pwd), then the system hangs.
>
>   In jms.xml, I have:
>   
> location="jms/notificationFactory" port="9127" />
>
>
>
>   Any ideas?  I'm on version 1.4.5.  1.4.8 has a regression on bug 188
>   that is a show stopper for us.  And in fact, this code worked uptil
>   yesterday when I made changes to try and get 1.4.8 to work.
>
>   TIA,
>   Vidur
>
>   PS.  If possible, please also cc me directly.  I'm really desperate.
>   --
>   Vidur Dhanda
>   Active Solutions
>   tel: 617/566-1252
>   cell: 617/821-7115
>   [EMAIL PROTECTED]
>   www.active-solutions-inc.com
>
>
> --
> Vidur Dhanda
> Active Solutions
> tel: 617/566-1252
> cell: 617/821-7115
> [EMAIL PROTECTED]
> www.active-solutions-inc.com
>
>
>

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant






RE: XML Schema

2001-05-25 Thread elephantwalker



Su,
 
AFAIK 
xerces has support for xml schema (at least it was one of the first). 

 
Regards,
 
the 
elephantwalker

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Su, 
  YiSent: Thursday, May 24, 2001 10:52 PMTo: 
  Orion-InterestSubject: XML Schema
  
  Hi, the elephantwalker,
   
  Thank you for your 
  suggestion.
  Could you also enlight me what Java 
  packages available supporting XML Schema and 
  XLL?
   
  Regards,
  Su 
  Yi
  
-Original Message-From: elephantwalker 
[mailto:[EMAIL PROTECTED]]Sent: Friday, May 25, 2001 12:54 
PMTo: Orion-InterestSubject: RE: HELP! 1.4.5 and 
JMS
Yes...drop SOAP and use XML-RPC. Faster and lighter and NOT a 
Microsoft solution.
 
www.xml-rpc.org
 
also Brett McGlaughlin's book Java and XML.
 
Regards,
 
the elephantwalker

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Su, 
  YiSent: Thursday, May 24, 2001 8:01 PMTo: 
  Orion-InterestSubject: RE: HELP! 1.4.5 and 
  JMS
  
  Hello,
  Does anyone knows that what Java tools, libraries are currently 
  supporting XML schema and XLL.
  Is there resources for me to look up for using SOAP using Java?
  Thanks alot.
  Regards,
  Yeoman
  
-Original Message-From: Vidur Dhanda 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, May 
17, 2001 10:16 AMTo: Orion-InterestCc: 
'Orion-Interest'Subject: Re: HELP! 1.4.5 and 
JMSHi Kesav, 
Thanks for the tip. I tried that with both 1.4.5 and 1.4.8.  
After removing the connection factory line, in 1.4.5, the client hangs 
on TopicConnection.createSubscriber().  If I give the 
createTopicConnection a username and password, then the server throws a 
NPE and the client hangs at createTopicConnection(). 
The same problem persists in 1.4.8. 
I'm sure I'm doing something really stupid.  However, I have no 
idea how to solve it.  I'm attaching some code in the hope that 
someone can help me out of this mess.  I've tried it against 1.4.5 
and 1.4.8.  And I am really desperate! 
Thanks, Vidur 
Kesav Kumar wrote: 
  
  Just remove the connectionfactory line from your 
  jms.xml. 
  Kesav Kumar Software 
  Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] 
  http://www.voquette.com 
  Voquette...Delivering Sound Information 
  -Original Message- From: Vidur Dhanda [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, May 16, 2001 11:31 AM 
  To: Orion-Interest Subject: 
  HELP! 1.4.5 and JMS 
  Please help!  I broke something in my code and 
  can't figure it out.  On the client, I'm 
  consistently getting: java.lang.NullPointerException  at 
  java.io.DataOutputStream.writeUTF(DataOutputStream.java:329) 
   at 
  java.io.DataOutputStream.writeUTF(DataOutputStream.java:306) 
   at 
  com.evermind.server.jms.cj.(JAX)  at com.evermind.server.jms.b8.start(JAX) 
   at com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java:89) 

   at com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:101) 

   at com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java:44) 

  Auto-started clients can send/receive messages 
  without trouble. 
  getConnection() calls createTopicConnection() and 
  then start(). If I use, createConnection 
  (usr, pwd), then the system hangs. 
  In jms.xml, I have:  
      
  location="jms/notificationFactory" port="9127" />     
  Any ideas?  I'm on version 1.4.5.  1.4.8 
  has a regression on bug 188 that is a show 
  stopper for us.  And in fact, this code worked uptil 
  yesterday when I made changes to try and get 1.4.8 
  to work. 
  TIA, Vidur 
  PS.  If possible, please also cc me 
  directly.  I'm really desperate. -- Vidur Dhanda Active Solutions tel: 
  617/566-1252 cell: 617/821-7115 
  [EMAIL PROTECTED] www.active-solutions-inc.com  
-- Vidur Dhanda Active Solutions tel: 617/566-1252 
cell: 617/821-7115 [EMAIL PROTECTED] 
www.active-solutions-inc.com   
  


Re: help jsession problem -urgent

2001-05-25 Thread Francisco J. Soques
Title: help jsession problem -urgent



Try passing your parameters this way:
 
http://localhost/vms/servlet/Logout?fileName=blah&JSESSIONID=x
 
The key here is the "&" that separates the 
two parameters.
 
HTH
 
Javier SoquesMegasoft Computación, 
C.A.CaracasVenezuelaTlf.:   (58212)6933211 ext. 
217Fax.: (58212)6932811Cel.:  (016)6300872[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Kesav Kumar 
  
  To: Orion-Interest 
  Sent: Thursday, May 24, 2001 10:16 
  PM
  Subject: help jsession problem 
  -urgent
  
  I am using a URL http://localhost/vms/servlet/Logout?fileName=blah;JSESSIONID=x 
  
  In my servlet I am accessing the fileName by 
  request.getParameter("fileName") I am getting the 
  following value 1;JSESSIONID=x 
  Why doesn't orion strips out the jessionid from the name value 
  paris of the request.  It seems it is happening in the new version 
  only.
  I am using 1.5.1 version.  I haven't seen this problem in 
  the previous versions.  Is there some thing I am missing or is it a 
  bug?
  Thanks. 
  Kesav Kumar Software Engineer 
  Voquette, Inc. 650 356 3740 
  mailto:[EMAIL PROTECTED] 
  http://www.voquette.com Voquette...Delivering Sound Information 



RE: HELP! 1.4.5 and JMS

2001-05-25 Thread Joseph B. Ottinger

Well, that's useful. Actually, I'm investigating the use of SOAP now (not
being an anti-MS idiot^Wbigot and all) and it's pretty nice; with a decent
toolkit like GLUE (http://www.themindelectric.com/) it's easy to use with
Orion, fast, and cross-platform and cross-language. All pluses, if you
need that kind of capability.

On Thu, 24 May 2001, elephantwalker wrote:

> Yes...drop SOAP and use XML-RPC. Faster and lighter and NOT a Microsoft
> solution.
> 
> www.xml-rpc.org
> 
> also Brett McGlaughlin's book Java and XML.
> 
> Regards,
> 
> the elephantwalker
>   -Original Message-
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Su, Yi
>   Sent: Thursday, May 24, 2001 8:01 PM
>   To: Orion-Interest
>   Subject: RE: HELP! 1.4.5 and JMS
> 
> 
>   Hello,
> 
>   Does anyone knows that what Java tools, libraries are currently supporting
> XML schema and XLL.
> 
>   Is there resources for me to look up for using SOAP using Java?
> 
>   Thanks alot.
> 
>   Regards,
> 
>   Yeoman
> 
> -Original Message-
> From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 10:16 AM
> To: Orion-Interest
> Cc: 'Orion-Interest'
> Subject: Re: HELP! 1.4.5 and JMS
> 
> 
> Hi Kesav,
> Thanks for the tip. I tried that with both 1.4.5 and 1.4.8.  After
> removing the connection factory line, in 1.4.5, the client hangs on
> TopicConnection.createSubscriber().  If I give the createTopicConnection a
> username and password, then the server throws a NPE and the client hangs at
> createTopicConnection().
> 
> The same problem persists in 1.4.8.
> 
> I'm sure I'm doing something really stupid.  However, I have no idea how
> to solve it.  I'm attaching some code in the hope that someone can help me
> out of this mess.  I've tried it against 1.4.5 and 1.4.8.  And I am really
> desperate!
> 
> Thanks,
> Vidur
> 
> Kesav Kumar wrote:
> 
> 
>   Just remove the connectionfactory line from your jms.xml.
> 
>   Kesav Kumar
>   Software Engineer
>   Voquette, Inc.
>   650 356 3740
>   mailto:[EMAIL PROTECTED]
>   http://www.voquette.com
>   Voquette...Delivering Sound Information
> 
>   -Original Message-
>   From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
>   Sent: Wednesday, May 16, 2001 11:31 AM
>   To: Orion-Interest
>   Subject: HELP! 1.4.5 and JMS
> 
>   Please help!  I broke something in my code and can't figure it out.
> On
>   the client, I'm consistently getting:
>   java.lang.NullPointerException
>at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
>at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
>at com.evermind.server.jms.cj.(JAX)
>at com.evermind.server.jms.b8.start(JAX)
>at
> 
> com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java
> :89)
> 
>at
> 
> com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:10
> 1)
> 
>at
> 
> com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java
> :44)
> 
>   Auto-started clients can send/receive messages without trouble.
> 
>   getConnection() calls createTopicConnection() and then start().
>   If I use, createConnection (usr, pwd), then the system hangs.
> 
>   In jms.xml, I have:
>   
> location="jms/notificationFactory" port="9127" />
>
>
> 
>   Any ideas?  I'm on version 1.4.5.  1.4.8 has a regression on bug 188
>   that is a show stopper for us.  And in fact, this code worked uptil
>   yesterday when I made changes to try and get 1.4.8 to work.
> 
>   TIA,
>   Vidur
> 
>   PS.  If possible, please also cc me directly.  I'm really desperate.
>   --
>   Vidur Dhanda
>   Active Solutions
>   tel: 617/566-1252
>   cell: 617/821-7115
>   [EMAIL PROTECTED]
>   www.active-solutions-inc.com
> 
> 
> --
> Vidur Dhanda
> Active Solutions
> tel: 617/566-1252
> cell: 617/821-7115
> [EMAIL PROTECTED]
> www.active-solutions-inc.com
> 
> 
> 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant





JSP pre-compilation

2001-05-25 Thread Su, Yi



Hello,
 
Does 
anyone knows what tools available for precompile JSP files?
 
Thanks 
a lot.
 
Regards,
Yeoman

  -Original Message-From: Scott Hernandez 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, May 25, 2001 1:42 
  PMTo: Orion-InterestSubject: Re: HELP! 1.4.5 and 
  JMS
  Checkout http://www.soapware.org/directory/4/implementations. 
  The url pretty much describes what you will find.
   
  As for XML Schema and XLL. W3C's site actually 
  lists some useful links.
  http://www.w3.org/XML/Schema
  http://www.w3.org/XML/Linking
   
  Here are some other XLL/XSD links.
  http://www.oasis-open.org/cover/xll.html#software
  http://www.w3.org/XML/2000/09/LinkingImplementations.html
  http://sourceforge.net/projects/xmlconf/
   
   
  I hope that helps,
  skot
   
  - Original Message - 
  
From: 
Su, Yi 

To: Orion-Interest 
Sent: Thursday, May 24, 2001 8:01 
PM
Subject: RE: HELP! 1.4.5 and JMS


Hello,
Does anyone knows that what Java tools, libraries are currently 
supporting XML schema and XLL.
Is there resources for me to look up for using SOAP using Java?
 


Re: Cocoon Error:Publishing Engine could not beinitialized:org.xml.sax.SAXNotRecognizedException

2001-05-25 Thread James Fairbairn

I get the same error using IBM JDK1.3 for Win2k. Anyone know how to fix it?

James

- Original Message -
From: "Ganasen Gounden" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 8:28 AM
Subject: Cocoon Error:Publishing Engine could not
beinitialized:org.xml.sax.SAXNotRecognizedException


> Hello
>
> I also have received an error when installing Cocoon on Orion as per the
instructions from OrionSupport.com. Can anyone help?
>
> OS: Winnt, JDK: Sun 1.3.1, AppServer: Orion 1.4.5, Cocoon 1.8.2, Browser
ie 5.5
>
> Error Message:
>
> Publishing Engine could not be initialized:
> java.lang.RuntimeException:
> Error while initializing XSP engine:
> org.xml.sax.SAXNotRecognizedException:
> http://apache.org/xml/features/validation/schema
> at org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1515)
> at org.apache.xerces.parsers.DOMParser.setFeature(DOMParser.java:659)...
> etc
>
> Any help is appreciated.
>
> Thanks
>
> Gan Gounden
> City of Cape Town
> Ph (021) 400-2174
> Fax (021) 425-1096
> Cell 083-63-59-268
> e-mail: [EMAIL PROTECTED]
>
>
>
>
> **
> Any unauthorized use and interception of this e-mail is illegal.
> If this e-mail is not intended for you, you may not copy,
> distribute or disclose the contents to anyone.  This e-mail
> does not give rise to any binding legal obligations upon the
> City of Cape Town unless the City of Cape Town subsequently
> confirms the content in writing non-electronically.  This e-mail
> may be confidential, legally privileged or otherwise protected
> by law.  Unauthorised disclosure or copying of any or all of it
> may be unlawful. If you receive this e-mail in error please notify
> the sender and delete the message
>
> **
>
>





Transactions and Exceptions - Bug or Feature?

2001-05-25 Thread Jens Stutte

Hi all,

i have a question concerning transactions and exceptions (and, of course,
orion). Consider having a client C, an entity bean E1 and another one E2.
All functions of the beans have the transaction attribute "Required". Now C
calls a function on E1 which calls another function on E2 which throws an
exception:

C
E1.foo()



{
try
{
E2.foo()


{
throw new SomeException();
}


}
catch (Throwable e)
{
// do something
}
}




Now the "hundred-points-question": Which will be the resulting control path?


Answer for orion:
The  catches the exception (must have everything under
control), marks the transaction for rollback (that's ok) and rethrows the
exception directly to the client C - without giving the catch in
 any chance to be at least notified that something
went wrong (and that's at least a bit strange).

What would be the answer according to the spec (if any)? For my
understanding, it would be more logical (and predictable) to return to
E1.foo instead, since from the E2 point of view it is the client, who called
it (consider being E2 in a different server within a cluster). OK, the
transaction is marked for rollback and so everything we do will be for the
trashcan, but at least we could generate some better error message for the
client C according to the situation within E1 or other stuff.

Any comments?

Best regards,

Jens Stutte

PS: I did not try this for session beans yet, but i assume that the
behaviour will be the same - if not, one of them must be a bug...


[EMAIL PROTECTED], http://www.netmedia.de

netmedia GmbH
Neugrabenweg 5-7
66123 Saarbruecken
Germany

fon: +49 (0) 681 - 3 79 88 - 0
fax: +49 (0) 681 - 3 79 88 - 99






log4j and ejb

2001-05-25 Thread Harish Muleva


> hi 
> i am using log4j for stateless bean , i am able to write log from client in
> a seprate file but unable to from  BeanClass . let me suggest how i can use
> for Bean class. 
> reply me asap
> thax
> H a r i s hM u l e v a
> MindTree Consulting Pvt. Ltd,
> #42, Block A, 27th Cross,
> Banashankari II Stage,
> Bangalore - 560070
> Ph:91-80-6545263/4/5/6 Ext:1554
> 
> 
> 




RE: JSP can't use local classes - What am I overlooking?

2001-05-25 Thread Marcel Schutte

> >I believe that you should have your package (jar) in the orion/lib
> >directory,
> >from your message it seems that you have it in WEB-INF/classes. That
> >directory is usually for servlets.
> >Eric.
>
> Just to point out that per Official Sun Servlets 2.2 / Jsp 1.1
> Specifications, all jsp and servlets inside a context wiull use the
> WEB-INF/classes directory and all the jar (not zip) files inside the
> WEB-INF/lib directory in their classpath.
>
>  Best Regards,
>  Kazuma
>

That's right and I might add that the orion/lib directory is certainly not
meant for application specific jars. You use it for third party jdbc drivers
like hypersonic and other supporting classes that are used by orion
directly.
J2EE specifies plenty of places to put your application specific jars, just
like Kazuma points out.

This means that Joe Fair has some other problem, could you perhaps post some
extra info?

Marcel





RE: StackOverflowError

2001-05-25 Thread Adam Cassar


file a bug


On 25 May 2001 00:19:55 -0600, Tim McCune wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I went back and retraced my steps to try to figure this out.  I have
> a jar inside my ear file that contains an application-client.xml, so
> I wondered if that might be causing some kind of infinite loop in
> Orion.  Copying this jar into Orion's lib directory fixed the
> problem.  Don't quite know why, but then again, this whole experience
> with Orion is turning into one big exercise in trial and error. :( 
> So now I'm on to the next problem, but I'll start a new thread...
> 
> > -Original Message-
> > From: Tim McCune [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 24, 2001 9:08 PM
> > To: Orion-Interest
> > Subject: RE: StackOverflowError
> > 
> > 
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > I'm not getting any other error messages from either Orion or my
> > client JVM, although the CPU is chugging like crazy for a bit
> > before the StackOverflowError.  My ejbCreate method is one line
> > long,
> > basically
> > public void ejbCreate(String s) {
> > this.s = s;
> > }
> > 
> > Nothing fancy, and no JCE involved.
> > 
> > > -Original Message-
> > > From: Adam Cassar [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, May 24, 2001 4:23 PM
> > > To: Orion-Interest
> > > Subject: Re: StackOverflowError
> > > 
> > > 
> > > 
> > > Hi Tim,
> > > 
> > > I had this problem a while back and I ended up tracing it back to
> > > the java crypto extensions. Are you getting a whole bunch of
> > > errors from your VM? What is your session bean doing?
> > > 
> > > 
> > > On 24 May 2001 01:18:12 -0600, Tim McCune wrote:
> > > > -BEGIN PGP SIGNED MESSAGE-
> > > > Hash: SHA1
> > > > 
> > > > I finally got Orion to deploy my app tonight, but my client
> > > > throws a StackOverflowError the first time I try to create a
> > > > session bean. 
> > > >  
> > > > Exception in thread "main" java.lang.StackOverflowError
> > > > at com.evermind.server.rmi.ba.invokeMethod(JAX)
> > > > at com.evermind.server.rmi.a1.invoke(JAX)
> > > > at com.evermind.server.rmi.a2.invoke(JAX)
> > > > at __Proxy1.create(Unknown Source)
> > > >  
> > > > This happens the first time I try it after starting Orion. 
> > > > Subsequent runs give a NoClassDefFoundError instead until I
> > > > restart Orion:
> > > >  
> > > > Exception in thread "main" java.lang.NoClassDefFoundError
> > > > at com.evermind.server.rmi.ba.invokeMethod(JAX)
> > > > at com.evermind.server.rmi.a1.invoke(JAX)
> > > > at com.evermind.server.rmi.a2.invoke(JAX)
> > > > at __Proxy1.create(Unknown Source)
> > > >  
> > > > Any suggestions would be appreciated.  Thanks.
> > > > 
> > > > -BEGIN PGP SIGNATURE-
> > > > Version: PGPfreeware 6.5.3 for non-commercial use 
> > > 
> > > > 
> > > > iQA/AwUBOwy1YtUPOr8a7vy5EQLulwCgsMBtTm68RAFb7VyGekR/7IQUeLQAn2cS
> > > > cwL0zbBiWzaXhujRrP6hRrlQ
> > > > =WlHP
> > > > -END PGP SIGNATURE-
> > > 
> > > -- 
> > > 
> > > Adam Cassar
> > > Technical Development Manager
> > > ___  
> > > NetRegistry http://www.netregistry.au.com
> > > Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
> > > PO Box 270 Broadway NSW 2007 Australia
> > > 
> > > 
> > 
> > -BEGIN PGP SIGNATURE-
> > Version: PGPfreeware 6.5.3 for non-commercial use
> >   
> > 
> > iQA/AwUBOw3MMdUPOr8a7vy5EQL80QCeKnwmSR4hrjLD8XyVdMwN+m6b3m4AoJOr
> > WRxdqdco+4lDPHabv7v6oKzI
> > =H23a
> > -END PGP SIGNATURE-
> > 
> 
> -BEGIN PGP SIGNATURE-
> Version: PGPfreeware 6.5.3 for non-commercial use 
> 
> iQA/AwUBOw35N9UPOr8a7vy5EQJVFwCfac71voIuUaQxyOMGEj22sU2LBf0AoJDI
> ey8j6OYc0QmM09H0dY0psAEy
> =q0xE
> -END PGP SIGNATURE-
> 
> 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia