RE: What is the difference between JHTML and JSP?

2000-12-27 Thread Udig

Don't buy into proprietary technologies like JHTML. Stick to J2EE basics
like JSP and your code will be portable keeping your competitive advantage
of shopping APP SERVERS. Dynamo 5.0 is moving away from JHTML and trying to
be more J2EE compliant.

Andy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 27, 2000 3:29 PM
To: Orion-Interest
Subject: Re: What is the difference between JHTML and JSP?


Be that as it may (this is interesting info on ATG, wich I didn't know),
JHTML was a popular (not just ATG) file extension for JSP a couple years
ago.

Scott

On 27 Dec 2000 11:50:37 -0600, John N. Alegre wrote:
> This is incorrect.
>
> I am not sure of the history but JHTML is what is used today by Art
Technology
> Group's "Dynamo" application server.  It is proprietary but has some neat
> advantages to speed the set up of the presentation layer.
>
> John
>
> On 27-Dec-00 Scott "M." Stirling wrote:
> > I believe JHTML is one of the names for old JSP-like stuff prior to the
> > standardization of the first JSP spec.  I think Weblogic and Sun's JWS
> > used to support it.  Like classical Latin, it's a dead language.
> >
> >
> > On 27 Dec 2000 10:33:36 +0530, Santosh Kumar wrote:
> > What is the difference between JHTML and JSP?
> > --
> > Scott Stirling
> > West Newton, MA
> >
>
> --
> E-Mail: John N. Alegre <[EMAIL PROTECTED]>
> Date: 27-Dec-00
> Time: 11:48:06
>
> This message was sent by XFMail
> --
>



--
Scott Stirling
West Newton, MA






Re: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Boris Gertsberg

As I said in my email "there ALMOST no need in sources of Orion wrapper
classes".
It looks like JBuilder just don't have place where Orion deployed
Hello_StatelessSessionBeanWrapper0.class  in it's classpath , so it asks for
at least a source of that class.
I am not an expert in JBuilder but as I heard JBuilder  is one of those
Debuggers that do decompile of the classes if needed.

Boris

- Original Message -
From: "Russ White" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, December 27, 2000 2:15 PM
Subject: RE: Can not locate . when running orion under Jbuilder?


> Boris,
>
> Your statement is true but irrelevant when you want to debug all of the
classes
> your application uses. This of course, would include the wrapper classes.
:)
> Sometime you want to see exactly what the wrapper is doing behind the
scenes.
> Usually I don't bother worrying about the wrappers and debug just the code
I
> have written, but read the original question and you will understand my
reply a
> little better. Specifically read the "Can not locate
> Hello_StatelessSessionBeanWrapper0.java from project source/class path"
part. ;)
> By the way, the previous post about copying the files to a source
directory
> while they do exist (which is any time before compiling if finished by
Orion) is
> exactly right, and that is what I do when I have to. Sure would be nice if
the
> wrappers would just stick around though. :)
>
> Cheers,
> Russ
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Boris
> > Gertsberg
> > Sent: Wednesday, December 27, 2000 12:36 PM
> > To: Orion-Interest
> > Subject: Re: Can not locate . when running orion under Jbuilder?
> >
> >
> > Actually, there almost no need in sources of Orion wrapper classes. You
can
> > do debugging in your debugger if it supports
> > JPDA (every debugger that I know of do). You can set breakpoints, step
> > through your code in beans and  watch properties just as if it would be
> > usual java application.
> > Read Debugging how-to on orionsupport.com to set it up.
> >
> > Boris
> >
> >
> > - Original Message -
> > From: "Russ White" <[EMAIL PROTECTED]>
> > To: "Orion-Interest" <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 27, 2000 10:27 AM
> > Subject: RE: Can not locate . when running orion under Jbuilder?
> >
> >
> > > Good day to all,
> > >
> > > The cause of your (and my) debugging woes is that orion does make the
> > source of
> > > it's wrapper classes available to us developers. There is a split
second
> > while
> > > orion is deploying your app that the source files exist in the orion
root
> > > directory, but the they are quickly snatched away from the prying eyes
of
> > hard
> > > working developers. So in short you are seeing the message correctly,
and
> > there
> > > is not a debugger in the world  (except for a few that decompile
classes
> > for
> > > you) that can step through source that does not exist. :)what I
generally
> > do in
> > > a case like yours is set a breakpoint directly after the call you are
> > interested
> > > in. That way you can hit F9 when you get your icky message and still
> > monitor the
> > > results of the call. Also placing a break point in the ejb class
itself
> > will
> > > provide a way to step into the ejb.
> > >
> > > HTH
> > >
> > > Russ White
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Darren
Pamatat
> > > > Sent: Wednesday, December 27, 2000 9:12 AM
> > > > To: Orion-Interest
> > > > Subject: Can not locate . when running orion under Jbuilder?
> > > >
> > > >
> > > > I have just started working with orion, and have just
> > > > sucessfully finished getting the orion primer ejb
> > > > example running. All works fine.
> > > >
> > > > Now I'm trying to get this to run under the debugger.
> > > > I have setup Jbuilder 4 projects with all the
> > > > necessary orion libs as per doc on setting up JB4 with
> > > > orion, and can run the orion app inside. I have even
> > > > got a simple servlet working where I can step through
> > > > it's code.
> > > > The problem is, when I try this with the orion primer
> > > > simple ejb example, I hit the servlet, and it stops on
> > > > a break point. Good. Now I start stepping over, until
> > > > I get to the line:
> > > >
> > > > answer = _hello.sayHello();
> > > >
> > > > I try and step into this, and the JB debugger won't
> > > > let me. It states in the status bar in red:
> > > > "Can not locate
> > > > Hello_StatelessSessionBeanWrapper0.java from project
> > > > source/class path"
> > > >
> > > > I'm not sure where this file is, as I searched and can
> > > > not find it on my system anywhere.
> > > >
> > > > Is there any way to debug orion ejb components inside
> > > > JB? Any ideas as what I'm doing wrong?
> > > >
> > > > Thanks,
> > > > Darren
> > > >
> > > >
> > > > _

RE: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread BCowan


I've been using BugSeeker over the last couple of weeks and it has been
working perfectly.  I like it far better than the JBuilder debugger (IMHO,
combined with SlickEdit and Ant, it beats the hell out of any IDE).
Download a 30-day eval at http://www.karmira.com/.  And at $195, it's very
reasonable.

Bruce

-Original Message-
From: Darren Pamatat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 27, 2000 3:41 PM
To: Orion-Interest
Subject: Re: Can not locate . when running orion under Jbuilder?


I read thru the info on orionsupport, and when
referring to JPDA, it talks about "Enable remote
debugging".
This option is only available under JB Enterprise
($1900 a seat).  We are currently using JB 4 Pro. Is
there any other way around this?

-Darren



--- Boris Gertsberg <[EMAIL PROTECTED]> wrote:
> Actually, there almost no need in sources of Orion
> wrapper classes. You can
> do debugging in your debugger if it supports
> JPDA (every debugger that I know of do). You can set
> breakpoints, step
> through your code in beans and  watch properties
> just as if it would be
> usual java application.
> Read Debugging how-to on orionsupport.com to set it
> up.
> 
> Boris
> 
> 
> - Original Message -
> From: "Russ White" <[EMAIL PROTECTED]>
> To: "Orion-Interest"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 27, 2000 10:27 AM
> Subject: RE: Can not locate . when running orion
> under Jbuilder?
> 
> 
> > Good day to all,
> >
> > The cause of your (and my) debugging woes is that
> orion does make the
> source of
> > it's wrapper classes available to us developers.
> There is a split second
> while
> > orion is deploying your app that the source files
> exist in the orion root
> > directory, but the they are quickly snatched away
> from the prying eyes of
> hard
> > working developers. So in short you are seeing the
> message correctly, and
> there
> > is not a debugger in the world  (except for a few
> that decompile classes
> for
> > you) that can step through source that does not
> exist. :)what I generally
> do in
> > a case like yours is set a breakpoint directly
> after the call you are
> interested
> > in. That way you can hit F9 when you get your icky
> message and still
> monitor the
> > results of the call. Also placing a break point in
> the ejb class itself
> will
> > provide a way to step into the ejb.
> >
> > HTH
> >
> > Russ White
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On
> Behalf Of Darren Pamatat
> > > Sent: Wednesday, December 27, 2000 9:12 AM
> > > To: Orion-Interest
> > > Subject: Can not locate . when running orion
> under Jbuilder?
> > >
> > >
> > > I have just started working with orion, and have
> just
> > > sucessfully finished getting the orion primer
> ejb
> > > example running. All works fine.
> > >
> > > Now I'm trying to get this to run under the
> debugger.
> > > I have setup Jbuilder 4 projects with all the
> > > necessary orion libs as per doc on setting up
> JB4 with
> > > orion, and can run the orion app inside. I have
> even
> > > got a simple servlet working where I can step
> through
> > > it's code.
> > > The problem is, when I try this with the orion
> primer
> > > simple ejb example, I hit the servlet, and it
> stops on
> > > a break point. Good. Now I start stepping over,
> until
> > > I get to the line:
> > >
> > > answer = _hello.sayHello();
> > >
> > > I try and step into this, and the JB debugger
> won't
> > > let me. It states in the status bar in red:
> > > "Can not locate
> > > Hello_StatelessSessionBeanWrapper0.java from
> project
> > > source/class path"
> > >
> > > I'm not sure where this file is, as I searched
> and can
> > > not find it on my system anywhere.
> > >
> > > Is there any way to debug orion ejb components
> inside
> > > JB? Any ideas as what I'm doing wrong?
> > >
> > > Thanks,
> > > Darren
> > >
> > >
> > >
> __
> > > Do You Yahoo!?
> > > Yahoo! Shopping - Thousands of Stores. Millions
> of Products.
> > > http://shopping.yahoo.com/
> > >
> > >
> >
> 
> 


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




Re: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Boris Gertsberg

Take a look at Netbeans (www.netbeans.org). It is FREE. I don't have JB4
Pro, but there has to be an option to set the main class for application you
want to debug (I think it exists even in JBuilder Foundation). Set it  to
com.evermind.server.ApplicationServer. It will start Orion inside of
JBuilder.

Boris

- Original Message -
From: "Darren Pamatat" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, December 27, 2000 3:40 PM
Subject: Re: Can not locate . when running orion under Jbuilder?


> I read thru the info on orionsupport, and when
> referring to JPDA, it talks about "Enable remote
> debugging".
> This option is only available under JB Enterprise
> ($1900 a seat).  We are currently using JB 4 Pro. Is
> there any other way around this?
>
> -Darren
>
>
>
> --- Boris Gertsberg <[EMAIL PROTECTED]> wrote:
> > Actually, there almost no need in sources of Orion
> > wrapper classes. You can
> > do debugging in your debugger if it supports
> > JPDA (every debugger that I know of do). You can set
> > breakpoints, step
> > through your code in beans and  watch properties
> > just as if it would be
> > usual java application.
> > Read Debugging how-to on orionsupport.com to set it
> > up.
> >
> > Boris
> >
> >
> > - Original Message -
> > From: "Russ White" <[EMAIL PROTECTED]>
> > To: "Orion-Interest"
> > <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 27, 2000 10:27 AM
> > Subject: RE: Can not locate . when running orion
> > under Jbuilder?
> >
> >
> > > Good day to all,
> > >
> > > The cause of your (and my) debugging woes is that
> > orion does make the
> > source of
> > > it's wrapper classes available to us developers.
> > There is a split second
> > while
> > > orion is deploying your app that the source files
> > exist in the orion root
> > > directory, but the they are quickly snatched away
> > from the prying eyes of
> > hard
> > > working developers. So in short you are seeing the
> > message correctly, and
> > there
> > > is not a debugger in the world  (except for a few
> > that decompile classes
> > for
> > > you) that can step through source that does not
> > exist. :)what I generally
> > do in
> > > a case like yours is set a breakpoint directly
> > after the call you are
> > interested
> > > in. That way you can hit F9 when you get your icky
> > message and still
> > monitor the
> > > results of the call. Also placing a break point in
> > the ejb class itself
> > will
> > > provide a way to step into the ejb.
> > >
> > > HTH
> > >
> > > Russ White
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Darren Pamatat
> > > > Sent: Wednesday, December 27, 2000 9:12 AM
> > > > To: Orion-Interest
> > > > Subject: Can not locate . when running orion
> > under Jbuilder?
> > > >
> > > >
> > > > I have just started working with orion, and have
> > just
> > > > sucessfully finished getting the orion primer
> > ejb
> > > > example running. All works fine.
> > > >
> > > > Now I'm trying to get this to run under the
> > debugger.
> > > > I have setup Jbuilder 4 projects with all the
> > > > necessary orion libs as per doc on setting up
> > JB4 with
> > > > orion, and can run the orion app inside. I have
> > even
> > > > got a simple servlet working where I can step
> > through
> > > > it's code.
> > > > The problem is, when I try this with the orion
> > primer
> > > > simple ejb example, I hit the servlet, and it
> > stops on
> > > > a break point. Good. Now I start stepping over,
> > until
> > > > I get to the line:
> > > >
> > > > answer = _hello.sayHello();
> > > >
> > > > I try and step into this, and the JB debugger
> > won't
> > > > let me. It states in the status bar in red:
> > > > "Can not locate
> > > > Hello_StatelessSessionBeanWrapper0.java from
> > project
> > > > source/class path"
> > > >
> > > > I'm not sure where this file is, as I searched
> > and can
> > > > not find it on my system anywhere.
> > > >
> > > > Is there any way to debug orion ejb components
> > inside
> > > > JB? Any ideas as what I'm doing wrong?
> > > >
> > > > Thanks,
> > > > Darren
> > > >
> > > >
> > > >
> > __
> > > > Do You Yahoo!?
> > > > Yahoo! Shopping - Thousands of Stores. Millions
> > of Products.
> > > > http://shopping.yahoo.com/
> > > >
> > > >
> > >
> >
> >
>
>
> __
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/





RE: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Jason Boehle

You can buy the Karmira BugSeeker debugger for $199.
http://www.karmira.com/

-Original Message-
From: Darren Pamatat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 27, 2000 2:41 PM
To: Orion-Interest
Subject: Re: Can not locate . when running orion under Jbuilder?


I read thru the info on orionsupport, and when
referring to JPDA, it talks about "Enable remote
debugging".
This option is only available under JB Enterprise
($1900 a seat).  We are currently using JB 4 Pro. Is
there any other way around this?

-Darren



--- Boris Gertsberg <[EMAIL PROTECTED]> wrote:
> Actually, there almost no need in sources of Orion
> wrapper classes. You can
> do debugging in your debugger if it supports
> JPDA (every debugger that I know of do). You can set
> breakpoints, step
> through your code in beans and  watch properties
> just as if it would be
> usual java application.
> Read Debugging how-to on orionsupport.com to set it
> up.
> 
> Boris
> 
> 
> - Original Message -
> From: "Russ White" <[EMAIL PROTECTED]>
> To: "Orion-Interest"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 27, 2000 10:27 AM
> Subject: RE: Can not locate . when running orion
> under Jbuilder?
> 
> 
> > Good day to all,
> >
> > The cause of your (and my) debugging woes is that
> orion does make the
> source of
> > it's wrapper classes available to us developers.
> There is a split second
> while
> > orion is deploying your app that the source files
> exist in the orion root
> > directory, but the they are quickly snatched away
> from the prying eyes of
> hard
> > working developers. So in short you are seeing the
> message correctly, and
> there
> > is not a debugger in the world  (except for a few
> that decompile classes
> for
> > you) that can step through source that does not
> exist. :)what I generally
> do in
> > a case like yours is set a breakpoint directly
> after the call you are
> interested
> > in. That way you can hit F9 when you get your icky
> message and still
> monitor the
> > results of the call. Also placing a break point in
> the ejb class itself
> will
> > provide a way to step into the ejb.
> >
> > HTH
> >
> > Russ White
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On
> Behalf Of Darren Pamatat
> > > Sent: Wednesday, December 27, 2000 9:12 AM
> > > To: Orion-Interest
> > > Subject: Can not locate . when running orion
> under Jbuilder?
> > >
> > >
> > > I have just started working with orion, and have
> just
> > > sucessfully finished getting the orion primer
> ejb
> > > example running. All works fine.
> > >
> > > Now I'm trying to get this to run under the
> debugger.
> > > I have setup Jbuilder 4 projects with all the
> > > necessary orion libs as per doc on setting up
> JB4 with
> > > orion, and can run the orion app inside. I have
> even
> > > got a simple servlet working where I can step
> through
> > > it's code.
> > > The problem is, when I try this with the orion
> primer
> > > simple ejb example, I hit the servlet, and it
> stops on
> > > a break point. Good. Now I start stepping over,
> until
> > > I get to the line:
> > >
> > > answer = _hello.sayHello();
> > >
> > > I try and step into this, and the JB debugger
> won't
> > > let me. It states in the status bar in red:
> > > "Can not locate
> > > Hello_StatelessSessionBeanWrapper0.java from
> project
> > > source/class path"
> > >
> > > I'm not sure where this file is, as I searched
> and can
> > > not find it on my system anywhere.
> > >
> > > Is there any way to debug orion ejb components
> inside
> > > JB? Any ideas as what I'm doing wrong?
> > >
> > > Thanks,
> > > Darren
> > >
> > >
> > >
> __
> > > Do You Yahoo!?
> > > Yahoo! Shopping - Thousands of Stores. Millions
> of Products.
> > > http://shopping.yahoo.com/
> > >
> > >
> >
> 
> 


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




EJB products listed

2000-12-27 Thread Kemp Randy-W18971

I came across this site that lists EJB servers at 
http://www.mgm-edv.de/ejbsig/ejbservers.html.  I am passing this along, since Orion 
and Jboss (favorites of mine) are described. 




AccessControlException on instantiating a RMI Server

2000-12-27 Thread dchandra


We are trying to  determine whether a j2ee compliant app we received from a
3rd party
will run under orion.  The app is primarily a servlet, and in it's init
method instantiates
a RMI Server.  We are getting a AccessControlException when the servlet
loads up.  Are
there any config files which needs to be setup for running this servlet?

Following is the StackTrace produced by the servlet:

 2000-12-26T13:38:53 ] ERROR   - Failed to start
ProxyImageGenerator
java.security.AccessControlException: access denied
(java.net.SocketPermission localhost:1024- listen,resolve)
 at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
 at
java.security.AccessController.checkPermission(AccessController.java:403)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
 at java.lang.SecurityManager.checkListen(SecurityManager.java:1103)
 at java.net.ServerSocket.(ServerSocket.java:166)
 at java.net.ServerSocket.(ServerSocket.java:86)
 at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:34)
 at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:316)
 at
sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:550)
 at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:186)
 at
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:158)
 at
sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:323)
 at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:123)
 at
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:118)
 at
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:102)
 at
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:276)
 at
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:180)
 at
java.rmi.server.UnicastRemoteObject.(UnicastRemoteObject.java:80)
 at
java.rmi.server.UnicastRemoteObject.(UnicastRemoteObject.java:67)
 at
com.reuters.esl.internal.lgo.image.proxy.RemoteServicePropertiesProvider.(Unknown

Source)
 at
com.reuters.esl.internal.lgo.image.proxy.RemoteMethodDispatcher.(Unknown

Source)
 at
com.reuters.esl.internal.lgo.image.proxy.ServiceManager.(Unknown
Source)
 at
com.reuters.esl.internal.lgo.image.ProxyImageGenerator.(Unknown
Source)
 at
com.reuters.esl.lgo.servlet.ImageServlet.initSystemProperties(Unknown
Source)
 at com.reuters.esl.lgo.servlet.ImageServlet.init(Unknown Source)
 at com.evermind.server.http.HttpApplication.wo(JAX)
 at com.evermind.server.http.HttpApplication.v6(JAX)
 at com.evermind.server.http.HttpApplication.wh(JAX)
 at com.evermind.server.http.HttpApplication.vs(JAX)
 at com.evermind.server.http.HttpApplication.(JAX)
 at com.evermind.server.Application.ue(JAX)
 at com.evermind.server.http.ej.ue(JAX)
 at com.evermind.server.http.ei.na(JAX)
 at com.evermind.server.http.ed.sp(JAX)
 at com.evermind.server.http.ed.so(JAX)
 at com.evermind.util.f.run(JAX)


Following is the stack from the Orion server.log file:

12/26/00 12:38 PM Internal server error
java.security.AccessControlException: access denied
(java.net.SocketPermission 199.234.231.167:2843 accept,resolve)
 at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
 at
java.security.AccessController.checkPermission(AccessController.java:403)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
 at java.lang.SecurityManager.checkAccept(SecurityManager.java:1138)
 at java.net.ServerSocket.implAccept(ServerSocket.java:244)
 at java.net.ServerSocket.accept(ServerSocket.java:224)
 at com.evermind.server.http.em.u7(JAX)
 at com.evermind.server.http.em.run(JAX)
 at com.evermind.util.f.run(JAX)


Thanks,
Daniel G. Chandran
Reuters, Inc.






Re: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Darren Pamatat

I read thru the info on orionsupport, and when
referring to JPDA, it talks about "Enable remote
debugging".
This option is only available under JB Enterprise
($1900 a seat).  We are currently using JB 4 Pro. Is
there any other way around this?

-Darren



--- Boris Gertsberg <[EMAIL PROTECTED]> wrote:
> Actually, there almost no need in sources of Orion
> wrapper classes. You can
> do debugging in your debugger if it supports
> JPDA (every debugger that I know of do). You can set
> breakpoints, step
> through your code in beans and  watch properties
> just as if it would be
> usual java application.
> Read Debugging how-to on orionsupport.com to set it
> up.
> 
> Boris
> 
> 
> - Original Message -
> From: "Russ White" <[EMAIL PROTECTED]>
> To: "Orion-Interest"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 27, 2000 10:27 AM
> Subject: RE: Can not locate . when running orion
> under Jbuilder?
> 
> 
> > Good day to all,
> >
> > The cause of your (and my) debugging woes is that
> orion does make the
> source of
> > it's wrapper classes available to us developers.
> There is a split second
> while
> > orion is deploying your app that the source files
> exist in the orion root
> > directory, but the they are quickly snatched away
> from the prying eyes of
> hard
> > working developers. So in short you are seeing the
> message correctly, and
> there
> > is not a debugger in the world  (except for a few
> that decompile classes
> for
> > you) that can step through source that does not
> exist. :)what I generally
> do in
> > a case like yours is set a breakpoint directly
> after the call you are
> interested
> > in. That way you can hit F9 when you get your icky
> message and still
> monitor the
> > results of the call. Also placing a break point in
> the ejb class itself
> will
> > provide a way to step into the ejb.
> >
> > HTH
> >
> > Russ White
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On
> Behalf Of Darren Pamatat
> > > Sent: Wednesday, December 27, 2000 9:12 AM
> > > To: Orion-Interest
> > > Subject: Can not locate . when running orion
> under Jbuilder?
> > >
> > >
> > > I have just started working with orion, and have
> just
> > > sucessfully finished getting the orion primer
> ejb
> > > example running. All works fine.
> > >
> > > Now I'm trying to get this to run under the
> debugger.
> > > I have setup Jbuilder 4 projects with all the
> > > necessary orion libs as per doc on setting up
> JB4 with
> > > orion, and can run the orion app inside. I have
> even
> > > got a simple servlet working where I can step
> through
> > > it's code.
> > > The problem is, when I try this with the orion
> primer
> > > simple ejb example, I hit the servlet, and it
> stops on
> > > a break point. Good. Now I start stepping over,
> until
> > > I get to the line:
> > >
> > > answer = _hello.sayHello();
> > >
> > > I try and step into this, and the JB debugger
> won't
> > > let me. It states in the status bar in red:
> > > "Can not locate
> > > Hello_StatelessSessionBeanWrapper0.java from
> project
> > > source/class path"
> > >
> > > I'm not sure where this file is, as I searched
> and can
> > > not find it on my system anywhere.
> > >
> > > Is there any way to debug orion ejb components
> inside
> > > JB? Any ideas as what I'm doing wrong?
> > >
> > > Thanks,
> > > Darren
> > >
> > >
> > >
> __
> > > Do You Yahoo!?
> > > Yahoo! Shopping - Thousands of Stores. Millions
> of Products.
> > > http://shopping.yahoo.com/
> > >
> > >
> >
> 
> 


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




Re: What is the difference between JHTML and JSP?

2000-12-27 Thread M.

Just so you don't think I'm pulling your leg, here's a jthml file I just
pulled off of Javasoft's site.  It dates to 1998 and mentions in a
comment that JSP will soon be the preferred technology.

Scott

On 27 Dec 2000 11:50:37 -0600, John N. Alegre wrote:
> This is incorrect.
> 
> I am not sure of the history but JHTML is what is used today by Art Technology
> Group's "Dynamo" application server.  It is proprietary but has some neat
> advantages to speed the set up of the presentation layer.
> 
> John
> 
> On 27-Dec-00 Scott "M." Stirling wrote:
> > I believe JHTML is one of the names for old JSP-like stuff prior to the
> > standardization of the first JSP spec.  I think Weblogic and Sun's JWS
> > used to support it.  Like classical Latin, it's a dead language.
> > 
> > 
> > On 27 Dec 2000 10:33:36 +0530, Santosh Kumar wrote:
> > What is the difference between JHTML and JSP?

-- 
Scott Stirling
West Newton, MA

Title:  XML Validation Service 
  




/*
 If you are reading this, STOP!

  This document needs to be be served by an HTTP server
 which understands the original version of Java Server
 Pages, "page compilation".  It includes Java code
 embedded in HTML, and appropriate web servers automatically
 turn it into a servlet 

 You will not be able to use this XML validation service
 without a web server, such as the
 Java Web
 Server, which supports this technology.  

 

 */
if ("POST".equals (request.getMethod ())) {
	String		URI = request.getParameter ("URI");

	// n.b. later versions of JHTML have "out" as a PrintWriter ...
	PrintWriter	writer = new PrintWriter (
			new OutputStreamWriter (out, "ISO-8859-1")
			);


	 XML Validation Service Results

	Here are the results of validating the document at URI:
	
	/* JHTML allows this compact syntax; JSP doesn't */
	
	URI
	

	 Please use your browser's back button
	if you wish to validate another document.

	

	try {
	URL		u;
	String	scheme;

	// Support relative URLs by default
	u = new URL (HttpUtils.getRequestURL (request).toString ());
	u = new URL (u, URI);
	scheme = u.getProtocol ();

	if ("http".equals (scheme) || "https".equals (scheme)) {
		String	showWarnings = request.getParameter ("WARN");
		String	checkType = request.getParameter ("MIMECHECK");

		doValidate (u, writer,
		"yes".equals (showWarnings),
		"yes".equals (checkType)
		);
	} else {

		 This service only accepts URIs for the HTTP and
		HTTPS schemes.

	}

	} catch (MalformedURLException e) {
	// how present URI vs URL distinction?

	 The URL you provided is malformed.
	The diagnostic provided is: 

	String	mesg = e.getMessage ();
	if (mesg == null)
		mesg = e.getClass ().getName ();
	writer.print (mesg);

	


	} catch (Throwable t) {
	String	mesg = t.getMessage ();

	 Sorry, the URL you provided could not be processed.
	

	/*
	if (mesg == null)
		mesg = t.getClass ().getName ();
	writer.write ("");
	writer.write (mesg);
	writer.write ("");
	*/
	t.printStackTrace (writer);

	

	} finally {
	if (writer != null)
		writer.flush ();
	}
} else {


	 XML Validation Service 

	Welcome to this XML Validation service.

	 This is an easy-to-use XML validation service based on
	an XML parser.  It checks XML documents for conformance to
	the XML 1.0 specification of valid documents.

	Validate Documents by URI

	Enter the URI of an XML document you would like validated:

	
	URI: 
	
	Show warnings
	
	Use MIME type of document
	
	
	
	
	


}





//
// This method does the fun work of validating.  In production
// configurations it'd throttle down the load, and also need to
// be able to reject some web sites.
//
private void doValidate (
	URL	url,
	Writer	out,
	boolean	showWarnings,
	boolean	checkType
) throws IOException
{
	HttpURLConnection	conn;

	conn = (HttpURLConnection) url.openConnection ();
	try {
	if (conn.getResponseCode () != 200) {
		out.write (" The document server returned an abnormal ");
		out.write ("response code:  ");
		out.write (Integer.toString (conn.getResponseCode ()));
		out.write ("\n");
		out.write ("This means: ");
		out.write (conn.getResponseMessage ());
		out.write (".\n");
		out.write ("Please try again, with a different URL.");
		return;
	}
	} catch (FileNotFoundException x) {
	// JDK 1.1.x bug
	out.write (" The document server does not have the ");
	out.write ("document you specified, \n");
	out.write (url.toString ());
	out.write ("Did you provide the correct URL?\n");
	return;
	}

	ErrorLister		lister = new ErrorLister (out);
	boolean			sawFatal = false;

	try {
	Resolver		resolver;
	org.xml.sax.Parser	parser;

	parser = new ValidatingParser ();

	lister.setShowWarnings (showWarnings);
	parser.setErrorHandler (lister);

	resolver = new Resolver ();
	resolver.setIgnoringM

Re: What is the difference between JHTML and JSP?

2000-12-27 Thread M.

Be that as it may (this is interesting info on ATG, wich I didn't know),
JHTML was a popular (not just ATG) file extension for JSP a couple years
ago.

Scott

On 27 Dec 2000 11:50:37 -0600, John N. Alegre wrote:
> This is incorrect.
> 
> I am not sure of the history but JHTML is what is used today by Art Technology
> Group's "Dynamo" application server.  It is proprietary but has some neat
> advantages to speed the set up of the presentation layer.
> 
> John
> 
> On 27-Dec-00 Scott "M." Stirling wrote:
> > I believe JHTML is one of the names for old JSP-like stuff prior to the
> > standardization of the first JSP spec.  I think Weblogic and Sun's JWS
> > used to support it.  Like classical Latin, it's a dead language.
> > 
> > 
> > On 27 Dec 2000 10:33:36 +0530, Santosh Kumar wrote:
> > What is the difference between JHTML and JSP?
> > -- 
> > Scott Stirling
> > West Newton, MA
> > 
> 
> --
> E-Mail: John N. Alegre <[EMAIL PROTECTED]>
> Date: 27-Dec-00
> Time: 11:48:06
> 
> This message was sent by XFMail
> --
> 



-- 
Scott Stirling
West Newton, MA





RE: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Russ White

Boris,

Your statement is true but irrelevant when you want to debug all of the classes
your application uses. This of course, would include the wrapper classes. :)
Sometime you want to see exactly what the wrapper is doing behind the scenes.
Usually I don't bother worrying about the wrappers and debug just the code I
have written, but read the original question and you will understand my reply a
little better. Specifically read the "Can not locate
Hello_StatelessSessionBeanWrapper0.java from project source/class path" part. ;)
By the way, the previous post about copying the files to a source directory
while they do exist (which is any time before compiling if finished by Orion) is
exactly right, and that is what I do when I have to. Sure would be nice if the
wrappers would just stick around though. :)

Cheers,
Russ
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Boris
> Gertsberg
> Sent: Wednesday, December 27, 2000 12:36 PM
> To: Orion-Interest
> Subject: Re: Can not locate . when running orion under Jbuilder?
>
>
> Actually, there almost no need in sources of Orion wrapper classes. You can
> do debugging in your debugger if it supports
> JPDA (every debugger that I know of do). You can set breakpoints, step
> through your code in beans and  watch properties just as if it would be
> usual java application.
> Read Debugging how-to on orionsupport.com to set it up.
>
> Boris
>
>
> - Original Message -
> From: "Russ White" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 27, 2000 10:27 AM
> Subject: RE: Can not locate . when running orion under Jbuilder?
>
>
> > Good day to all,
> >
> > The cause of your (and my) debugging woes is that orion does make the
> source of
> > it's wrapper classes available to us developers. There is a split second
> while
> > orion is deploying your app that the source files exist in the orion root
> > directory, but the they are quickly snatched away from the prying eyes of
> hard
> > working developers. So in short you are seeing the message correctly, and
> there
> > is not a debugger in the world  (except for a few that decompile classes
> for
> > you) that can step through source that does not exist. :)what I generally
> do in
> > a case like yours is set a breakpoint directly after the call you are
> interested
> > in. That way you can hit F9 when you get your icky message and still
> monitor the
> > results of the call. Also placing a break point in the ejb class itself
> will
> > provide a way to step into the ejb.
> >
> > HTH
> >
> > Russ White
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Darren Pamatat
> > > Sent: Wednesday, December 27, 2000 9:12 AM
> > > To: Orion-Interest
> > > Subject: Can not locate . when running orion under Jbuilder?
> > >
> > >
> > > I have just started working with orion, and have just
> > > sucessfully finished getting the orion primer ejb
> > > example running. All works fine.
> > >
> > > Now I'm trying to get this to run under the debugger.
> > > I have setup Jbuilder 4 projects with all the
> > > necessary orion libs as per doc on setting up JB4 with
> > > orion, and can run the orion app inside. I have even
> > > got a simple servlet working where I can step through
> > > it's code.
> > > The problem is, when I try this with the orion primer
> > > simple ejb example, I hit the servlet, and it stops on
> > > a break point. Good. Now I start stepping over, until
> > > I get to the line:
> > >
> > > answer = _hello.sayHello();
> > >
> > > I try and step into this, and the JB debugger won't
> > > let me. It states in the status bar in red:
> > > "Can not locate
> > > Hello_StatelessSessionBeanWrapper0.java from project
> > > source/class path"
> > >
> > > I'm not sure where this file is, as I searched and can
> > > not find it on my system anywhere.
> > >
> > > Is there any way to debug orion ejb components inside
> > > JB? Any ideas as what I'm doing wrong?
> > >
> > > Thanks,
> > > Darren
> > >
> > >
> > > __
> > > Do You Yahoo!?
> > > Yahoo! Shopping - Thousands of Stores. Millions of Products.
> > > http://shopping.yahoo.com/
> > >
> > >
> >
>
>
>





Re: What is the difference between JHTML and JSP?

2000-12-27 Thread John N. Alegre

This is incorrect.

I am not sure of the history but JHTML is what is used today by Art Technology
Group's "Dynamo" application server.  It is proprietary but has some neat
advantages to speed the set up of the presentation layer.

John

On 27-Dec-00 Scott "M." Stirling wrote:
> I believe JHTML is one of the names for old JSP-like stuff prior to the
> standardization of the first JSP spec.  I think Weblogic and Sun's JWS
> used to support it.  Like classical Latin, it's a dead language.
> 
> 
> On 27 Dec 2000 10:33:36 +0530, Santosh Kumar wrote:
> What is the difference between JHTML and JSP?
> -- 
> Scott Stirling
> West Newton, MA
> 

--
E-Mail: John N. Alegre <[EMAIL PROTECTED]>
Date: 27-Dec-00
Time: 11:48:06

This message was sent by XFMail
--




RE: javax.naming.NameNotFoundException: agency not found

2000-12-27 Thread revivalatgt revivalatgt

What is client-application.xml?  Is this generated or created?  I have 
application.xml, application-client.xml, orion-application.xml, but no 
client-application.xml.

Thanks,

Robert


>From: "J Davis" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: RE: javax.naming.NameNotFoundException: agency not found
>Date: Fri, 22 Dec 2000 14:11:07 -0700
>
>Make sure you have your references setup in the XML files. Depending on 
>what
>your are accessing the EJB's through you will have to add references in
>web.xml,client-application.xml and of coursethe ejb-jar.xml
>
>-Original Message-
>From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, December 21, 2000 7:04 AM
>To: Orion-Interest
>Subject: Re: javax.naming.NameNotFoundException: agency not found
>
>
> > Does anybody know what could cause a javax.naming.NameNotFoundException:
> > bean name> not found?  I think my .xml files are fine, and I think this
>used
> > to work!
>
>We've got the same problem - it seems Orion 1.4.4 can't decide whether to
>make EJB home interfaces available at "java:comp/env/ejb-name" or just
>"ejb-name". We've replaced all our lookup code with something like this:
>
> Object ref = null;
> try{
> ref = jndiContext.lookup("java:comp/env/ejb/WhateverEJB");
> } catch(NamingException ne) {
> System.err.println("Failed to find WhateverEJB attempting again
>using non-standard mapping");
> ref = jndiContext.lookup("WhateverEJB");
> }
> WhateverHome home = (WhateverHome)PortableRemoteObject.narrow(ref,
>WhateverHome.class);
>
>This at least lets the app function. Sometimes the first lookup works,
>sometimes not. If and when we see a pattern that implies sort sort of 
>reason
>for this strange behaviour, I'll report it to the list.
>
>P. Pontbriand
>Canlink Interactive Technologies Inc.
>
>
>
>

_
Get your FREE download of MSN Explorer at http://explorer.msn.com





ejbLoad : Error retrieving a picture from DB

2000-12-27 Thread Elhadi barkat

Hi,
I have a problem with Blobs&Entity Beans with
Orion 1.2 and DB2 7.1

I'm getting the following exception while retrieving a picture from DB into
an entity bean
Error in ejbLoad : java.lng.AbstractMethodError:
COM/ibm/db2/jdbc/app/DB2ResultSet.getBlob

Nested exception is:
java.lng.AbstractMethodError: COM/ibm/db2/jdbc/app/DB2ResultSet.getBlob
at PhotoBean.ejbLoad(PhotoBean.java:146)
at
Photo_EntityBeanWrapper117.loadState(Photo_EntityBeanWrapper117.java:426)
at
PhotoHome_EntityHomeWrapper198.findExistingEntity(PhotoHome_EntityHomeWrappe
r198:37)
at
PhotoHome_EntityHomeWrapper198.findByPrimaryKey(PhotoHome_EntityHomeWrapper1
98.java:232)


my entity bean contains [ id(int) +  array of bytes to hold the picture]
the table [id + Blob]

my code in ejbLoad :

Context ctx = new InitialContext();
DataSource datasource = (DataSource) ctx.lookup("jdbc/DefaultEJBDS");
conn = datasource.getConnection();
ps = conn.prepareStatement("SELECT photoImage FROM photo WHERE photoId=?");
ps.setInt(1, id);
rs = ps.executeQuery();

if (rs.next()) {
String colName = "image";
Blob blobObj = rs.getBlob(colName);
if (blobObj == null){
System.out.println("[PhotoBean|ejbLoad] Error creating Blob object - 
Blob
object is null");
}else{
int imgSize = (int)blobObj.length();
// Create byte[] data array to store picture data temporarily
// before writing it to a file
image = new byte[imgSize];
// Retrieve the picture as a binary stream from the Blob object
InputStream is = blobObj.getBinaryStream();
// Store the binary stream from above into image byte[] array
is.read(image);
  }
}

db2.xml schema:
---


In the beggining I was afraid that JDBC driver for DB2 doesn't supports
blobs
but the same code works often just after the insert of the picture in
DB(???)

How do I fix this? Any clues?
Regards
Hadi





Re: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Boris Gertsberg

Actually, there almost no need in sources of Orion wrapper classes. You can
do debugging in your debugger if it supports
JPDA (every debugger that I know of do). You can set breakpoints, step
through your code in beans and  watch properties just as if it would be
usual java application.
Read Debugging how-to on orionsupport.com to set it up.

Boris


- Original Message -
From: "Russ White" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, December 27, 2000 10:27 AM
Subject: RE: Can not locate . when running orion under Jbuilder?


> Good day to all,
>
> The cause of your (and my) debugging woes is that orion does make the
source of
> it's wrapper classes available to us developers. There is a split second
while
> orion is deploying your app that the source files exist in the orion root
> directory, but the they are quickly snatched away from the prying eyes of
hard
> working developers. So in short you are seeing the message correctly, and
there
> is not a debugger in the world  (except for a few that decompile classes
for
> you) that can step through source that does not exist. :)what I generally
do in
> a case like yours is set a breakpoint directly after the call you are
interested
> in. That way you can hit F9 when you get your icky message and still
monitor the
> results of the call. Also placing a break point in the ejb class itself
will
> provide a way to step into the ejb.
>
> HTH
>
> Russ White
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Darren Pamatat
> > Sent: Wednesday, December 27, 2000 9:12 AM
> > To: Orion-Interest
> > Subject: Can not locate . when running orion under Jbuilder?
> >
> >
> > I have just started working with orion, and have just
> > sucessfully finished getting the orion primer ejb
> > example running. All works fine.
> >
> > Now I'm trying to get this to run under the debugger.
> > I have setup Jbuilder 4 projects with all the
> > necessary orion libs as per doc on setting up JB4 with
> > orion, and can run the orion app inside. I have even
> > got a simple servlet working where I can step through
> > it's code.
> > The problem is, when I try this with the orion primer
> > simple ejb example, I hit the servlet, and it stops on
> > a break point. Good. Now I start stepping over, until
> > I get to the line:
> >
> > answer = _hello.sayHello();
> >
> > I try and step into this, and the JB debugger won't
> > let me. It states in the status bar in red:
> > "Can not locate
> > Hello_StatelessSessionBeanWrapper0.java from project
> > source/class path"
> >
> > I'm not sure where this file is, as I searched and can
> > not find it on my system anywhere.
> >
> > Is there any way to debug orion ejb components inside
> > JB? Any ideas as what I'm doing wrong?
> >
> > Thanks,
> > Darren
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! Shopping - Thousands of Stores. Millions of Products.
> > http://shopping.yahoo.com/
> >
> >
>





Re: What is the difference between JHTML and JSP?

2000-12-27 Thread Huibert Aalbers

Actually JHTML is still alive in some app servers, most notably Art &
Technology's Dynamo product. This app server offers some nifty extensions
to JHTML that make it much easier to separate the presentation layer from
the actual code than in JSPs.

However, you are right that ther is not much future in JHTML and that is
why I am migrating as we speak a lot of ATG/JHTML code to JSPs. This is not
very easy though and I still miss a lot of the features I have learned to
like in ATG's Dynamo. Custom tags make it easier though to migrate from one
technology to the other.

Huibert Aalbers

"Scott M. Stirling" wrote:

> I believe JHTML is one of the names for old JSP-like stuff prior to the
> standardization of the first JSP spec.  I think Weblogic and Sun's JWS
> used to support it.  Like classical Latin, it's a dead language.
>
> On 27 Dec 2000 10:33:36 +0530, Santosh Kumar wrote:
> What is the difference between JHTML and JSP?
> --
> Scott Stirling
> West Newton, MA





Re: basic declarative transaction management

2000-12-27 Thread Vivek Iyer




That was an embarrassing slip. Thanks for replying with a straight face :-)

Vivek






Scott "M." Stirling <[EMAIL PROTECTED]>@orionserver.com on 12/27/2000
01:08:08 AM

Please respond to Orion-Interest <[EMAIL PROTECTED]>

Sent by:  [EMAIL PROTECTED]


To:   Orion-Interest <[EMAIL PROTECTED]>
cc:(bcc: Vivek Iyer/Chicago SPL/Group)
bcc:  Vivek Iyer/Chicago SPL/Group

Subject:  Re: basic declarative transaction management



The ejb-name in the assembly-descriptor has to match the ejb-name in the
bean declaration.  It doesn't.  You have "Product" in one place and
"MyProduct" in the other as the ejb-name.  That shouldn't work.


On 26 Dec 2000 23:06:15 -0600, Vivek Iyer wrote:
>
>
> Hi all,
>
> I'm trying to get my understanding/control of declarative transactions in EJB
up
> to speed, and I'm puzzled by the following:
>
> Context: The Product EJB that comes with the ejb/demos with Orion.
>
> Action: I set the value of "trans-attribute" ejb-jar.xml for the "Product"
bean
> that comes with the ejb demos in orion to "Mandatory" for all methods in the
> Product bean (this is just for illustrative purposes).
>
> Expected Result: Since the ProductClient in the ejb demos does _not_
explicitly
> start a UserTransaction, its first invocation of a method on the Product bean
is
> outside of any transaction context, and so should cause a
> TransactionRequiredException to be thrown, should it not?
>
> Actual Result: In fact, after Orion redeploys the Product bean, and the
> ProductClient runs just fine.
>
> Can someone please tell me what I'm missing? I've included the ejb-jar.xml and
> the ProductClient code below. As an aside, if someone could point me to a good
> example system with non-trivial transactions controlled declaratively in
orion,
> I'd be grateful.
>
> Here's the ejb-jar.xml -
> 
>  
>  
>  
>   
>
>
>MyProduct
>ProductHome
>Product
>ProductEJB
>java.lang.Integer
>True
>Container
>id
>name
>description
>price
>id
>   
>  
>  
>   
>
> Product
> *
>
>Mandatory
>   
>  
> 
>
> And here's the relevant code on the ProductClient -
>
> // Create a new Product and narrow the reference.
> Product product = (Product)PortableRemoteObject.narrow(home.create(id),
> Product.class);
> product.setName(name);
> product.setPrice(cost);
>
> Thanks,
>
> Vivek

--
Scott Stirling
West Newton, MA









RE: CMP & Interbase

2000-12-27 Thread Jason Boehle

You've misspelled "max-table-name-lenght", specifically the word "length".

Jason Boehle
[EMAIL PROTECTED]

-Original Message-
From: Bernhard Broo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 27, 2000 8:49 AM
To: Orion-Interest
Subject: CMP & Interbase


Hi,

I have problems with orion CMP & Interbase.
Everything works fine, but when Table-Names longer then 30 then i get this
error on deployment:

[...]
Auto-deploying atm-ejb.jar (No previous deployment found)... Auto-creating
table: create table com_acme_atm_ejb_Account_logEntries (id varchar(252)
not null, value_Event varchar(252) default null, value_Date timestamp
default null) Warning: Error creating table: [interclient][interbase]
unsuccessful metadata update Name longer than database column size


Auto-creating table: create table com_acme_atm_ejb_AccountOwner_accounts
(username varchar(252) not null, value_ varchar(252) default null)
Warning: Error creating table: [interclient][interbase] unsuccessful
metadata update
Name longer than database column size
[...]

I have edded [max-table-name-lenght="20"] to my schema but it looks like
orion ignors this flag :-(
Can anybody help me ???

My Interbase-Schema : interbase.xml

 http://www.orionserver.com/dtds/database-schemes.dtd>">



























URGENT: NullPointerException

2000-12-27 Thread Savotchkin Egor


Hi all!
   I cannot start my application, the following exception is printed:

500 Internal Server Error
java.lang.NullPointerException
at com.evermind.server.http.HttpApplication.w0(JAX)
at com.evermind.server.http.HttpApplication.wi(JAX)
at com.evermind.server.http.HttpApplication.ut(JAX)
at com.evermind.server.http.eh.s0(JAX)
at com.evermind.server.http.eh.do(JAX)
at com.evermind.util.f.run(JAX)

I use orion 1.4.4 on Windows NT Server 4.0, HotSpot jdk 1.3.0

Does somebody know WHY?

Regards,
   Savotchkin Egor

Web-technologies department
eMail: [EMAIL PROTECTED]
CJSC "SoftPro" - Billing systems
tel: (+7-095) 755-5655 (3135)
web-site: http://www.cboss.ru





RE: transaction timeout

2000-12-27 Thread Tim Drury


I had the same problem for a large transaction.
In config/server.xml set



to set the timeout to 2 minutes (for example).

-tim

> -Original Message-
> From: Tommy Essebo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 27, 2000 9:06 AM
> To: Orion-Interest
> Subject: transaction timeout
> 
> 
> I'm having problems with a transaction that's taking more the 
> 45 s. Orion 
> fails to complete the EJB-operation due to transaction 
> timeout. Where can I 
> change the transaction timeout value? I am using Oracle thin 
> jdbc driver.
> 
> /tommy
> 
> 




RE: CMP & Interbase

2000-12-27 Thread Tim Drury


you misspelled "max-table-name-length".  It works fine for me.

-tim


> -Original Message-
> From: Bernhard Broo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 27, 2000 9:49 AM
> To: Orion-Interest
> Subject: CMP & Interbase
> 
> 
> Hi,
> 
> I have problems with orion CMP & Interbase.
> Everything works fine, but when Table-Names longer then 30 
> then i get this
> error on deployment:
> 
> [...]
> Auto-deploying atm-ejb.jar (No previous deployment found)... 
> Auto-creating
> table: create table com_acme_atm_ejb_Account_logEntries (id 
> varchar(252)
> not null, value_Event varchar(252) default null, value_Date timestamp
> default null) Warning: Error creating table: [interclient][interbase]
> unsuccessful metadata update Name longer than database column size
> 
> 
> Auto-creating table: create table 
> com_acme_atm_ejb_AccountOwner_accounts
> (username varchar(252) not null, value_ varchar(252) default null)
> Warning: Error creating table: [interclient][interbase] unsuccessful
> metadata update
> Name longer than database column size
> [...]
> 
> I have edded [max-table-name-lenght="20"] to my schema but it 
> looks like
> orion ignors this flag :-(
> Can anybody help me ???
> 
> My Interbase-Schema : interbase.xml
> 
>   "-//Evermind//-
> Database scheme" 
> "">
>  name="Interbase"
> max-table-name-lenght="20"
> not-null="not null"
> null="default null"
> primary-key="primary key" >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 




RE: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Hani Suleiman

You could make sure you're using javac (to slow down the compilation), and
copy those classes away just before Orion finishes compiling them! Copy
them to your src tree and you should then be able to step through them in
a debugger. Very handy.

On Wed, 27 Dec 2000, Russ White wrote:

> Good day to all,
> 
> The cause of your (and my) debugging woes is that orion does make the source of
> it's wrapper classes available to us developers. There is a split second while
> orion is deploying your app that the source files exist in the orion root
> directory, but the they are quickly snatched away from the prying eyes of hard
> working developers. So in short you are seeing the message correctly, and there
> is not a debugger in the world  (except for a few that decompile classes for
> you) that can step through source that does not exist. :)what I generally do in
> a case like yours is set a breakpoint directly after the call you are interested
> in. That way you can hit F9 when you get your icky message and still monitor the
> results of the call. Also placing a break point in the ejb class itself will
> provide a way to step into the ejb.
> 
> HTH
> 
> Russ White
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Darren Pamatat
> > Sent: Wednesday, December 27, 2000 9:12 AM
> > To: Orion-Interest
> > Subject: Can not locate . when running orion under Jbuilder?
> >
> >
> > I have just started working with orion, and have just
> > sucessfully finished getting the orion primer ejb
> > example running. All works fine.
> >
> > Now I'm trying to get this to run under the debugger.
> > I have setup Jbuilder 4 projects with all the
> > necessary orion libs as per doc on setting up JB4 with
> > orion, and can run the orion app inside. I have even
> > got a simple servlet working where I can step through
> > it's code.
> > The problem is, when I try this with the orion primer
> > simple ejb example, I hit the servlet, and it stops on
> > a break point. Good. Now I start stepping over, until
> > I get to the line:
> >
> > answer = _hello.sayHello();
> >
> > I try and step into this, and the JB debugger won't
> > let me. It states in the status bar in red:
> > "Can not locate
> > Hello_StatelessSessionBeanWrapper0.java from project
> > source/class path"
> >
> > I'm not sure where this file is, as I searched and can
> > not find it on my system anywhere.
> >
> > Is there any way to debug orion ejb components inside
> > JB? Any ideas as what I'm doing wrong?
> >
> > Thanks,
> > Darren
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! Shopping - Thousands of Stores. Millions of Products.
> > http://shopping.yahoo.com/
> >
> >
> 
> 
> 





RE: What is the difference between JHTML and JSP?

2000-12-27 Thread Amir Yasin

if your talking about the Dynamo app server, JHTML is very much alive and
well.  It is Dynamos proprietary markup language (parts of JSP were based on
it and vice versa).  Its well supported through their tool set but by no one
else.  Unless you are permanently committed to Dynamo, my suggestion is stay
away.

Cheers,
Amir

-Original Message-
From: Scott "M." Stirling [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 27, 2000 1:06 AM
To: Orion-Interest
Subject: Re: What is the difference between JHTML and JSP?


I believe JHTML is one of the names for old JSP-like stuff prior to the
standardization of the first JSP spec.  I think Weblogic and Sun's JWS
used to support it.  Like classical Latin, it's a dead language.


On 27 Dec 2000 10:33:36 +0530, Santosh Kumar wrote:
What is the difference between JHTML and JSP?
-- 
Scott Stirling
West Newton, MA





RE: Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Russ White

Good day to all,

The cause of your (and my) debugging woes is that orion does make the source of
it's wrapper classes available to us developers. There is a split second while
orion is deploying your app that the source files exist in the orion root
directory, but the they are quickly snatched away from the prying eyes of hard
working developers. So in short you are seeing the message correctly, and there
is not a debugger in the world  (except for a few that decompile classes for
you) that can step through source that does not exist. :)what I generally do in
a case like yours is set a breakpoint directly after the call you are interested
in. That way you can hit F9 when you get your icky message and still monitor the
results of the call. Also placing a break point in the ejb class itself will
provide a way to step into the ejb.

HTH

Russ White

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Darren Pamatat
> Sent: Wednesday, December 27, 2000 9:12 AM
> To: Orion-Interest
> Subject: Can not locate . when running orion under Jbuilder?
>
>
> I have just started working with orion, and have just
> sucessfully finished getting the orion primer ejb
> example running. All works fine.
>
> Now I'm trying to get this to run under the debugger.
> I have setup Jbuilder 4 projects with all the
> necessary orion libs as per doc on setting up JB4 with
> orion, and can run the orion app inside. I have even
> got a simple servlet working where I can step through
> it's code.
> The problem is, when I try this with the orion primer
> simple ejb example, I hit the servlet, and it stops on
> a break point. Good. Now I start stepping over, until
> I get to the line:
>
> answer = _hello.sayHello();
>
> I try and step into this, and the JB debugger won't
> let me. It states in the status bar in red:
> "Can not locate
> Hello_StatelessSessionBeanWrapper0.java from project
> source/class path"
>
> I'm not sure where this file is, as I searched and can
> not find it on my system anywhere.
>
> Is there any way to debug orion ejb components inside
> JB? Any ideas as what I'm doing wrong?
>
> Thanks,
> Darren
>
>
> __
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
>





CMP & Interbase

2000-12-27 Thread Bernhard Broo

Hi,

I have problems with orion CMP & Interbase.
Everything works fine, but when Table-Names longer then 30 then i get this
error on deployment:

[...]
Auto-deploying atm-ejb.jar (No previous deployment found)... Auto-creating
table: create table com_acme_atm_ejb_Account_logEntries (id varchar(252)
not null, value_Event varchar(252) default null, value_Date timestamp
default null) Warning: Error creating table: [interclient][interbase]
unsuccessful metadata update Name longer than database column size


Auto-creating table: create table com_acme_atm_ejb_AccountOwner_accounts
(username varchar(252) not null, value_ varchar(252) default null)
Warning: Error creating table: [interclient][interbase] unsuccessful
metadata update
Name longer than database column size
[...]

I have edded [max-table-name-lenght="20"] to my schema but it looks like
orion ignors this flag :-(
Can anybody help me ???

My Interbase-Schema : interbase.xml

 http://www.orionserver.com/dtds/database-schemes.dtd>">



























transaction timeout

2000-12-27 Thread Tommy Essebo

I'm having problems with a transaction that's taking more the 45 s. Orion 
fails to complete the EJB-operation due to transaction timeout. Where can I 
change the transaction timeout value? I am using Oracle thin jdbc driver.

/tommy





Can not locate ..... when running orion under Jbuilder?

2000-12-27 Thread Darren Pamatat

I have just started working with orion, and have just
sucessfully finished getting the orion primer ejb
example running. All works fine.

Now I'm trying to get this to run under the debugger.
I have setup Jbuilder 4 projects with all the
necessary orion libs as per doc on setting up JB4 with
orion, and can run the orion app inside. I have even
got a simple servlet working where I can step through
it's code.
The problem is, when I try this with the orion primer
simple ejb example, I hit the servlet, and it stops on
a break point. Good. Now I start stepping over, until
I get to the line:

answer = _hello.sayHello();

I try and step into this, and the JB debugger won't
let me. It states in the status bar in red:
"Can not locate
Hello_StatelessSessionBeanWrapper0.java from project
source/class path"

I'm not sure where this file is, as I searched and can
not find it on my system anywhere.

Is there any way to debug orion ejb components inside
JB? Any ideas as what I'm doing wrong?

Thanks,
Darren


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




Re: Report Printing Tool??

2000-12-27 Thread Jay Armstrong

I haven't tried these Java reporting tools in a real application, but hope
they help you.  They are not open, but the price seems very reasonable.

http://rreport.8m.com

Jay Armstrong
[EMAIL PROTECTED]

At 02:14 AM 12/27/00 -0500, you wrote:
>[Christian Sell]
>> > I wish there were CrystalReport for Java.
>> 
>> there is. At least something that sounds like it - I havent tried it out.
>> The product is named CrystalClear, from i-net software. Look here:
>> http://www.inetsoftware.de/
>
>anything out there that can produce graphs with a little more
>interactivity (drill-down, mouse rollover, etc)?  java interface
>required, of course, although something that provides a url
>interface and accepts params may work just as well.
>
>Thanks!
>
>James
>-- 
>James Manning <[EMAIL PROTECTED]>
>GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7  9C8E A0BF B026 EEBB F6E4
>
>





SV: Where is my data(EJB create on the Postgres DBMS) going, please help find it, thanks a lot!!!

2000-12-27 Thread Klaus . Myrseth



You 
might want to edit your java.policy file to make it run.
 
Seems 
you have something there that isnt alowed, so you are not allowed to contact the 
database.
 
Klaus

  -Opprinnelig melding-Fra: urey 
  [mailto:[EMAIL PROTECTED]]Sendt: 26. november 2000 
  11:10Til: Orion-InterestEmne: Where is my data(EJB 
  create on the Postgres DBMS) going, please help find it, thanks a 
  lot!!!
  Dear all,
     I cann't find the data 
  that EJB create , please help me find it. 
  Thanks a lot, 
  yours Urey
   
  1) E:\Urey\new 
  p\orion1.3.8\orion>java -jar orion.jar Auto-unpacking E:\Urey\new 
  p\orion1.3.8\orion\applications\testAPP.ear... done. Auto-deploying 
  testAPP (New server version detected)... Auto-deploying beans.jar (No 
  previous deployment found)... Auto-creating table: create table test 
  (name_ VARCHAR(255) not null primary key) java.security.Policy: error 
  parsing file:C:/Documents and 
  Settings/Urey/.java.policy java.security.Policy: line 8: expected 
  ';', found '/' done. Orion/1.3.8 
  initialized
   
  file://** I am runing 
  Orion in PC side got 
  errors:  (1) 
  Auto-creating table: create table test (name_ VARCHAR(255) not null primary 
  key)   (2) java.security.Policy: error parsing file:C:/Documents 
  and 
  Settings/Urey/.java.policy 
  How could I do? *//
   
  2) E:\Urey\new 
  p\orion1.3.8\orion\demo\ejb\ABC>p
  file://** I am 
  runing my client, that's well, but I cann't find the data in my Postgres DBMS 
  Server side???    I cann't find 
  where is the data of the EJB create ,Please help me 
  //   
  3) E:\Urey\new p\orion1.3.8\orion\demo\ejb\ABC>java -classpath 
  ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;testAPPClient.jar;. 
  testEJBClient javax.ejb.DuplicateKeyException: Entity already 
  exists at 
  com.evermind.server.rmi.bb.invokeMethod(JAX) 
  at 
  com.evermind.server.rmi.a2.invoke(JAX) 
  at 
  com.evermind.server.rmi.a3.invoke(JAX) 
  at __Proxy1.create(Unknown 
  Source) at 
  testEJBClient.(testEJBClient.java:20) 
  at testEJBClient.main(testEJBClient.java:28)
  file://* When I 
  run my client next time but he said the EJB alread 
  exists,  BUY I really 
  cann't find it in my postgres DBMS side, Where I missed 
    Tell me, 
  Please.***//
   
  There are my configs on 
  Orion: data-source is:
   
   
      
  class="com.evermind.sql.DriverManagerDataSource"    
  schema="database-schemas/postgresql.xml"    
  name="PostGreSQL"    
  location="jdbc/javatest"    
  xa-location="jdbc/xa/javatest"    
  ejb-location="jdbc/javatest"    
  connection-driver="postgresql.Driver"    
  username="postgres"    
  password=""    
  url="jdbc:postgresql://192.168.0.88/javatest"    
  inactivity-timeout="30"    
      />
   
  And the database-scheme is :
   
  "http://www.orionserver.com/dtds/database-schemas.dtd">
   
              
                                              
   
                              
   
  
   
   


Re: Where is my data(EJB create on the Postgres DBMS) going, please help find it, thanks a lot!!!

2000-12-27 Thread Christofer Sandberg



If its a CMP entity bean, try setting the 
transaction to
REQUIRED or something other than SUPPORTS. I've had 
problems
with ORION and Postgres not persisting the data if 
it's not
in a transaction, just keeps it in 
memory.
 
Setting the transaction on the bean to REQUIRED, or 
anything that
insures that the bean is called inside a 
transaction and sends the
commit call to Postgres should make postgres 
persist the data and
you could check it with a simple select SQL 
statement using psql
or any other postgres client.
 

 
- Original Message - 
From: "urey" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Sunday, November 26, 2000 11:10 
AM
Subject: Where is my data(EJB create on the 
Postgres DBMS) going, please help find it, thanks a lot!!!
> Dear all,>    I 
cann't find the data that EJB create , please help me find it. > Thanks a 
lot, > yours Urey> > > 1) E:\Urey\new 
p\orion1.3.8\orion>java -jar orion.jar>  Auto-unpacking 
E:\Urey\new p\orion1.3.8\orion\applications\testAPP.ear... done.> 
 Auto-deploying testAPP (New server version detected)...> 
 Auto-deploying beans.jar (No previous deployment found)...> 
 Auto-creating table: create table test (name_ VARCHAR(255) not null 
primary key)>  java.security.Policy: error parsing file:C:/Documents 
and Settings/Urey/.java.policy>  java.security.Policy: line 8: 
expected ';', found '/'>  done.>  Orion/1.3.8 
initialized> > file://** I am runing Orion in PC 
side got errors:>   
(1) Auto-creating table: create table test (name_ VARCHAR(255) not null primary 
key)>    (2) java.security.Policy: error parsing 
file:C:/Documents and Settings/Urey/.java.policy> 
 How could I do? 
*//> > 2) E:\Urey\new 
p\orion1.3.8\orion\demo\ejb\ABC>p> > file://** I am runing my client, that's well, but I cann't find the 
data in my Postgres DBMS Server side???> 
    I cann't find where is the data of 
the EJB create ,Please help me //> 
   > 3) E:\Urey\new 
p\orion1.3.8\orion\demo\ejb\ABC>java -classpath 
../../../orion.jar;../../../ejb.jar;../../../jndi.jar;testAPPClient.jar;. 
testEJBClient>  javax.ejb.DuplicateKeyException: Entity already 
exists>  at 
com.evermind.server.rmi.bb.invokeMethod(JAX)> 
 at 
com.evermind.server.rmi.a2.invoke(JAX)> 
 at 
com.evermind.server.rmi.a3.invoke(JAX)> 
 at __Proxy1.create(Unknown 
Source)>  at 
testEJBClient.(testEJBClient.java:20)> 
 at 
testEJBClient.main(testEJBClient.java:28)> > file://* When I run my client next time but he said the EJB alread 
exists,>   BUY I 
really cann't find it in my postgres DBMS side, Where I missed > 
  Tell me, 
Please.***//> > > There are my configs on 
Orion:>  data-source is:> >  > 
    > 
    
class="com.evermind.sql.DriverManagerDataSource"> 
    
schema="database-schemas/postgresql.xml"> 
    name="PostGreSQL"> 
    location="jdbc/javatest"> 
    
xa-location="jdbc/xa/javatest"> 
    ejb-location="jdbc/javatest"> 
    
connection-driver="postgresql.Driver"> 
    username="postgres"> 
    password=""> 
    
url="jdbc:postgresql://192.168.0.88/javatest"> 
    inactivity-timeout="30"> 
    >     
/>> > And the database-scheme is :> > > 
> > "http://www.orionserver.com/dtds/database-schemas.dtd">> > >     > 
    >     >     >     >     >     >     >     >     >     >     >     
> 
    > >     >     >     >     > 
    > 
    > 
    > > 
> > > >