Re: A thank you to Orion from the Annapolis Java User Group

2001-02-09 Thread Michael Van

Mike,

Thank you for your response.  As you said, this course is unique. However,
the nature of the course is not in the printed material, rather in the
collaboration of software engineers.  For example, on week 7, the subject of
servlet data-base connection pooling is introduced.  However, the
participants get the suggested reading material for that subject (Wrox'
Advanced Java Server Programming, non-EJB version), and do the tutorials in
that book.  For the XSL/XSLT portion (week 12), the subject and suggested
reading are introduced, but the learning happens in the assignment and
peer-discussion.

This isn't different than any other course, but because of the reliance of
copywritten materials and in-depth peer-discussion, it wouldn't fit well
with the excellent tutorials on the Jollem site.  Instead, it compliments
the existing tutorials by offering an educational roadmap in the syllabus,
and the structure of deadlines and assignments.

Michael Van
CEO, JUGerNaut
[EMAIL PROTECTED]


- Original Message -
From: Mike Cannon-Brookes [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, February 08, 2001 1:52 AM
Subject: RE: A thank you to Orion from the Annapolis Java User Group


 Is there any chance of getting this course put online so that others
outside
 of Maryland can benefit? It sounds like you've built something quite
unique
 as a tutorial that teaches people the basics of servlets, XML/XSLT, EJBs
 etc?

 (I help run OrionSupport and we'd be happy to put it up / host it there)

 It would serve as a nice compliment to the jollem.com tutorials.

 -mike

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Van
  Sent: Wednesday, February 07, 2001 5:17 PM
  To: Orion-Interest
  Subject: A thank you to Orion from the Annapolis Java User Group
 
 
  To Orion and the people who offer support for this product:
 
  THANK YOU!
 
  My name is Michael Van Geertruy and I am the founder and CEO of the
  Annapolis MD Java User Group, JUGerNaut (501-c-4).  For the last 15
weeks
  I've been teaching a course in this user group called "Java and the
  Internet", using the OrionServer as a teaching platform.  That is, each
  participant in the course was required to download a version of Orion at
  home, and then use OrionServer for thier work in the course.
 
  I chose Orion Server for a number of reasons.  Most notably:
  * It is free for use as a development environment.
  * It is a TRUE implementation of the J2EE platform.
  * Its CPU footprint is very small.
  * It has a robust implementation of servlets.
  * It has easy to understand, XML-based configuration files.
  * It contains xalen and xerces, which allowed us to touch on XSLT's.
 
  On behalf of the JUGerNaut organization, I would like to thank you for
  offering this tool for use in our development environment.  Without it,
we
  would not have been able to offer this training for FREE (the
participants
  paid no money to attend the course).  Indeed, many of the participants
had
  prior experience programming EJB's and commented on how superior your
  product implements the J2EE when compared to Sybase, Oracle, and
  BEA-Weblogic.
 
  Oral course surveys revealed that the participants in the course felt
more
  secure with the Java technologies of servlets, JSP's, CMP, and BMP using
a
  home-grown database-connection-pooling bean.  Additionally, this course
  produced an EJB that will be used by a local charity organization
(saving
  them thousands of dollars in development costs).  Without Orion
  Server, the
  quality of training that we gave and the direct impact this program had
on
  our community would never have happened.
 
  By offering this training for free to all participants, and by
  training them
  using Orion Server, we are growing EJB specialists in Maryland who are
  partial to using Orion Server. This translates to experienced engineers
  expressing an affinity for Orion Server in the workplace over other
  competing technologies.  I sincerely thank you and your organization for
  providing us this invaluable resource.
 
  Thank you,
 
  Michael L. Van
  CEO, JUGerNaut
  [EMAIL PROTECTED]
 
  PS.  We are holding a graduation ceremony for this course and others on
  March 14, 2001.  After the ceremony, we are offering open enrollment
into
  JUGerNaut (free) and thus, to a slew of courses we will be
  offering (free to
  all participants).  They are:
  Java Programmer Level Certification (13 - 22 weeks)
  Java Developer Level Certification (16 weeks)
  Java Architect Level Certification (depending on demand)
  J2ME (the vm used on embedded systems)
  Java Security API (14 weeks)
  All courses use peer instruction (the students use books and a syllabus
to
  guide them as they study the topics together) and all courses are free
to
  partipants.  Additionally, we are rolling out a new legal-referral plan
to
  all members that will help to ensure they will never be 

Re: SV: EJB 2.0 EB n--m implemented?

2001-02-09 Thread Jim Archer

Magnus, thanks very much for the reply.

I should know the answer to this by now, but I have been avoidiung Orion specific 
features in hopes of ending up with a portable J2EE app. So I don't know...

Can someone please tell me if its possible to have a many-to-many relationship between 
two EJB 2.0 entity beans using CMP and using Orion specific features?

I would appreciate any help on this...

Thanks!

Jim



--On Thursday, February 08, 2001 8:47 AM +0100 Magnus Rydin [EMAIL PROTECTED] 
wrote:


 Hi,
 no, its not there yet. :(

 -Ursprungligt meddelande-
 Frn: Jim Archer [mailto:[EMAIL PROTECTED]]
 Skickat: den 7 februari 2001 13:57
 Till: Orion-Interest
 mne: EJB 2.0 EB n--m implemented?


 Hi All...

 Does anyone know if many to many relationships between EBs is
 implemented
 on Orion 1.4.7?

 I was going to write a bit of code to test it, but my
 laziness got the
 better part of me and I was hopeing someone else had already
 discovered
 this and could save me a bit of work ;-)

 Thanks!

 Jim











Re: ATM application not working in 1.4.0: Ignore. Runs 0.k

2001-02-09 Thread Globetrot Communications

Sorry for the earlier message. ATM works fine in
1.4.0!


--- Globetrot Communications [EMAIL PROTECTED]
wrote:
 When I try to register on the web-page in ATM
 application, I get the following exceptions! I was
 hoping to use this application to see how exactly it
 is doing O/R mapping.
 
 Thanks.
 
 Satish
 
 
 javax.servlet.jsp.JspException: NamingException:
 com.acme.atm.ejb.AccountOwnerManager not found
 at

com.evermind.ejb.taglib.UseHomeTag.doStartTag(UseHomeTag.java:37)
 at
 /doAddUser.jsp._jspService(/doAddUser.jsp.java:43)
 (JSP page line 3)
 at
 com.orionserver.http.OrionHttpJspPage.service(JAX)
 at
 com.evermind.server.http.HttpApplication.xa(JAX)
 at
 com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.d3.so(JAX)
 at com.evermind.server.http.d3.sm(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great
 prices.
 http://auctions.yahoo.com/
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




Re: ATM application not working in 1.4.0

2001-02-09 Thread Globetrot Communications

The ATM sample I am trying to deploy is the one that
came with Orion 1.4.0. Looks like the problem is that
the JMS server is not running! What could cause that?

Thanks for your help.

I am attaching the mail-session tag from server.xml.

mail-session location="mail/MailSession"
smtp-host="mailhost.driftwood.com"
   property name="mail.transport.protocol"
value="smtp" /
   property name="mail.smtp.from"
value="[EMAIL PROTECTED]" /
   property name="mail.from"
value="[EMAIL PROTECTED]" /
/mail-session



Error deploying
file:/home/local/orion/applications/atm/atm-ejb.jar
homes: Unable to link resource MessageDrivenBean
com.acme.atm.ejb.MainLoggerEJB, no JMS server running

--- Globetrot Communications [EMAIL PROTECTED]
wrote:
 When I try to register on the web-page in ATM
 application, I get the following exceptions! I was
 hoping to use this application to see how exactly it
 is doing O/R mapping.
 
 Thanks.
 
 Satish
 
 
 javax.servlet.jsp.JspException: NamingException:
 com.acme.atm.ejb.AccountOwnerManager not found
 at

com.evermind.ejb.taglib.UseHomeTag.doStartTag(UseHomeTag.java:37)
 at
 /doAddUser.jsp._jspService(/doAddUser.jsp.java:43)
 (JSP page line 3)
 at
 com.orionserver.http.OrionHttpJspPage.service(JAX)
 at
 com.evermind.server.http.HttpApplication.xa(JAX)
 at
 com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.d3.so(JAX)
 at com.evermind.server.http.d3.sm(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great
 prices.
 http://auctions.yahoo.com/
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




RE: Problem with two Orions on same box!!!

2001-02-09 Thread Duffey, Kevin

Not sure about RMI server, but each application deployed as an xml config
file for it. In that file, which is specified in the server.xml file, you
list the port you want http to listen on.

Look in the web-site.xml.html in the docs folder. In my server.xml I have
web-site path="./bm_web.xml" /. Then, in bm_web.xml I have something like:

web-site host="[ALL]" port="80" display-name="My site"
default-web-app application="app" name="live-www" /
access-log path="c:\apps\logs\app-web.log" /
/web-site


I am sure you can do something similar for RMI on various ports for each
web-app.

HTH.



 -Original Message-
 From: Mohit Palhan [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 08, 2001 2:02 AM
 To: Orion-Interest
 Subject: Problem with two Orions on same box!!!
 
 
 I do not have access to two servers, and have installed 2 
 Orions on the same
 box, how do I make sure that they do not use the same ports 
 for the RMI server
 and for the HTTP server??
 Please help
 Mohit
 Have a nice day :-)
 
   ***
  
   The information contained in this message (including any 
 attachments) is
   confidential and may be legally privileged.
   If you are not the intended recipient, please delete it 
 from your system
   immediately - any disclosure, copying or distribution 
 thereof or any
   action taken or omitted to be taken in reliance thereon 
 is prohibited
   and may be unlawful.AITPL makes no warranty as to the accuracy or
   completeness of any information contained in this message 
 and hereby
   excludes any liability of any kind for the information 
 contained herein
   or for the transmission, reception, storage or use of 
 such information
   in any way whatsoever.  Any opinions expressed in this 
 message are those
   of the author and do not necessarily reflect the opinions 
 of AITPL.
   **
   ***
  
  
  
 
 --
 **
 ***
 
 The information contained in this message (including any 
 attachments) is
 confidential and may be legally privileged.
 If you are not the intended recipient, please delete it from 
 your system
 immediately - any disclosure, copying or distribution thereof 
 or any action
 taken or omitted to be taken in reliance thereon is 
 prohibited and may be
 unlawful.AITPL makes no warranty as to the accuracy or 
 completeness of any
 information contained in this message and hereby excludes any 
 liability of any
 kind for the information contained herein or for the 
 transmission, reception,
 storage or use of such information in any way whatsoever.  
 Any opinions
 expressed in this message are those of the author and do not 
 necessarily reflect
 the opinions of AITPL.
 **
 ***
 
 
 




Setting Cookies

2001-02-09 Thread S.Badrinarayanan

Hi

Is there a known problem with adding cookies using orion 1.4.5?  I have the following 
code to set cookies

res.addCookie(new javax.servlet.http.Cookie("1", "one"));
javax.servlet.RequestDispatcher dis = 
getServletContext().getRequestDispatcher(common.util.Utils.MESSAGE_PAGE);
dis.forward(req, res);

I am printing out the cookie values in the jsp (forward statement).  But I get an 
empty list.

What am I missing here?

Regards
sb


Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com




Re: Problem with two Orions on same box!!!

2001-02-09 Thread Jim Archer

In the case of the web server, in the config directory is an XML file in 
which you set that.

Go to Orion's web site and read the installation instructions. The long 
version tells you exactly what to set.

Jim


--On Thursday, February 08, 2001 3:32 PM +0530 Mohit Palhan 
[EMAIL PROTECTED] wrote:

 I do not have access to two servers, and have installed 2 Orions on the
 same box, how do I make sure that they do not use the same ports for the
 RMI server and for the HTTP server??
 Please help
 Mohit
 Have a nice day :-)

  ***
 
  The information contained in this message (including any attachments)
  is confidential and may be legally privileged.
  If you are not the intended recipient, please delete it from your
  system immediately - any disclosure, copying or distribution thereof
  or any action taken or omitted to be taken in reliance thereon is
  prohibited and may be unlawful.AITPL makes no warranty as to the
  accuracy or completeness of any information contained in this message
  and hereby excludes any liability of any kind for the information
  contained herein or for the transmission, reception, storage or use of
  such information in any way whatsoever.  Any opinions expressed in
  this message are those of the author and do not necessarily reflect
  the opinions of AITPL.
  **
  ***
 
 
 

 --
 *
 

 The information contained in this message (including any attachments) is
 confidential and may be legally privileged.
 If you are not the intended recipient, please delete it from your system
 immediately - any disclosure, copying or distribution thereof or any
 action taken or omitted to be taken in reliance thereon is prohibited and
 may be unlawful.AITPL makes no warranty as to the accuracy or
 completeness of any information contained in this message and hereby
 excludes any liability of any kind for the information contained herein
 or for the transmission, reception, storage or use of such information in
 any way whatsoever.  Any opinions expressed in this message are those of
 the author and do not necessarily reflect the opinions of AITPL.
 *
 











RE: Does Orion support PNG formatted images

2001-02-09 Thread Knudsen, Joe

I found my error it works just fine.
Sorry

Thanks,
Joe Knudsen

Optical Solutions
Network Management Developer
Email: [EMAIL PROTECTED]
Phone: (763)268-3622

 -Original Message-
 From: Knudsen, Joe 
 Sent: Thursday, February 08, 2001 7:43 PM
 To:   'Orion-Interest'
 Subject:  Does Orion support PNG formatted images
 
 I wanted to use PNG formatted Images and the Orion
 Web Server seems not to support that?  Any ideas?
 
 Thanks,
 Joe Knudsen
 
 Optical Solutions
 Network Management Developer
 Email: [EMAIL PROTECTED]
 Phone: (763)268-3622
 
   -Original Message-
   From:   Mohit Palhan [SMTP:[EMAIL PROTECTED]]
   Sent:   Thursday, February 08, 2001 4:02 AM
   To: Orion-Interest
   Subject:Problem with two Orions on same box!!!
 
   I do not have access to two servers, and have installed 2 Orions on
 the same
   box, how do I make sure that they do not use the same ports for the
 RMI server
   and for the HTTP server??
   Please help
   Mohit
   Have a nice day :-)
 
 ***

 The information contained in this message (including any
 attachments) is
 confidential and may be legally privileged.
 If you are not the intended recipient, please delete it from
 your system
 immediately - any disclosure, copying or distribution thereof or
 any
 action taken or omitted to be taken in reliance thereon is
 prohibited
 and may be unlawful.AITPL makes no warranty as to the accuracy
 or
 completeness of any information contained in this message and
 hereby
 excludes any liability of any kind for the information contained
 herein
 or for the transmission, reception, storage or use of such
 information
 in any way whatsoever.  Any opinions expressed in this message
 are those
 of the author and do not necessarily reflect the opinions of
 AITPL.

 **
 ***



 
   --
   
 **
 ***
 
   The information contained in this message (including any
 attachments) is
   confidential and may be legally privileged.
   If you are not the intended recipient, please delete it from your
 system
   immediately - any disclosure, copying or distribution thereof or any
 action
   taken or omitted to be taken in reliance thereon is prohibited and
 may be
   unlawful.AITPL makes no warranty as to the accuracy or completeness
 of any
   information contained in this message and hereby excludes any
 liability of any
   kind for the information contained herein or for the transmission,
 reception,
   storage or use of such information in any way whatsoever.  Any
 opinions
   expressed in this message are those of the author and do not
 necessarily reflect
   the opinions of AITPL.
   
 **
 ***
 
 
 




RE: Orion and openjoda

2001-02-09 Thread Kemp Randy-W18971

The "good taste" comes from the fact they choose to use Orion and Jboss/Tomcat, which 
further markets these products.  Whether their combo product lives up to its name, is 
a matter for the public to decide (personally, I am still a skeptic, and await what 
they do with future releases). 

-Original Message-
From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 3:34 PM
To: Orion-Interest
Subject: RE: Orion and openjoda


If you ask me, these guys are dodgy merchants.

Their product seems to be just Jetspeed (free - http://java.apache.org)
running on a pre built app server / database (hsql - ha!) combination
(either Apache Tomcat for the 'free' version, or Orion for the 'pro'
version).

Their demo doesn't work at all, the download seems to be broken or just not
present (Jahia!) and the site is just packed full of meaningless marketing
mumbo jumbo.

Mmhmm, "good taste" my ass.

-mike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp
 Randy-W18971
 Sent: Thursday, February 08, 2001 7:37 AM
 To: Orion-Interest
 Subject: Orion and openjoda


 If you look at openjoda at www.x03.com, they have a product
 called openjoda, which is integrated with Tomcat
 (apache.tomcat.org) and jboss(www.jboss.org).  If you view their
 joda pro, they are integrating with Orion, as the link at
 http://products.mycomponents.com/projoda.jsp;jsessionid=DGOLNCBBGH
 MB demonstrates.  If you ask me, these guys have good taste.







Re: A thank you to Orion from the Annapolis Java User Group

2001-02-09 Thread Joseph B. Ottinger

Michael, that still sounds useful in the form of a syllabus... That'd be a
GREAT addition, if it was something you wanted to propagate. Even if not,
a simple list of references for a given topic would be awfully handy.

On Wed, 7 Feb 2001, Michael Van wrote:

 Mike,
 
 Thank you for your response.  As you said, this course is unique. However,
 the nature of the course is not in the printed material, rather in the
 collaboration of software engineers.  For example, on week 7, the subject of
 servlet data-base connection pooling is introduced.  However, the
 participants get the suggested reading material for that subject (Wrox'
 Advanced Java Server Programming, non-EJB version), and do the tutorials in
 that book.  For the XSL/XSLT portion (week 12), the subject and suggested
 reading are introduced, but the learning happens in the assignment and
 peer-discussion.
 
 This isn't different than any other course, but because of the reliance of
 copywritten materials and in-depth peer-discussion, it wouldn't fit well
 with the excellent tutorials on the Jollem site.  Instead, it compliments
 the existing tutorials by offering an educational roadmap in the syllabus,
 and the structure of deadlines and assignments.
 
 Michael Van
 CEO, JUGerNaut
 [EMAIL PROTECTED]
 
 
 - Original Message -
 From: Mike Cannon-Brookes [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, February 08, 2001 1:52 AM
 Subject: RE: A thank you to Orion from the Annapolis Java User Group
 
 
  Is there any chance of getting this course put online so that others
 outside
  of Maryland can benefit? It sounds like you've built something quite
 unique
  as a tutorial that teaches people the basics of servlets, XML/XSLT, EJBs
  etc?
 
  (I help run OrionSupport and we'd be happy to put it up / host it there)
 
  It would serve as a nice compliment to the jollem.com tutorials.
 
  -mike
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Van
   Sent: Wednesday, February 07, 2001 5:17 PM
   To: Orion-Interest
   Subject: A thank you to Orion from the Annapolis Java User Group
  
  
   To Orion and the people who offer support for this product:
  
   THANK YOU!
  
   My name is Michael Van Geertruy and I am the founder and CEO of the
   Annapolis MD Java User Group, JUGerNaut (501-c-4).  For the last 15
 weeks
   I've been teaching a course in this user group called "Java and the
   Internet", using the OrionServer as a teaching platform.  That is, each
   participant in the course was required to download a version of Orion at
   home, and then use OrionServer for thier work in the course.
  
   I chose Orion Server for a number of reasons.  Most notably:
   * It is free for use as a development environment.
   * It is a TRUE implementation of the J2EE platform.
   * Its CPU footprint is very small.
   * It has a robust implementation of servlets.
   * It has easy to understand, XML-based configuration files.
   * It contains xalen and xerces, which allowed us to touch on XSLT's.
  
   On behalf of the JUGerNaut organization, I would like to thank you for
   offering this tool for use in our development environment.  Without it,
 we
   would not have been able to offer this training for FREE (the
 participants
   paid no money to attend the course).  Indeed, many of the participants
 had
   prior experience programming EJB's and commented on how superior your
   product implements the J2EE when compared to Sybase, Oracle, and
   BEA-Weblogic.
  
   Oral course surveys revealed that the participants in the course felt
 more
   secure with the Java technologies of servlets, JSP's, CMP, and BMP using
 a
   home-grown database-connection-pooling bean.  Additionally, this course
   produced an EJB that will be used by a local charity organization
 (saving
   them thousands of dollars in development costs).  Without Orion
   Server, the
   quality of training that we gave and the direct impact this program had
 on
   our community would never have happened.
  
   By offering this training for free to all participants, and by
   training them
   using Orion Server, we are growing EJB specialists in Maryland who are
   partial to using Orion Server. This translates to experienced engineers
   expressing an affinity for Orion Server in the workplace over other
   competing technologies.  I sincerely thank you and your organization for
   providing us this invaluable resource.
  
   Thank you,
  
   Michael L. Van
   CEO, JUGerNaut
   [EMAIL PROTECTED]
  
   PS.  We are holding a graduation ceremony for this course and others on
   March 14, 2001.  After the ceremony, we are offering open enrollment
 into
   JUGerNaut (free) and thus, to a slew of courses we will be
   offering (free to
   all participants).  They are:
   Java Programmer Level Certification (13 - 22 weeks)
   Java Developer Level Certification (16 weeks)
   Java Architect Level Certification (depending 

Does Orion support PNG formatted images

2001-02-09 Thread Knudsen, Joe

I wanted to use PNG formatted Images and the Orion
Web Server seems not to support that?  Any ideas?

Thanks,
Joe Knudsen

Optical Solutions
Network Management Developer
Email: [EMAIL PROTECTED]
Phone: (763)268-3622

 -Original Message-
 From: Mohit Palhan [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 08, 2001 4:02 AM
 To:   Orion-Interest
 Subject:  Problem with two Orions on same box!!!
 
 I do not have access to two servers, and have installed 2 Orions on the
 same
 box, how do I make sure that they do not use the same ports for the RMI
 server
 and for the HTTP server??
 Please help
 Mohit
 Have a nice day :-)
 
   ***
  
   The information contained in this message (including any attachments)
 is
   confidential and may be legally privileged.
   If you are not the intended recipient, please delete it from your
 system
   immediately - any disclosure, copying or distribution thereof or any
   action taken or omitted to be taken in reliance thereon is prohibited
   and may be unlawful.AITPL makes no warranty as to the accuracy or
   completeness of any information contained in this message and hereby
   excludes any liability of any kind for the information contained
 herein
   or for the transmission, reception, storage or use of such information
   in any way whatsoever.  Any opinions expressed in this message are
 those
   of the author and do not necessarily reflect the opinions of AITPL.
   **
   ***
  
  
  
 
 --
 **
 ***
 
 The information contained in this message (including any attachments) is
 confidential and may be legally privileged.
 If you are not the intended recipient, please delete it from your system
 immediately - any disclosure, copying or distribution thereof or any
 action
 taken or omitted to be taken in reliance thereon is prohibited and may be
 unlawful.AITPL makes no warranty as to the accuracy or completeness of any
 information contained in this message and hereby excludes any liability of
 any
 kind for the information contained herein or for the transmission,
 reception,
 storage or use of such information in any way whatsoever.  Any opinions
 expressed in this message are those of the author and do not necessarily
 reflect
 the opinions of AITPL.
 **
 ***
 
 
 




Jbuilder 4.0 simple question

2001-02-09 Thread Edmund Cheung

Hi all,

Does anybody know a way of adding a whole directory with sub-directories and
files to a project, or do you have to add create each directory individually
and add the files to them???

Thanks,

Louise




RE: Line feed in access log

2001-02-09 Thread Lauren Commons

Or, more visibly: amp#13; ;)
--- Mikael Eriksson [EMAIL PROTECTED]
wrote:
 This is solved know. By adding  at the end of
 the format attribute I
 now get proper linefeeds.
 
 /Mikael Eriksson
 
  -Original Message-
  From: Mikael Eriksson
  Sent: den 5 februari 2001 17:45
  To: Orion-Interest
  Subject: Line feed in access log
 
 
  Hi,
 
  I'm having problem with the web access logs. I'm
 not getting
  proper carriage
  return + line feed in default-web-access.log. Is
 there any
  way to specify
  how new-lines should be handled?
   My program for analysing log files can't handle
 the current new-line
  character. I think I need something that works in
 Notepad,
  not just Wordpad
  (Yes, I'm stuck in Windows).
 
  Regards,
 
  Mikael Eriksson
 
 
 
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




RE: A thank you to Orion from the Annapolis Java User Group

2001-02-09 Thread Korosh Afshar


We are starting to venture into the orion world cautiously but steadly.

would you care to share any insight on pitfals to watch for or issues to
deal with or anything that might hinder our development effort if not dealt
with upfront?

this could be technical or non-technical issues particular to orion.

any such insight from your students would do much to improve the product and
for us to deal with appropriately.


k.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael Van
Sent: Wednesday, February 07, 2001 1:17 AM
To: Orion-Interest
Subject: A thank you to Orion from the Annapolis Java User Group


To Orion and the people who offer support for this product:

THANK YOU!

My name is Michael Van Geertruy and I am the founder and CEO of the
Annapolis MD Java User Group, JUGerNaut (501-c-4).  For the last 15 weeks
I've been teaching a course in this user group called "Java and the
Internet", using the OrionServer as a teaching platform.  That is, each
participant in the course was required to download a version of Orion at
home, and then use OrionServer for thier work in the course.

I chose Orion Server for a number of reasons.  Most notably:
* It is free for use as a development environment.
* It is a TRUE implementation of the J2EE platform.
* Its CPU footprint is very small.
* It has a robust implementation of servlets.
* It has easy to understand, XML-based configuration files.
* It contains xalen and xerces, which allowed us to touch on XSLT's.

On behalf of the JUGerNaut organization, I would like to thank you for
offering this tool for use in our development environment.  Without it, we
would not have been able to offer this training for FREE (the participants
paid no money to attend the course).  Indeed, many of the participants had
prior experience programming EJB's and commented on how superior your
product implements the J2EE when compared to Sybase, Oracle, and
BEA-Weblogic.

Oral course surveys revealed that the participants in the course felt more
secure with the Java technologies of servlets, JSP's, CMP, and BMP using a
home-grown database-connection-pooling bean.  Additionally, this course
produced an EJB that will be used by a local charity organization (saving
them thousands of dollars in development costs).  Without Orion Server, the
quality of training that we gave and the direct impact this program had on
our community would never have happened.

By offering this training for free to all participants, and by training them
using Orion Server, we are growing EJB specialists in Maryland who are
partial to using Orion Server. This translates to experienced engineers
expressing an affinity for Orion Server in the workplace over other
competing technologies.  I sincerely thank you and your organization for
providing us this invaluable resource.

Thank you,

Michael L. Van
CEO, JUGerNaut
[EMAIL PROTECTED]

PS.  We are holding a graduation ceremony for this course and others on
March 14, 2001.  After the ceremony, we are offering open enrollment into
JUGerNaut (free) and thus, to a slew of courses we will be offering (free to
all participants).  They are:
Java Programmer Level Certification (13 - 22 weeks)
Java Developer Level Certification (16 weeks)
Java Architect Level Certification (depending on demand)
J2ME (the vm used on embedded systems)
Java Security API (14 weeks)
All courses use peer instruction (the students use books and a syllabus to
guide them as they study the topics together) and all courses are free to
partipants.  Additionally, we are rolling out a new legal-referral plan to
all members that will help to ensure they will never be "stiffed" on a
contract again.  Please contact me for more information.







Problems with a finder method in a cmp

2001-02-09 Thread fresnaULL

Hi all,

I'm trying to define this finder method in a cmp:

SELECT * FROM people
WHERE people.name LIKE '%name%'

which is correct in SQL SERVER 7.0

I put the following in the people home interface:

String findByName_query = "people.name like '%$1%'";
.
.
.
public java.util.Enumeration findByName(String value) throws
java.rmi.RemoteException, javax.ejb.FinderException;

but it doesn't work. Orion is able to deploy the cmp but when I try to use
it I only get this
error message:

500 Internal Server Error
java.lang.NullPointerException
 at sun.jdbc.odbc.JdbcOdbcPreparedStatement.clearParameter(Unknown Source)
 at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(Unknown Source)
 at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(Unknown Source)
 at com.evermind.sql.am.setString(JAX)
 at com.evermind.sql.am.setString(JAX)
 at
PeopleHome_EntityHomeWrapper72.findByName(PeopleHome_EntityHomeWrapper72.jav
a:1142)
 at Search.doGet(Search.java:46)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at com.evermind.server.http.d1.si(JAX)
 at com.evermind.server.http.d1.forward(JAX)
 at com.evermind.server.http.ed.sp(JAX)
 at com.evermind.server.http.ed.so(JAX)
 at com.evermind.util.f.run(JAX)


Does anybody know how i can make it work?

Thanks in advance








FW: ClassNotFoundExcpetion running xalan extensions under Orion app s erver

2001-02-09 Thread Peter Delahunty


Hi guys 

i am having problems now that you may know about. 

I am calling xalan from a servlet running under orion which is working ok.
However in the xslt stylesheet that i am running through xalan i call out to
a java class using the xalan extensions mechanism. This xslt works fine when
i run it though the commandline however when i run it under orion, xalan
cannot find the class. The class is in the my-app/web-inf/classes
directory (standard place for classes accessed by a servlet). 

I can see the class from the servlet that calls xalan but xalan throws a
"ClassNotFoundException" when it trys to load the classes. 

Do you know where my classes need to be in this situation. I looked though
the source of xalan an it seems to use the ContextClassLoader to load the
classes. Does this conflict with orion's class loader.

comments...

regards peter




How to get the TransationManager

2001-02-09 Thread Ralph Vater

Hi,
i want to use TOPLink 3.0 as a BMP-Persistence Manager in my Beans.
Now i have the problem to find the Orion-TransactionManager and join
him with the TOPLink UnitOfWork. In other ApplicationServer i simply
need to make a small lookup (eg. (new
InitialContext).lookup("java:/TransactionManager"))
but i found no name, on witch the OrionTransaction Manager is bound to
or some document about it at the various sites.
in the ejb-2.0 proposed final spec the lookup-name for the TM is
specified to "java:pm/TransactionManager" but it seems that orion
currently doesn't support this part of the new spec. my lookup
died with a nice NameNotFoundException. :-/

can anybody help ??

thanks
/ralph





Controlling the Class path order for XALAN

2001-02-09 Thread Peter Delahunty


Hi guys

i am trying to run Xalan with Orion. However i am having some problems. 

i get "Namespace not supported by SAXParser" error. Now i have found that
this is because jaxp.jar is also on the classpath. However Orion requires
this to work. 

So to solve this problem i need to have jaxp.jar come after xalan.jar on the
class path for me running my application under orion. 

eg. xalan.jar;jaxp.jar
This way the classes in xalan.jar are loaded first and are used instead of
jaxp.jar

as far as i know the avaiale classpath directories are, in this order i
think

1.  /orion  root (currently contains jaxp.jar and orions versions of
xalan.jar and xerces.jar)
2.  /orion/lib  for golbal files (currently does not contain any
files related to me)
3.  my-app-directory/web-inf/lib (currently contains the lastest
versions of xalan.jar and xerces.jar)


So my question is how do i get my version of Xalan.jar and xerces.jar to
load before jaxp.jar

cheers 




RE: A thank you to Orion from the Annapolis Java User Group

2001-02-09 Thread Kemp Randy-W18971

I look forward to previewing this wonderful course, when it is ready. 

-Original Message-
From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 12:52 AM
To: Orion-Interest
Subject: RE: A thank you to Orion from the Annapolis Java User Group


Is there any chance of getting this course put online so that others outside
of Maryland can benefit? It sounds like you've built something quite unique
as a tutorial that teaches people the basics of servlets, XML/XSLT, EJBs
etc?

(I help run OrionSupport and we'd be happy to put it up / host it there)

It would serve as a nice compliment to the jollem.com tutorials.

-mike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Van
 Sent: Wednesday, February 07, 2001 5:17 PM
 To: Orion-Interest
 Subject: A thank you to Orion from the Annapolis Java User Group


 To Orion and the people who offer support for this product:

 THANK YOU!

 My name is Michael Van Geertruy and I am the founder and CEO of the
 Annapolis MD Java User Group, JUGerNaut (501-c-4).  For the last 15 weeks
 I've been teaching a course in this user group called "Java and the
 Internet", using the OrionServer as a teaching platform.  That is, each
 participant in the course was required to download a version of Orion at
 home, and then use OrionServer for thier work in the course.

 I chose Orion Server for a number of reasons.  Most notably:
 * It is free for use as a development environment.
 * It is a TRUE implementation of the J2EE platform.
 * Its CPU footprint is very small.
 * It has a robust implementation of servlets.
 * It has easy to understand, XML-based configuration files.
 * It contains xalen and xerces, which allowed us to touch on XSLT's.

 On behalf of the JUGerNaut organization, I would like to thank you for
 offering this tool for use in our development environment.  Without it, we
 would not have been able to offer this training for FREE (the participants
 paid no money to attend the course).  Indeed, many of the participants had
 prior experience programming EJB's and commented on how superior your
 product implements the J2EE when compared to Sybase, Oracle, and
 BEA-Weblogic.

 Oral course surveys revealed that the participants in the course felt more
 secure with the Java technologies of servlets, JSP's, CMP, and BMP using a
 home-grown database-connection-pooling bean.  Additionally, this course
 produced an EJB that will be used by a local charity organization (saving
 them thousands of dollars in development costs).  Without Orion
 Server, the
 quality of training that we gave and the direct impact this program had on
 our community would never have happened.

 By offering this training for free to all participants, and by
 training them
 using Orion Server, we are growing EJB specialists in Maryland who are
 partial to using Orion Server. This translates to experienced engineers
 expressing an affinity for Orion Server in the workplace over other
 competing technologies.  I sincerely thank you and your organization for
 providing us this invaluable resource.

 Thank you,

 Michael L. Van
 CEO, JUGerNaut
 [EMAIL PROTECTED]

 PS.  We are holding a graduation ceremony for this course and others on
 March 14, 2001.  After the ceremony, we are offering open enrollment into
 JUGerNaut (free) and thus, to a slew of courses we will be
 offering (free to
 all participants).  They are:
 Java Programmer Level Certification (13 - 22 weeks)
 Java Developer Level Certification (16 weeks)
 Java Architect Level Certification (depending on demand)
 J2ME (the vm used on embedded systems)
 Java Security API (14 weeks)
 All courses use peer instruction (the students use books and a syllabus to
 guide them as they study the topics together) and all courses are free to
 partipants.  Additionally, we are rolling out a new legal-referral plan to
 all members that will help to ensure they will never be "stiffed" on a
 contract again.  Please contact me for more information.








RE: Problem with two Orions on same box!!!

2001-02-09 Thread Rob Lapensee

In the config directory:
In rmi.xml make sure that the port attribute is set (4000 in this example):

?xml version="1.0"?
!DOCTYPE rmi-server PUBLIC "Orion RMI-server"
"http://www.orionserver.com/dtds
/rmi-server.dtd"

rmi-server port="4000"
   !-- A remote server connection example --
   !-- server host="the.remote.server.com" username="adminUser"
password="123
abc" / --

   !-- path to the log-file where RMI-events/errors are stored --
   log
  file path="../log/rmi.log" /
   /log
/rmi-server

in default-web-site.xml make sure the port attribute is set (8080 in this
example):

?xml version="1.0"?
!DOCTYPE web-site PUBLIC "Orion Web-site"
"http://www.orionserver.com/dtds/web
-site.dtd"

web-site host="[ALL]" port="8080" display-name="Default Orion WebSite"
   !-- The default web-app for this site, bound to the root --
   default-web-app application="default" name="defaultWebApp" /
   !--
  NAME - refers to the directory under delfour
  ROOT - refers to the url it is mapped to --
   web-app application="delfour"
  name="servlet"
  root="/delfour_servlet" /

   !-- Uncomment this to activate the news app --
   !-- web-app application="news" name="news-web" root="/news" / --
   !-- Access Log, where requests are logged to --
   access-log path="../log/default-web-access.log" /
/web-site

Regards,

Rob Lapensee
Director of Technology
Delfour Corporation
www.delfour.com
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mohit Palhan
Sent: Thursday, February 08, 2001 5:02 AM
To: Orion-Interest
Subject: Problem with two Orions on same box!!!

I do not have access to two servers, and have installed 2 Orions on the same
box, how do I make sure that they do not use the same ports for the RMI
server
and for the HTTP server??
Please help
Mohit
Have a nice day :-)

  ***
 
  The information contained in this message (including any attachments) is
  confidential and may be legally privileged.
  If you are not the intended recipient, please delete it from your system
  immediately - any disclosure, copying or distribution thereof or any
  action taken or omitted to be taken in reliance thereon is prohibited
  and may be unlawful.AITPL makes no warranty as to the accuracy or
  completeness of any information contained in this message and hereby
  excludes any liability of any kind for the information contained herein
  or for the transmission, reception, storage or use of such information
  in any way whatsoever.  Any opinions expressed in this message are those
  of the author and do not necessarily reflect the opinions of AITPL.
  **
  ***
 
 
 

--

*

The information contained in this message (including any attachments) is
confidential and may be legally privileged.
If you are not the intended recipient, please delete it from your system
immediately - any disclosure, copying or distribution thereof or any action
taken or omitted to be taken in reliance thereon is prohibited and may be
unlawful.AITPL makes no warranty as to the accuracy or completeness of any
information contained in this message and hereby excludes any liability of
any
kind for the information contained herein or for the transmission,
reception,
storage or use of such information in any way whatsoever.  Any opinions
expressed in this message are those of the author and do not necessarily
reflect
the opinions of AITPL.

*






Setting Cookies

2001-02-09 Thread S.Badrinarayanan

Hi 
 
Is there a known problem with adding cookies using orion 1.4.5?  I have the following 
code to set cookies 
 
res.addCookie(new javax.servlet.http.Cookie("1", "one")); 
javax.servlet.RequestDispatcher dis = 
getServletContext().getRequestDispatcher(common.util.Utils.MESSAGE_PAGE); 
dis.forward(req, res); 
 
I am printing out the cookie values in the jsp (forward statement).  But I get an 
empty list. 
 
What am I missing here? 
 
Regards 
sb 

Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com




The best way to get the context path

2001-02-09 Thread Randahl Fink Isaksen
Title: where should I place the image files



Petr 
Podsednik wrote:img 
src="%=request.getContextPath()%/images/app-logo.gif" ..


- I knowthat you often 
needyour own context path in order to return a correct link to some 
resource inyour web-app, but isthere not a better way than 
callingrequest.getContextPath() ?It seems odd to me to ask for the 
context path on the request object - I am looking for something 
like

pageContext.getServletContext().getInitParameter("the 
application context path")

but I have not been ablefind out 
how to make this work...


Any comments / suggestions would be 
appreciated

R.


RE: A thank you to Orion from the Annapolis Java User Group

2001-02-09 Thread Dominic Hanlan


I would second that request.

From: "Mike Cannon-Brookes" [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: A thank you to Orion from the Annapolis Java User Group
Date: Thu, 8 Feb 2001 17:52:16 +1100

Is there any chance of getting this course put online so that others 
outside
of Maryland can benefit? It sounds like you've built something quite unique
as a tutorial that teaches people the basics of servlets, XML/XSLT, EJBs
etc?

(I help run OrionSupport and we'd be happy to put it up / host it there)

It would serve as a nice compliment to the jollem.com tutorials.

-mike

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Van
  Sent: Wednesday, February 07, 2001 5:17 PM
  To: Orion-Interest
  Subject: A thank you to Orion from the Annapolis Java User Group
 
 
  To Orion and the people who offer support for this product:
 
  THANK YOU!
 
  My name is Michael Van Geertruy and I am the founder and CEO of the
  Annapolis MD Java User Group, JUGerNaut (501-c-4).  For the last 15 
weeks
  I've been teaching a course in this user group called "Java and the
  Internet", using the OrionServer as a teaching platform.  That is, each
  participant in the course was required to download a version of Orion at
  home, and then use OrionServer for thier work in the course.
 
  I chose Orion Server for a number of reasons.  Most notably:
  * It is free for use as a development environment.
  * It is a TRUE implementation of the J2EE platform.
  * Its CPU footprint is very small.
  * It has a robust implementation of servlets.
  * It has easy to understand, XML-based configuration files.
  * It contains xalen and xerces, which allowed us to touch on XSLT's.
 
  On behalf of the JUGerNaut organization, I would like to thank you for
  offering this tool for use in our development environment.  Without it, 
we
  would not have been able to offer this training for FREE (the 
participants
  paid no money to attend the course).  Indeed, many of the participants 
had
  prior experience programming EJB's and commented on how superior your
  product implements the J2EE when compared to Sybase, Oracle, and
  BEA-Weblogic.
 
  Oral course surveys revealed that the participants in the course felt 
more
  secure with the Java technologies of servlets, JSP's, CMP, and BMP using 
a
  home-grown database-connection-pooling bean.  Additionally, this course
  produced an EJB that will be used by a local charity organization 
(saving
  them thousands of dollars in development costs).  Without Orion
  Server, the
  quality of training that we gave and the direct impact this program had 
on
  our community would never have happened.
 
  By offering this training for free to all participants, and by
  training them
  using Orion Server, we are growing EJB specialists in Maryland who are
  partial to using Orion Server. This translates to experienced engineers
  expressing an affinity for Orion Server in the workplace over other
  competing technologies.  I sincerely thank you and your organization for
  providing us this invaluable resource.
 
  Thank you,
 
  Michael L. Van
  CEO, JUGerNaut
  [EMAIL PROTECTED]
 
  PS.  We are holding a graduation ceremony for this course and others on
  March 14, 2001.  After the ceremony, we are offering open enrollment 
into
  JUGerNaut (free) and thus, to a slew of courses we will be
  offering (free to
  all participants).  They are:
  Java Programmer Level Certification (13 - 22 weeks)
  Java Developer Level Certification (16 weeks)
  Java Architect Level Certification (depending on demand)
  J2ME (the vm used on embedded systems)
  Java Security API (14 weeks)
  All courses use peer instruction (the students use books and a syllabus 
to
  guide them as they study the topics together) and all courses are free 
to
  partipants.  Additionally, we are rolling out a new legal-referral plan 
to
  all members that will help to ensure they will never be "stiffed" on a
  contract again.  Please contact me for more information.
 
 
 


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Re: ATM application not working in 1.4.0

2001-02-09 Thread Ray Harrison

There should be a jms config section in your server.xml file that needs 
uncommenting
if not here is what you should have:

!-- JMS-server config link, uncomment to activate the JMS service --
jms-config path="./jms.xml" /



--- Globetrot Communications [EMAIL PROTECTED] wrote:
 The ATM sample I am trying to deploy is the one that
 came with Orion 1.4.0. Looks like the problem is that
 the JMS server is not running! What could cause that?
 
 Thanks for your help.
 
 I am attaching the mail-session tag from server.xml.
 
 mail-session location="mail/MailSession"
 smtp-host="mailhost.driftwood.com"
property name="mail.transport.protocol"
 value="smtp" /
property name="mail.smtp.from"
 value="[EMAIL PROTECTED]" /
property name="mail.from"
 value="[EMAIL PROTECTED]" /
 /mail-session
 
 
 
 Error deploying
 file:/home/local/orion/applications/atm/atm-ejb.jar
 homes: Unable to link resource MessageDrivenBean
 com.acme.atm.ejb.MainLoggerEJB, no JMS server running
 
 --- Globetrot Communications [EMAIL PROTECTED]
 wrote:
  When I try to register on the web-page in ATM
  application, I get the following exceptions! I was
  hoping to use this application to see how exactly it
  is doing O/R mapping.
  
  Thanks.
  
  Satish
  
  
  javax.servlet.jsp.JspException: NamingException:
  com.acme.atm.ejb.AccountOwnerManager not found
  at
 
 com.evermind.ejb.taglib.UseHomeTag.doStartTag(UseHomeTag.java:37)
  at
  /doAddUser.jsp._jspService(/doAddUser.jsp.java:43)
  (JSP page line 3)
  at
  com.orionserver.http.OrionHttpJspPage.service(JAX)
  at
  com.evermind.server.http.HttpApplication.xa(JAX)
  at
  com.evermind.server.http.JSPServlet.service(JAX)
  at com.evermind.server.http.d3.so(JAX)
  at com.evermind.server.http.d3.sm(JAX)
  at com.evermind.server.http.ef.su(JAX)
  at com.evermind.server.http.ef.dn(JAX)
  at com.evermind.util.f.run(JAX)
  
  __
  Do You Yahoo!?
  Yahoo! Auctions - Buy the things you want at great
  prices.
  http://auctions.yahoo.com/
  
 
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35 
 a year!  http://personal.mail.yahoo.com/
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




Re: Problems with a finder method in a cmp

2001-02-09 Thread Joseph B. Ottinger

You'll want to use $1 in the finder method, and specify "%"+name+"%" in
the finder call. Hmm, that didn't sound right... let's try again.

 String findByName_query = "people.name like '$1'";

 ..

 List myList=person.findByName("%"+name+"%");

It could be that EQL will address this; I don't know.

On Thu, 8 Feb 2001, fresnaULL wrote:

 Hi all,
 
 I'm trying to define this finder method in a cmp:
 
 SELECT * FROM people
 WHERE people.name LIKE '%name%'
 
 which is correct in SQL SERVER 7.0
 
 I put the following in the people home interface:
 
 String findByName_query = "people.name like '%$1%'";
 .
 .
 .
 public java.util.Enumeration findByName(String value) throws
 java.rmi.RemoteException, javax.ejb.FinderException;
 
 but it doesn't work. Orion is able to deploy the cmp but when I try to use
 it I only get this
 error message:
 
 500 Internal Server Error
 java.lang.NullPointerException
  at sun.jdbc.odbc.JdbcOdbcPreparedStatement.clearParameter(Unknown Source)
  at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(Unknown Source)
  at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(Unknown Source)
  at com.evermind.sql.am.setString(JAX)
  at com.evermind.sql.am.setString(JAX)
  at
 PeopleHome_EntityHomeWrapper72.findByName(PeopleHome_EntityHomeWrapper72.jav
 a:1142)
  at Search.doGet(Search.java:46)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at com.evermind.server.http.d1.si(JAX)
  at com.evermind.server.http.d1.forward(JAX)
  at com.evermind.server.http.ed.sp(JAX)
  at com.evermind.server.http.ed.so(JAX)
  at com.evermind.util.f.run(JAX)
 
 
 Does anybody know how i can make it work?
 
 Thanks in advance
 
 
 
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant





Creating new account in Bugzilla not working?

2001-02-09 Thread Douma, Ate

I've created an account in Orion Bugzilla several days ago but haven't
received my password yet.
I've also requested the sending of the password again and again, but to no
effect.
Has anyone been able to create an account and received a password recently?

Ate Douma




RE: Save Life

2001-02-09 Thread Kemp Randy-W18971



I am 
very happy to see you taking an active role in aiding the suffering of others. 


  -Original Message-From: waheed_rahuman 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 07, 2001 
  11:49 PMTo: Orion-InterestCc: 
  [EMAIL PROTECTED]; alavoor; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
  durai senthil; [EMAIL PROTECTED]; [EMAIL PROTECTED]; JANU; 
  [EMAIL PROTECTED]; Joe Conway; [EMAIL PROTECTED]; karthik raj; 
  m hemalatha; Madan Raj M; [EMAIL PROTECTED]; mohammed farook; Nagalakshmi , 
  Chennai; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]; Orion-Interest; Parasuram Prabhu, Chennai; Peter T 
  Mount; [EMAIL PROTECTED]; Raj Mohamed; [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]; RENGARAJAN ANANDHI; Renuka R, Chennai; Samuel, Paul; 
  sanjeev; sarubala sowmi; shreedevi ramalingam; [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]; [EMAIL PROTECTED]; vinothini; vis suSubject: Save 
  Life
   Please visit the link below. The site 
  has promised to pay Re 1 to the earthquake 
  victims for every visit to this page. http://www.on-lyne.com/earthquake.htm
  
  This is for the people of gujarat  all of us 
  who  wants to help them.   Goto the 
  website http://www.causeanaffect.org 
Every click on its "SAVE A LIFE" button will result 
  in  donation of food packets for the victims. It will not 
   cost anything to the people clicking on the site,  because 
  corporations are paying for the donations.  Just two clicks would 
  save a life...   I would appreciate it if you pass it 
  along to your  friends  others which could help the 
  needy.
  
  
  Yours 
  waheed


Orion Server compared to Oracle AS

2001-02-09 Thread John Hogan

Has anyone done/know of a comarison of these two products?

I know Oracle sits on Apache and JServ, and that bench marks on the 
Orion site show that Orion has some clear advantages vs Apache.  I'm 
hoping someone has some first experiences they can share.  TIA.

JohnH 

_

Get your free E-mail at http://www.ireland.com




R: Why is Netscape slower with Orion?

2001-02-09 Thread Marco Isella

One thing netscape is very very slow at is when it has to render nested
tables.. i had a page with 4 level nested tables  with netscape it was a
metter of second before the rendering was done; i switched to a single table
 the performing was almost acceptable (anyway far slower than ie).

This was wit ns 4.X, with ns 6 they have speed it up a little(but still much
slower than ie).
Marco


-Messaggio originale-
Da: Huibert Aalbers [mailto:[EMAIL PROTECTED]]
Inviato: venerdi, 26. gennaio 2001 17:58
A: Orion-Interest
Oggetto: Why is Netscape slower with Orion?


Hi everyone,

Is it just me or has anyone noticed that Netscape is significantly
slower than IE when accessing an application built with orion? Could
there be anything wrong with my settings?

Thanks,

Huibert Aalbers
Informix Software





RE: where should I place the image files

2001-02-09 Thread Thomas Pridham
Title: where should I place the image files



This 
is how we placed our image files

1. We have an images sub-folder in our jsp 
directory.
2. We reference an image in the jsp with the 
following code:
img src="images/logo3.jpg"
3. We use ant to build our ear 
file.

Hope 
this helps.

Regards,
Tom 
Pridham

  -Original Message-From: Randahl Fink Isaksen 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, February 08, 2001 
  5:40 AMTo: Orion-InterestSubject: RE: where should I 
  place the image files
  It 
  is probably not just his image URLs - I have experienced the exact same 
  problem, and I feel confident that it is not caused by wrong URLs. For some 
  reason Orion does not copy the image files from the .ear archive when I 
  publish it, but if I do a manual copy of the image files to the right location 
  everything works fine.
  
  I 
  too would like to hear from somebody who has made this 
  work.
  
  R.
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus 
RydinSent: 8. februar 2001 08:25To: 
Orion-InterestSubject: SV: where should I place the image 
files
your image files normaly goes with the rest of your web-content, that 
is, next to your html files etc.
An 
idea would be to check the image URL:s.
WR

  -Ursprungligt meddelande-Från: Guan, Thomas 
  [mailto:[EMAIL PROTECTED]]Skickat: den 7 februari 2001 
  11:59Till: Orion-InterestÄmne: where should I place 
  the image files
  Hi: 
   I have deployed a ear 
  file which includes image files on orion server. However, I did not 
  see the image files on the web pages. Can someone tell me where I 
  should place my image files? thanks.
   
  Tom Guan (Shaohua) 
  856-857-1324 X 2525 Senior Java Developer NFI Interactive Logistics ... 



RE: ClassNotFoundExcpetion running xalan extensions under Orion app s erver

2001-02-09 Thread Russ White

Add a library tag in orion-application.xml that references your
/web-inf/classes directory.

like this:

library path = "../applications/your-app/your-web-app/web-inf/classes"

HTH
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter
Delahunty
Sent: Friday, February 09, 2001 4:57 AM
To: Orion-Interest
Subject: FW: ClassNotFoundExcpetion running xalan extensions under Orion
app s erver



Hi guys

i am having problems now that you may know about.

I am calling xalan from a servlet running under orion which is working ok.
However in the xslt stylesheet that i am running through xalan i call out to
a java class using the xalan extensions mechanism. This xslt works fine when
i run it though the commandline however when i run it under orion, xalan
cannot find the class. The class is in the my-app/web-inf/classes
directory (standard place for classes accessed by a servlet).

I can see the class from the servlet that calls xalan but xalan throws a
"ClassNotFoundException" when it trys to load the classes.

Do you know where my classes need to be in this situation. I looked though
the source of xalan an it seems to use the ContextClassLoader to load the
classes. Does this conflict with orion's class loader.

comments...

regards peter






RE: Setting Cookies

2001-02-09 Thread Mikael Eriksson

Hi,

I'm not to sure about this, but the explanation below sounded some-what
logic.

Since the cookie is stored on the client machine, it can not be saved until
the browser has received a response. When you're making a forward this will
be done on the server-side only. This way the cookie will not be sent to the
page you are making the forward to. However, when that page has been sent to
the browser I guess that the cookie will be sent in all requests following
that.

/Mikael Eriksson

 -Original Message-
 From: S.Badrinarayanan [mailto:[EMAIL PROTECTED]]
 Sent: den 9 februari 2001 12:48
 To: Orion-Interest
 Subject: Setting Cookies


 Hi

 Is there a known problem with adding cookies using orion
 1.4.5?  I have the following
 code to set cookies

 res.addCookie(new javax.servlet.http.Cookie("1", "one"));
 javax.servlet.RequestDispatcher dis =
 getServletContext().getRequestDispatcher(common.util.Utils.MES
 SAGE_PAGE);
 dis.forward(req, res);

 I am printing out the cookie values in the jsp (forward
 statement).  But I get an
 empty list.

 What am I missing here?

 Regards
 sb

 Chequemail.com - a free web based e-mail service that also pays!!!
 http://www.chequemail.com






RE: A thank you to Orion from the Annapolis Java User Group

2001-02-09 Thread Kemp Randy-W18971

I like to open this up with a "marketing" hat vs. a "development" hat. I think you 
need to familiarize yourself with Orion, and look at the "official" doc, what there is 
of it at www.orionserver.com, plus the unofficial material at www.jollem.com and 
www.orionsupport.com.  I actively encourage students and developers to play with Orion 
and jboss/tomcat (www.jboss.org).  The only thing I am not sure of (and this list 
hasn't answered the question) is how would Orion hold up traffic wise, in say running 
an "e" store the size of Sears and Roebucks?  Is this just a task suitable to the big 
guns, like WebSphere and Weblogic, or can Orion stand up in the boxing ring?  I see 
Orion and the open source contenders making a nice niche into the low and middle 
company markets, but not into the fortune five hundred (at present).  A big bottleneck 
is the support and documentation issues.  If you look at the open source databases, 
for example (www.mysql.com and www.postgresql.org), the first h!
!
!
as excellent documentation and the second is OK.  Both offer excellent support 
services though companies and lists, but they have a hard time upsetting the big guns, 
such as Oracle.  And you have to enlighten companies about what the little guy offers 
(besides price) that the big name does not. 
(my .02 insights)

-Original Message-
From: Korosh Afshar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 9:17 AM
To: Orion-Interest
Subject: RE: A thank you to Orion from the Annapolis Java User Group



We are starting to venture into the orion world cautiously but steadly.

would you care to share any insight on pitfals to watch for or issues to
deal with or anything that might hinder our development effort if not dealt
with upfront?

this could be technical or non-technical issues particular to orion.

any such insight from your students would do much to improve the product and
for us to deal with appropriately.


k.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael Van
Sent: Wednesday, February 07, 2001 1:17 AM
To: Orion-Interest
Subject: A thank you to Orion from the Annapolis Java User Group


To Orion and the people who offer support for this product:

THANK YOU!

My name is Michael Van Geertruy and I am the founder and CEO of the
Annapolis MD Java User Group, JUGerNaut (501-c-4).  For the last 15 weeks
I've been teaching a course in this user group called "Java and the
Internet", using the OrionServer as a teaching platform.  That is, each
participant in the course was required to download a version of Orion at
home, and then use OrionServer for thier work in the course.

I chose Orion Server for a number of reasons.  Most notably:
* It is free for use as a development environment.
* It is a TRUE implementation of the J2EE platform.
* Its CPU footprint is very small.
* It has a robust implementation of servlets.
* It has easy to understand, XML-based configuration files.
* It contains xalen and xerces, which allowed us to touch on XSLT's.

On behalf of the JUGerNaut organization, I would like to thank you for
offering this tool for use in our development environment.  Without it, we
would not have been able to offer this training for FREE (the participants
paid no money to attend the course).  Indeed, many of the participants had
prior experience programming EJB's and commented on how superior your
product implements the J2EE when compared to Sybase, Oracle, and
BEA-Weblogic.

Oral course surveys revealed that the participants in the course felt more
secure with the Java technologies of servlets, JSP's, CMP, and BMP using a
home-grown database-connection-pooling bean.  Additionally, this course
produced an EJB that will be used by a local charity organization (saving
them thousands of dollars in development costs).  Without Orion Server, the
quality of training that we gave and the direct impact this program had on
our community would never have happened.

By offering this training for free to all participants, and by training them
using Orion Server, we are growing EJB specialists in Maryland who are
partial to using Orion Server. This translates to experienced engineers
expressing an affinity for Orion Server in the workplace over other
competing technologies.  I sincerely thank you and your organization for
providing us this invaluable resource.

Thank you,

Michael L. Van
CEO, JUGerNaut
[EMAIL PROTECTED]

PS.  We are holding a graduation ceremony for this course and others on
March 14, 2001.  After the ceremony, we are offering open enrollment into
JUGerNaut (free) and thus, to a slew of courses we will be offering (free to
all participants).  They are:
Java Programmer Level Certification (13 - 22 weeks)
Java Developer Level Certification (16 weeks)
Java Architect Level Certification (depending on demand)
J2ME (the vm used on embedded systems)
Java Security API (14 weeks)
All courses use peer instruction (the students use books and a 

Re: Jbuilder 4.0 simple question

2001-02-09 Thread KirkYarina

Project/Project Properties/Source/Add, then Project/Add 
Files\/Packages.  Aksi try Help/Help Topics.

But isn't www.borland.com a better place to find JBuilder 
information?  This does seem a bit off topic for the Orion Interest list.

Kirk Yarina

At 11:21 AM 2/9/01 +, you wrote:
Hi all,

Does anybody know a way of adding a whole directory with sub-directories and
files to a project, or do you have to add create each directory individually
and add the files to them???

Thanks,

Louise





Re: Setting Cookies

2001-02-09 Thread Geoff Marshall

Here's my code.  Seems to work...



import javax.servlet.*;
import javax.servlet.http.*;

public class SessionBean {
private boolean loggedOn;

public SessionBean() {
this.loggedOn = false;
}

// get customer ID from cookie
public String getCustId(HttpServletRequest req) {
Cookie[] cookies = req.getCookies();

if (cookies != null  cookies.length  0) {
for (int i = 0; i  cookies.length; i++) {
Cookie cookie = cookies[i];
if ("cust_id".equals(cookie.getName())) {
String s = cookie.getValue();
s = s==null ? "" : s; // do not return null
return s;
}
}
}
return ""; 
}

// put customer ID into cookie and log on
public void setCustId(HttpServletResponse res, String cust) {
Cookie cookie = new Cookie("cust_id", cust);
res.addCookie(cookie);
logOn();
}

public void logOn() {
this.loggedOn=true;
}
public void logOff() {
this.loggedOn=false;
}
public boolean isLoggedOn() {
return this.loggedOn;
}
}
-- 

-Geoff Marshall, Director of Development

...
t e r r a s c o p e  (415) 951-4944
54 Mint Street, Suite 110 direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
...

 From: "S.Badrinarayanan" [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 Date: 9 Feb 2001 07:27:19 +
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: Setting Cookies
 
 Hi
 
 Is there a known problem with adding cookies using orion 1.4.5?  I have the
 following code to set cookies
 
 res.addCookie(new javax.servlet.http.Cookie("1", "one"));
 javax.servlet.RequestDispatcher dis =
 getServletContext().getRequestDispatcher(common.util.Utils.MESSAGE_PAGE);
 dis.forward(req, res);
 
 I am printing out the cookie values in the jsp (forward statement).  But I get
 an empty list.
 
 What am I missing here?
 
 Regards
 sb
 
 
 Chequemail.com - a free web based e-mail service that also pays!!!
 http://www.chequemail.com
 
 





RE: Controlling the Class path order for XALAN

2001-02-09 Thread Tony Wilson

One ugly way is to rename them to aXalan.jar, axerces.jar... therefore
putting them alphabetically before jaxp.jar
They would have to be in the same directory, though.

Like I said, ugly.

-Original Message-
From:   Peter Delahunty
[mailto:[EMAIL PROTECTED]]
Sent:   Thursday, February 08, 2001 4:21 AM
To: Orion-Interest
Subject:Controlling the Class path order for XALAN


Hi guys

i am trying to run Xalan with Orion. However i am having
some problems.  

i get "Namespace not supported by SAXParser" error. Now i
have found that
this is because jaxp.jar is also on the classpath. However
Orion requires
this to work. 

So to solve this problem i need to have jaxp.jar come after
xalan.jar on the
class path for me running my application under orion. 

eg. xalan.jar;jaxp.jar
This way the classes in xalan.jar are loaded first and are
used instead of
jaxp.jar

as far as i know the avaiale classpath directories are, in
this order i
think

1.  /orion  root (currently contains jaxp.jar and orions
versions of
xalan.jar and xerces.jar)
2.  /orion/lib  for golbal files (currently does not
contain any
files related to me)
3.  my-app-directory/web-inf/lib (currently contains
the lastest
versions of xalan.jar and xerces.jar)


So my question is how do i get my version of Xalan.jar and
xerces.jar to
load before jaxp.jar

cheers 




RE: Problem with two Orions on same box!!!

2001-02-09 Thread Tony Wilson

You can also assign multiple Ips to each box and have orion run on each IP,
retaining the default ports for RMI communication.

Tony Wilson

-Original Message-
From:   Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, February 08, 2001 7:29 PM
To: Orion-Interest
Subject:RE: Problem with two Orions on same box!!!

Not sure about RMI server, but each application deployed as
an xml config
file for it. In that file, which is specified in the
server.xml file, you
list the port you want http to listen on.

Look in the web-site.xml.html in the docs folder. In my
server.xml I have
web-site path="./bm_web.xml" /. Then, in bm_web.xml I have
something like:

web-site host="[ALL]" port="80" display-name="My site"
default-web-app application="app" name="live-www"
/
access-log path="c:\apps\logs\app-web.log" /
/web-site


I am sure you can do something similar for RMI on various
ports for each
web-app.

HTH.



 -Original Message-
 From: Mohit Palhan [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 08, 2001 2:02 AM
 To: Orion-Interest
 Subject: Problem with two Orions on same box!!!
 
 
 I do not have access to two servers, and have installed 2 
 Orions on the same
 box, how do I make sure that they do not use the same
ports 
 for the RMI server
 and for the HTTP server??
 Please help
 Mohit
 Have a nice day :-)
 
   ***
  
   The information contained in this message (including
any 
 attachments) is
   confidential and may be legally privileged.
   If you are not the intended recipient, please delete
it 
 from your system
   immediately - any disclosure, copying or distribution 
 thereof or any
   action taken or omitted to be taken in reliance
thereon 
 is prohibited
   and may be unlawful.AITPL makes no warranty as to the
accuracy or
   completeness of any information contained in this
message 
 and hereby
   excludes any liability of any kind for the information

 contained herein
   or for the transmission, reception, storage or use of 
 such information
   in any way whatsoever.  Any opinions expressed in this

 message are those
   of the author and do not necessarily reflect the
opinions 
 of AITPL.
  
**
   ***
  
  
  
 
 --

**
 ***
 
 The information contained in this message (including any 
 attachments) is
 confidential and may be legally privileged.
 If you are not the intended recipient, please delete it
from 
 your system
 immediately - any disclosure, copying or distribution
thereof 
 or any action
 taken or omitted to be taken in reliance thereon is 
 prohibited and may be
 unlawful.AITPL makes no warranty as to the accuracy or 
 completeness of any
 information contained in this message and hereby excludes
any 
 liability of any
 kind for the information contained herein or for the 
 transmission, reception,
 storage or use of such information in any way whatsoever.

 Any opinions
 expressed in this message are those of the author and do
not 
 necessarily reflect
 the opinions of AITPL.

**
 ***
 
 
 




RE: Problems with a finder method in a cmp

2001-02-09 Thread Madrid, Christopher P (US - Austin)
Title: RE: Problems with a finder method in a cmp





I don't think that will work.


Query in orion-ejb-jar.xml
should be people.name like $1
and not people.name like '$1'
but the finder method should be 
used as indicated.


Chris Madrid
Deloitte Consulting


-Original Message-
From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 8:03 AM
To: Orion-Interest
Subject: Re: Problems with a finder method in a cmp



You'll want to use $1 in the finder method, and specify %+name+% in
the finder call. Hmm, that didn't sound right... let's try again.


String findByName_query = people.name like '$1';


..


List myList=person.findByName(%+name+%);


It could be that EQL will address this; I don't know.


On Thu, 8 Feb 2001, fresnaULL wrote:


 Hi all,
 
 I'm trying to define this finder method in a cmp:
 
 SELECT * FROM people
 WHERE people.name LIKE '%name%'
 
 which is correct in SQL SERVER 7.0
 
 I put the following in the people home interface:
 
 String findByName_query = people.name like '%$1%';
 .
 .
 .
 public java.util.Enumeration findByName(String value) throws
 java.rmi.RemoteException, javax.ejb.FinderException;
 
 but it doesn't work. Orion is able to deploy the cmp but when I try to use
 it I only get this
 error message:
 
 500 Internal Server Error
 java.lang.NullPointerException
 at sun.jdbc.odbc.JdbcOdbcPreparedStatement.clearParameter(Unknown Source)
 at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(Unknown Source)
 at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(Unknown Source)
 at com.evermind.sql.am.setString(JAX)
 at com.evermind.sql.am.setString(JAX)
 at
 PeopleHome_EntityHomeWrapper72.findByName(PeopleHome_EntityHomeWrapper72.jav
 a:1142)
 at Search.doGet(Search.java:46)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at com.evermind.server.http.d1.si(JAX)
 at com.evermind.server.http.d1.forward(JAX)
 at com.evermind.server.http.ed.sp(JAX)
 at com.evermind.server.http.ed.so(JAX)
 at com.evermind.util.f.run(JAX)
 
 
 Does anybody know how i can make it work?
 
 Thanks in advance
 
 
 
 
 


---
Joseph B. Ottinger [EMAIL PROTECTED]
http://epesh.com/ IT Consultant


- This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. - If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.




Re: R: Why is Netscape slower with Orion?

2001-02-09 Thread James Hays

This is because netscape's ui is based on parsing XML every time is has to
render.  What a pain in the butt.  Who thought of that?

 From: Marco Isella [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 Date: Fri, 9 Feb 2001 14:58:19 +0100
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: R: Why is Netscape slower with Orion?
 
 One thing netscape is very very slow at is when it has to render nested
 tables.. i had a page with 4 level nested tables  with netscape it was a
 metter of second before the rendering was done; i switched to a single table
  the performing was almost acceptable (anyway far slower than ie).
 
 This was wit ns 4.X, with ns 6 they have speed it up a little(but still much
 slower than ie).
 Marco
 
 
 -Messaggio originale-
 Da: Huibert Aalbers [mailto:[EMAIL PROTECTED]]
 Inviato: venerdi, 26. gennaio 2001 17:58
 A: Orion-Interest
 Oggetto: Why is Netscape slower with Orion?
 
 
 Hi everyone,
 
 Is it just me or has anyone noticed that Netscape is significantly
 slower than IE when accessing an application built with orion? Could
 there be anything wrong with my settings?
 
 Thanks,
 
 Huibert Aalbers
 Informix Software
 
 






MainLoggerEJB: What ties it to jms/mainLogTopic?

2001-02-09 Thread Globetrot Communications

In ATM application, what setting ties the binding
"jms/mainLogTopic" to MainLoggerEJB, so messages sent
to mainLogTopic are processed by MainLoggerEJB and not
some other Message Driven Bean (in case there were
others)?

Thanks

Satish Gupta

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




RE: Orion Server compared to Oracle AS

2001-02-09 Thread Kemp Randy-W18971

If you ask me in two months, I can give you a straight answer.  We have just gotten 
Oracle 9I AS at my company, and I look forward to using it.  For the record, I am a 
big Orion and Jboss/Tomcat (www.jboss.org) fan, but I suffer from the same problem 
many people have in large corporations: convincing everyone that a small commercial 
company or an open source endeavor is just as good as a big name like Oracle. However, 
large companies can purchase site licenses and get major discounts, so it would be 
wise to explore this, if your company has this relationship with Oracle.  For the 
record, I plan to develop with Orion and Jboss/Tomcat, then implement on the Oracle 9i 
AS server.  

-Original Message-
From: John Hogan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 10:12 PM
To: Orion-Interest
Subject: Orion Server compared to Oracle AS


Has anyone done/know of a comarison of these two products?

I know Oracle sits on Apache and JServ, and that bench marks on the 
Orion site show that Orion has some clear advantages vs Apache.  I'm 
hoping someone has some first experiences they can share.  TIA.

JohnH 

_

Get your free E-mail at http://www.ireland.com




Re: The best way to get the context path

2001-02-09 Thread Tim Endres

Your context path can change depending on deployment. It is
best to let the HttpServletRequest extract it from the URI.
So the call to request.getContextPath() is your best bet.
tim.

 where should I place the image filesPetr Podsednik wrote:
 img src="%=request.getContextPath()%/images/app-logo.gif" .
 
 
 - I know that you often need your own context path in order to return a
 correct link to some resource in your web-app, but is there not a better way
 than calling request.getContextPath() ? It seems odd to me to ask for the
 context path on the request object - I am looking for something like
 
 pageContext.getServletContext().getInitParameter("the application context
 path")
 
 but I have not been able find out how to make this work...
 
 
 Any comments / suggestions would be appreciated
 
 R.
 





RE: Controlling the Class path order for XALAN

2001-02-09 Thread Arved Sandstrom

I have no problems running Orion without jaxp.jar, period. I assume that
Orion uses only the JAXP API as a result.

A sufficiently recent version of Xerces is also JAXP-compliant.

Arved Sandstrom


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tony Wilson
Sent: Friday, February 09, 2001 1:45 PM
To: Orion-Interest
Subject: RE: Controlling the Class path order for XALAN


One ugly way is to rename them to aXalan.jar, axerces.jar... therefore
putting them alphabetically before jaxp.jar
They would have to be in the same directory, though.

Like I said, ugly.

-Original Message-
From:   Peter Delahunty
[mailto:[EMAIL PROTECTED]]
Sent:   Thursday, February 08, 2001 4:21 AM
To: Orion-Interest
Subject:Controlling the Class path order for XALAN


Hi guys

i am trying to run Xalan with Orion. However i am having
some problems.

i get "Namespace not supported by SAXParser" error. Now i
have found that
this is because jaxp.jar is also on the classpath. However
Orion requires
this to work.

So to solve this problem i need to have jaxp.jar come after
xalan.jar on the
class path for me running my application under orion.

eg. xalan.jar;jaxp.jar
This way the classes in xalan.jar are loaded first and are
used instead of
jaxp.jar

as far as i know the avaiale classpath directories are, in
this order i
think

1.  /orion  root (currently contains jaxp.jar and orions
versions of
xalan.jar and xerces.jar)
2.  /orion/lib  for golbal files (currently does not
contain any
files related to me)
3.  my-app-directory/web-inf/lib (currently contains
the lastest
versions of xalan.jar and xerces.jar)


So my question is how do i get my version of Xalan.jar and
xerces.jar to
load before jaxp.jar

cheers






Using Orion with other web server!

2001-02-09 Thread JangHo Ki

Does anyone know how to configure for using Orion only as an EJB server
while iplanet web server is for a web server?


--
JangHo Ki
RD Developer
Crunchy Technologies
-
2111 wilson blvd, suite 350
Arlington, VA 22201
-
Work:703.469.2040
Cell:240.606.8865
Fax :703.243.7045






Re: Problems with a finder method in a cmp

2001-02-09 Thread mangesh laad

Hi
  All u have to do is just write the findByName as u already have in the 
home interface . While deploying the orion will write the coresponding 
finder query for you in the orion--ejb-jar in its finder-method tag



From: "fresnaULL" [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Problems with a finder method in a cmp
Date: Thu, 8 Feb 2001 14:01:28 -

Hi all,

I'm trying to define this finder method in a cmp:

SELECT * FROM people
WHERE people.name LIKE '%name%'

which is correct in SQL SERVER 7.0

I put the following in the people home interface:

String findByName_query = "people.name like '%$1%'";
.
.
.
public java.util.Enumeration findByName(String value) throws
java.rmi.RemoteException, javax.ejb.FinderException;

but it doesn't work. Orion is able to deploy the cmp but when I try to use
it I only get this
error message:

500 Internal Server Error
java.lang.NullPointerException
  at sun.jdbc.odbc.JdbcOdbcPreparedStatement.clearParameter(Unknown Source)
  at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(Unknown Source)
  at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(Unknown Source)
  at com.evermind.sql.am.setString(JAX)
  at com.evermind.sql.am.setString(JAX)
  at
PeopleHome_EntityHomeWrapper72.findByName(PeopleHome_EntityHomeWrapper72.jav
a:1142)
  at Search.doGet(Search.java:46)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at com.evermind.server.http.d1.si(JAX)
  at com.evermind.server.http.d1.forward(JAX)
  at com.evermind.server.http.ed.sp(JAX)
  at com.evermind.server.http.ed.so(JAX)
  at com.evermind.util.f.run(JAX)


Does anybody know how i can make it work?

Thanks in advance






_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Scalability of struts on Orion

2001-02-09 Thread Danut Prisacaru

Did anyone try to play with struts and see if it scales on Orion?
I have built a cluster that runs fine ( 3 machines, one is the loadbalancer 
and the other 2 form one island) but the pages that use a lot of struts 
simply do not scale.

I am using a testing tool that is able to run multiple virtual users in the 
same time and many of these VUs simply fail on the logon page.

If I have only one Orion server everything works fine.

Thank you!
Danut


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: R: Why is Netscape slower with Orion?

2001-02-09 Thread Robert S. Sfeir

Yup we ran up against this last week, and we changed the layout from 4 
nested to 3 and it's just fine that way.  It seems the folks at netscape 
didn't think anyone would nest 4 tables or something.  IE and N6 are much 
faster at it indeed.  That's not the issue that was causing the slowness 
though, it is an issure with the fact that N4.7x simply is not good about 
sharing threads and processes... feels like it makes the whole windows box 
single threaded.

R

At 02:58 PM 2/9/2001 +0100, you wrote:
One thing netscape is very very slow at is when it has to render nested
tables.. i had a page with 4 level nested tables  with netscape it was a
metter of second before the rendering was done; i switched to a single table
 the performing was almost acceptable (anyway far slower than ie).

This was wit ns 4.X, with ns 6 they have speed it up a little(but still much
slower than ie).
Marco


-Messaggio originale-
Da: Huibert Aalbers [mailto:[EMAIL PROTECTED]]
Inviato: venerdi, 26. gennaio 2001 17:58
A: Orion-Interest
Oggetto: Why is Netscape slower with Orion?


Hi everyone,

Is it just me or has anyone noticed that Netscape is significantly
slower than IE when accessing an application built with orion? Could
there be anything wrong with my settings?

Thanks,

Huibert Aalbers
Informix Software



Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w - http://www.percepticon.com/
e- [EMAIL PROTECTED]
t - (415) 749-2900 x205





RE: R: Why is Netscape slower with Orion?

2001-02-09 Thread Tony Wilson

We found that if the table depth was more than 5 or so  AND the table at
that depth was sufficiently complex (lots of rows and lots of internal data)
that Netscape actually crashed consistently.  Either it crashed, or froze
indefinately.  Of course, IE had no problem with it... *sigh*

The moral of the story is... flatten out tables as much as possible.

Tony

-Original Message-
From:   James Hays [mailto:[EMAIL PROTECTED]]
Sent:   Friday, February 09, 2001 9:46 AM
To: Orion-Interest
Subject:Re: R: Why is Netscape slower with Orion?

This is because netscape's ui is based on parsing XML every
time is has to
render.  What a pain in the butt.  Who thought of that?

 From: Marco Isella [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 Date: Fri, 9 Feb 2001 14:58:19 +0100
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: R: Why is Netscape slower with Orion?
 
 One thing netscape is very very slow at is when it has to
render nested
 tables.. i had a page with 4 level nested tables  with
netscape it was a
 metter of second before the rendering was done; i switched
to a single table
  the performing was almost acceptable (anyway far slower
than ie).
 
 This was wit ns 4.X, with ns 6 they have speed it up a
little(but still much
 slower than ie).
 Marco
 
 
 -Messaggio originale-
 Da: Huibert Aalbers [mailto:[EMAIL PROTECTED]]
 Inviato: venerdi, 26. gennaio 2001 17:58
 A: Orion-Interest
 Oggetto: Why is Netscape slower with Orion?
 
 
 Hi everyone,
 
 Is it just me or has anyone noticed that Netscape is
significantly
 slower than IE when accessing an application built with
orion? Could
 there be anything wrong with my settings?
 
 Thanks,
 
 Huibert Aalbers
 Informix Software
 
 






Re: R: Why is Netscape slower with Orion?

2001-02-09 Thread Eric Hodges


- Original Message -
From: "Tony Wilson" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 3:36 PM
Subject: RE: R: Why is Netscape slower with Orion?


 We found that if the table depth was more than 5 or so  AND the table at
 that depth was sufficiently complex (lots of rows and lots of internal
data)
 that Netscape actually crashed consistently.  Either it crashed, or froze
 indefinately.  Of course, IE had no problem with it... *sigh*

 The moral of the story is... flatten out tables as much as possible.

Are you sure it's not:

Don't use Netscape.






Query abt CLOB

2001-02-09 Thread mangesh laad

Hi All
   Does Orion support CLOB and BLOB data type or Oracle 7.0 onwards


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





getReader() throws java.lang.IllegalStateException in HttpServlet.doPost

2001-02-09 Thread Stan Ng

I have the feeling that I'm missing something very obvious, but I've been
running into a problem with getReader().  If I set the contentType of the
response to "text/xml", then the problem occurs.  If I don't mess with it,
everything works okay.  I can't figure out why setting something in the
response is messing up the request!

Anyway, as Orion seems to figure out the MIME type of my response okay
without me setting it, this is not as drastic a problem as I thought.
Nevertheless, I'm very curious as to what I'm doing wrong with this
sequence... If anyone could shed on light on it, I'd be much obliged!



// code snippet

public void service( ServletRequest req, ServletResponse res )
{
try
{
Reader r = req.getReader();
res.setContentType( "text/xml" );
}
catch( Exception e )
{
e.printStackTrace();
}
}





EJB Deployment without packaging

2001-02-09 Thread Phan Anh Tran



Is it possible to deploy EJBs without packing them 
into ejb and .ear files with orion? Thanks.

Anh



Re: EJB Deployment without packaging

2001-02-09 Thread Joseph B. Ottinger

Yes, very much so.

On Fri, 9 Feb 2001, Phan Anh Tran wrote:

 Is it possible to deploy EJBs without packing them into ejb and .ear files with 
orion?  Thanks.
 
 Anh
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant





Re: EJB Deployment without packaging

2001-02-09 Thread Phan Anh Tran

Do you have a link?  Thanks.

Anh
- Original Message -
From: "Joseph B. Ottinger" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 9:21 PM
Subject: Re: EJB Deployment without packaging


 Yes, very much so.

 On Fri, 9 Feb 2001, Phan Anh Tran wrote:

  Is it possible to deploy EJBs without packing them into ejb and .ear
files with orion?  Thanks.
 
  Anh
 
 

 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant