RE: Update container without redeploy?

2002-02-22 Thread Phil Rice

If you are developing, you don't need to use an EAR file: you can just
reference a directory with the same structure. In that case you can change
the JSP file, and orion will notice the change.

Good luck:-) Phil Rice

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Carlos Roberto
da Silva Junior
Sent: 21 February 2002 18:28
To: Orion-Interest
Subject: Update container without redeploy?


I´m using orion with JBuilder6. When I need modify a JSP, I need rebuild my
.ear e redeploy. It´s bad.

Can I set up my container to update itself always I modify my JSP without
need to rebuild and redeploy .EAR?

Carlos Roberto da Silva Júnior
Engenheiro de Software
Ramal - 4631

Qualiti Software Processes - CESAR
Soluções para o processo de construção de software
http://www.qualiti.com.br
+55 81 3272.4700





disabling jsessionid

2001-07-16 Thread Phil Massam

is there any way in which the addition of jsessionid to URLs can be
disabled?




RE: DeadLock with 25 users SOLVED

2001-05-15 Thread PHiL

Nick, In all my I use transactions only when I update/insert/delete
something in the database. When there is a risk of database's incoherents
datas you need to use transaction, just in case or you need to rollback
for let the datas unchanged.
When you read (only reading!) something from the database, no risk of damage
somethnig, no need to rollback, so transcations are not usefull (IMHO...).

I was using this rules with native/PHP/ASP coding, but maybe with EJB I'm
wrong. If it's the case, please just explain me, it's true that I'm not an
EJB wizard ;-)

Thanks,

PHiL.


 Philippe,

 It's Monday morning. Could you please help my fuzzy brain by
 explaining WHY
 it is so stupid to set all transactions to required. I'm
 afraid it
 sounds reasonable to me...  perhaps I don't understand what
 you mean by
 even when reading in the database.

 Thanks,
 Nick


 At 12:43 PM 5/14/01 +0200, you wrote:
 Hi,
 
 Thanks Johan and Kirk, you are both right.
 Those 2 parametres are usefull for tuning the app server.
 But pay attention, I've used the timeout (not
 inactivity-timeout) under
 1.3.8, it doesn't work, need to upgrade to 1.4.7 for get
 this working.
 
 I've discover another one:
 In the file orion-ejb-jar.xml you could add this option
 ligne: call-timeout
 = n
 n = number of millisec for waiting on the EJB's interface
 reply, 0 for
 infinite.
 
 My principal error with this deadlock was to set ALL
 transactions to
 required, even when reading in the database... So stupid ;-)
 
 My bench show that 100 users could access to our app wihtout
 crashing! I'll
 try to bench the same .EAR under BEA...
 
 Regards,
 
 Philippe PAGET.
 
   -Message d'origine-
   De : Johan Fredriksson
 [mailto:[EMAIL PROTECTED]]
   Envoyé : lundi 14 mai 2001 10:23
   À : Orion-Interest
   Objet : Re: DeadLock with 25 users
  
  
   Or decreasing the
  
   inactivity-timeout=10
  
   so the resource is more quickly released back to the container ?
  
  
   Johan
  
  
   - Original Message -
   From: KirkYarina [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Cc: PHiL [EMAIL PROTECTED]
   Sent: Friday, May 11, 2001 9:10 PM
   Subject: Re: DeadLock with 25 users
  
  
I believe this is discussed in past; see the archives (
   
  
 http://www.mail-archive.com/orion-interest%40orionserver.com/ ).  Try
increasing max-connections in data-sources.xml
   
Kirk Yarina
   
At 09:13 AM 5/11/01 +0200, you wrote:
Hello, we just start some benchs with 25 fake users,
 here is the
   exeption:
Those 25 users try to access the same EJB. Any idears, or
   points to check
   in
our code to fix this kind of errors ???

Thanks.

Philippe.


ERROR | 09/05/2001 15:59:01:46 | NodeBmEJB :
   findNode(NodePK pk) | pk =
   (id
= 0, space = WA17, componentName = news35) |
Exception message: Transaction was rolled back: timed out,
   while waiting
   for
(id = 0, space = WA17, componentName = news35) (started at
   Wed May 09
15:58:25 GMT+01:00 2001, terminated at Wed May 09 15:59:01
   GMT+01:00
   2001)
com.evermind.server.DeadlockException: Transaction was
   rolled back: timed
out, while waiting for (id = 0, space = WA17,
   componentName = news35)
(started at Wed May 09 15:58:25 GMT+01:00 2001, terminated
   at Wed May 09
15:59:01 GMT+01:00 2001)
 at
   com.evermind.server.ejb.AbstractEJBObject.startCall(JAX)
 at
   
   NodeHome_EntityHomeWrapper3.findByPrimaryKey(NodeHome_EntityH
   omeWrapper3.ja
   v
a:195)
 at
   
   com.stratelia.webactiv.util.node.control.NodeBmEJB.findNode(N
   odeBmEJB.java:
   5
0)
 at
   
   com.stratelia.webactiv.util.node.control.NodeBmEJB.getFrequen
   tlyAskedChildr
   e
nDetails(NodeBmEJB.java:252)
 at
   
   NodeBm_StatelessSessionBeanWrapper1.getFrequentlyAskedChildre
   nDetails(NodeB
   m
_StatelessSessionBeanWrapper1.java:1677)
 at
   
   com.stratelia.webactiv.news.control.NewsSessionControl.getArc
   hiveList(NewsS
   e
ssionControl.java:315)
 at
   
   __jspPage1_news_jsp_news_jsp._jspService(__jspPage1_news_jsp_
   news_jsp.java:
   4
73)
 at com.orionserver.http.OrionHttpJspPage.service(JAX)
 at com.evermind.server.http.HttpApplication.xu(JAX)
 at com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.d4.s3(JAX)
 at com.evermind.server.http.d4.s1(JAX)
 at com.evermind.server.http.d4.forward(JAX)
 at com.evermind.server.http.ew.forward(JAX)
 at
   
   com.stratelia.webactiv.servlets.ComponentRequestRooter.doPost
   (ComponentRequ
   e
stRooter.java:153)
 at
   
   com.stratelia.webactiv.servlets.ComponentRequestRooter.doGet(
   ComponentReque
   s
tRooter.java:172)
 at
   javax.servlet.http.HttpServlet.service(HttpServlet.java:190

OFFTOPIC: Homepage ===beware of virus......

2001-05-14 Thread PHiL

Hi,

This virus do not damage anything, on first time execution it spread itselft
to all the adress book and remove the sent email  with subject homepage
from the outlook's sent email folder, then it randomize a number from 1 to 4
and redirect to the selected porn site...

You can safe run it again and again to see the different porn site :-)

It afraid me that a so stupid .VBS file can do such job!!!

PHiL.


 -Message d'origine-
 De : waheed rahuman [mailto:[EMAIL PROTECTED]]
 Envoyé : dimanche 13 mai 2001 12:51
 À : Orion-Interest
 Objet : Re: Homepage ===beware of virus..


 Hello all
 in this mail there is an VBscript virus beware of that
 regards

 waheed


 From: Erich Eichinger [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: Homepage
 Date: Sun, 13 May 2001 11:59:02 +0200
 
 
 Hi!
 
 You've got to see this page! It's really cool ;O)
 
  homepage.HTML.vbs 

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







DeadLock with 25 users

2001-05-11 Thread PHiL

Hello, we just start some benchs with 25 fake users, here is the exeption:
Those 25 users try to access the same EJB. Any idears, or points to check in
our code to fix this kind of errors ???

Thanks.

Philippe.


ERROR | 09/05/2001 15:59:01:46 | NodeBmEJB : findNode(NodePK pk) | pk = (id
= 0, space = WA17, componentName = news35) |
Exception message: Transaction was rolled back: timed out, while waiting for
(id = 0, space = WA17, componentName = news35) (started at Wed May 09
15:58:25 GMT+01:00 2001, terminated at Wed May 09 15:59:01 GMT+01:00 2001)
com.evermind.server.DeadlockException: Transaction was rolled back: timed
out, while waiting for (id = 0, space = WA17, componentName = news35)
(started at Wed May 09 15:58:25 GMT+01:00 2001, terminated at Wed May 09
15:59:01 GMT+01:00 2001)
at com.evermind.server.ejb.AbstractEJBObject.startCall(JAX)
at
NodeHome_EntityHomeWrapper3.findByPrimaryKey(NodeHome_EntityHomeWrapper3.jav
a:195)
at
com.stratelia.webactiv.util.node.control.NodeBmEJB.findNode(NodeBmEJB.java:5
0)
at
com.stratelia.webactiv.util.node.control.NodeBmEJB.getFrequentlyAskedChildre
nDetails(NodeBmEJB.java:252)
at
NodeBm_StatelessSessionBeanWrapper1.getFrequentlyAskedChildrenDetails(NodeBm
_StatelessSessionBeanWrapper1.java:1677)
at
com.stratelia.webactiv.news.control.NewsSessionControl.getArchiveList(NewsSe
ssionControl.java:315)
at
__jspPage1_news_jsp_news_jsp._jspService(__jspPage1_news_jsp_news_jsp.java:4
73)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xu(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d4.s3(JAX)
at com.evermind.server.http.d4.s1(JAX)
at com.evermind.server.http.d4.forward(JAX)
at com.evermind.server.http.ew.forward(JAX)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doPost(ComponentReque
stRooter.java:153)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doGet(ComponentReques
tRooter.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
at com.evermind.server.http.d4.s3(JAX)
at com.evermind.server.http.d4.s1(JAX)
at com.evermind.server.http.eg.s9(JAX)
at com.evermind.server.http.eg.dr(JAX)
at com.evermind.util.f.run(JAX)






RE: Backward compatibility

2001-05-03 Thread PHiL

Humm... I just autoupdate from 1.4.7 (application was OK before) to 1.4.8.
Orion doesn't start, here is the only trace I see:

javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.DocumentBuilderF
actoryImpl
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
actory.java:80)
at com.evermind._yw.getJavaxDocument(Unknown Source)
at com.evermind.xml.XMLUtils.getDocument(Unknown Source)
at com.evermind.xml.XMLConfig._iw(Unknown Source)
at com.evermind.xml.XMLConfig._iw(Unknown Source)
at com.evermind._kh.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
at com.evermind._jw.run(Unknown Source)

It even do not tried to deploy something...
Sounds like an XML trouble, you are rigth!

Any idears to fix this ???

Thanks,

Philippe PAGET.

 -Message d'origine-
 De : Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
 Envoyé : jeudi 3 mai 2001 05:26
 À : Orion-Interest
 Objet : RE: Backward compatibility


 In what way? I'm having no problems. The only possible
 problem area is XML
 (but only if you've coded your software to use Xerces
 directly - which is
 bad ;))

 -mike

 
 Mike Cannon-Brookes - Technology Director, Asia Pacific
 internet.com Corporation - The Internet Industry Portal
 Ph: (612) 9290 1088 - Mob: 0416 106090

 - The Media Network @ http://australia.internet.com
 - Meet A Guru @ http://www.breakfastforums.com.au
 - Subscribe Online @ http://www.enewsletters.com.au
 



  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
 Adam Cassar
  Sent: Thursday, May 03, 2001 12:37 PM
  To: Orion-Interest
  Subject: Backward compatibility
 
 
 
  Orion 1.4.8 not backward compatbile with at least 1.4.7?
 
  Anyone else experience this problem?
 
  --
 
  Adam Cassar
  Technical Development Manager
  ___
  NetRegistry http://www.netregistry.au.com
  Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
  PO Box 270 Broadway NSW 2007 Australia
 
 
 








Connection reset by peer

2001-04-04 Thread PHiL

Hi,

When I use this forward in my JSP page:
getServletConfig().getServletContext().getRequestDispatcher(destination).for
ward(request, response);

I obtain this exception:

Exception message: Connection reset by peer: socket write error
com.evermind.server.http.HttpIOException: Connection reset by peer: socket
write error
at com.evermind.server.http.e2.write(JAX)
at com.evermind.server.http.EvermindJSPWriter.se(JAX)
at com.evermind.server.http.EvermindJSPWriter.flush(JAX)
at com.evermind.server.http.EvermindJSPWriter.close(JAX)
at
__jspPage1_news_jsp_news_jsp._jspService(__jspPage1_news_jsp_news_jsp.java:6
77)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xi(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.d5.forward(JAX)
at com.evermind.server.http.ew.forward(JAX)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doPost(ComponentReque
stRooter.java:108)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doGet(ComponentReques
tRooter.java:133)
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.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.eh.s0(JAX)
at com.evermind.server.http.eh.do(JAX)
at com.evermind.util.f.run(JAX)

It's an internal forward to another page to the same server, this not an
HTTP redirect, so the socket write error is really strange...

I use Orion 1.4.4.

Thanks for your support.

PHiL / Stratlia .






RE: un subscribe

2001-03-07 Thread PHiL

You should write a "BOT" to handle those requests ;-)

PHiL

 -Message d'origine-
 De : Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
 Envoy : mercredi 7 mars 2001 09:07
  : Orion-Interest
 Objet : RE: un subscribe


 Use the form at orionserver.com

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Prasanna Kumar
 Sent: 6. marts 2001 23:43
 To: Orion-Interest
 Subject: un subscribe


 Please  un subscribe

 Thanx..







RE: Is xerces.jar too old ?

2001-02-19 Thread PHiL

Hi,

We just had the same problems. The $ORION_HOME/xerces.jar version is old and
could not handle our need in XML parsing.
We have replaced this file by a new version and all is fine! We use Orion
1.4.4, old xerces.jar was 589 KO, and new one is 769 KO (don't know how to
check version...).

I know this is not a good solution, but Orion seems to give his own
CLASSPATH to the application he ran, so even if you had the new xerces.jar
in the CLASSPATH specified with LIB tag it'll be hidden by the Orion's one.

If some have idears on this subject...

PHiL

 -Message d'origine-
 De : Boris Erukhimov [mailto:[EMAIL PROTECTED]]
 Envoy : lundi 19 fvrier 2001 17:50
  : Orion-Interest
 Objet : Is xerces.jar too old ?


 Our application uses XML data exchange wrapped into HTTP.
 It is handled by a servlet running under Orion and doing its
 own XML parsing and
 generating.
 We are using pretty convenient XML API (Jdom ) from
http://www.jdom.org which I
highly recommend.
The jdom.jar bundle comes with the latest (?)  xerces.jar which I also
copied
into /Orion/lib directory.
My standalone code worked fine, but after I placed it into servlet it did
throw
NoSuchMethodException complaining at some xerces code.
Apparently Orion's classloader uses xerces.jar from the Orion root directory
prior to the one placed in Orion/lib directory.
Everything works fine after I replaced the old xerces.jar in the Orion root
directory with the new one which came with jdom.jar bundle.

I don't like that hack because it's an alteration to Orion distribution and
hell
knows what side effects it may cause.
So, my question are :

Is there any way to force servlet in using certain library if there is some
naming conflict with the one in Orion root ?
Orion team, are you going to update xerces.jar in distribution ? Does it
involve
any licensing issue ?

Thanks
~boris









orion + multi processor's X86 PC

2001-01-25 Thread PHiL

Hi,

We planned to go on production state of our developpement under ORION, but
we don't have a clue on multiprocessors (SMP) and Orion.

If we run a X86 PC server with 2 XEON and sun's JVM 1.3 + Orion + NT or
2000, is this will be enought to take advantage of SMP ???
Maybe we need to run 2 JVMs and setup a "cluster like" config ???

If someone expirience this, just let us know.

Thanks.

PHiL.






RE: Forte support for EJB programming?

2001-01-16 Thread PHiL

 I haven't found any capability in Forte for doing EJB
 skeletons, similar
 to EJBMaker of Orion... does such a capability exist?  I know this is
 a little off-topic for this list, but people using Forte and
 Orion would
 seem to be best for answering this question :)

Hi, in FORTE there is no such capability for programming EJBs. But,
according to people here, no one needs such functions. They use FORTE for
both EJB and JSP programming, and for EJB they create everything "by hand"
without any troubles (if you know how doing it one time, you made N times
laters :-). The tests are done locals with J2EE-RI on each developper's
computer and we use CVS+ANT for building the whole application and run it
with ORION.

Maybe it was not the best way to do the job, but we had the "newbies" skills
6 months ago :-) And today we don't have any trouble in our proudction
scheme.

Regards,

PHiL






RE: Any news from Orion yet??

2001-01-15 Thread PHiL

Hi,

We use FORTE for programming, J2EERI for create the .EAR of the application
and the "clients" file. Those 2 archives just need to be copied in 2 folder
for Orion (3 secondes...) and are fully deployed by the autodetect feature.

With WLS we need to unpack the application EAR file, to deploy with the so
ugly and bugged tool *EACH* EJB, to copy them in a special folder, to add to
the properties file 1 line per EJB... And last to stop the server and
restart it for refresh the properties...

Orion is *GREAT* for deploy, sure best than WLS! I've heard that JBOSS have
such features. Any users here ???

Regards,
PHiL

 -Message d'origine-
 De : Santosh Kumar [mailto:[EMAIL PROTECTED]]
 Envoy : lundi 15 janvier 2001 07:57
  : Orion-Interest
 Objet : Re: Any news from Orion yet??


 Hi kevin,
 As far as i have known WL5.1 or , there is no
 concept of ear files,
 does 6.0 include
 that. Doesn't the J2EE mandate (I am not sure!) the use of
 EAR =  WAR  + JAR
 + CAR(or JAR)?
 To deploy the JPS1.1.1 on Orion, it is a piece of cake, while
 deploying on
 WLS, i have to
 unpack the EAR files and dis-integrate them which is contrary
 to the essence
 of packaging the ear files,
 Even meddling with the ugly weblogic.properties frustrates
 one and all. Is
 that true with all WLS users?

 Orion is a neat impl of J2EE,  is WLS6.0?

 Regards,
 Santosh.
 - Original Message -
 From: Kevin Duffey [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, January 15, 2001 12:07 PM
 Subject: RE: Any news from Orion yet??


  I am not one to advocate another product, but WL6 looks
 nice. It is easy
 to
  work with compared to WL5.1. Orion is still the best. JBoss
 looks very
  interesting as well.
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Neville
   Burnell
   Sent: Sunday, January 14, 2001 2:26 PM
   To: Orion-Interest
   Cc: Orion-Interest
   Subject: FW: Any news from Orion yet??
  
  
   Yes - pls Orion people, publish some news  update Orion ...
  
   We are looking to buy at least 3 licences over the next
 few weeks if
   everything is ok
  
   Cheers
  
   Neville Burnell
   Business Manager Software
  
   -Original Message-
   From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, 14 January 2001 12:45 PM
   To: Orion-Interest
   Subject: Any news from Orion yet??
  
  
   Hi all,
  
   Has anyone heard from the team lately? I know I saw a
 post about a month
   or
   so ago. Its been about 3 or 4 months since anything has
 changed on their
   site, if not longer and now its getting me worried. I can
 understand
   them
   trying to organize the company, but did production stop on the app
   server? I
   wish there was some news once every couple of weeks or so
 from them on
   their
   site letting us know what is happening.
  
   Thanks.
 
 
 








TR: Servlet not found

2000-12-06 Thread PHiL

Hi,

I just could not call servlet, 404 error in the browser...

Here is what I've done:

Add the EAR file in the in the server.xml
application name="Webactiv" path="../applications/webactiv.ear" /

Add the application in the default-web-site.xml
web-app application="Webactiv" name="war-ic" root="/webactiv" /

When I start orion, all is ok, auto deploy run and create everything in the
/orion/applications and /orion/application-deployments.
Here is the trace:
C:\orionjava -jar orion.jar
Auto-unpacking C:\orion\applications\webactiv.ear... done.
Auto-unpacking C:\orion\applications\webactiv\war-ic.war... done.
Auto-deploying Webactiv (New server version detected)...
Auto-deploying ejb-jar-ic3.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic2.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic1.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic5975.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic59754.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic597545.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic597.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic6.jar (No previous deployment found)... done.
Auto-deploying ejb-jar-ic5.jar (No previous deployment found)... done.
Orion/1.3.8 initialized
Auto-deploying NWA War (New server version detected)...

When I access to first jsp page: http://localhost:port/webactiv/Login.jsp it
show the page. This page submit Login/passwd to
http://localhost:port/webactiv/LoginServlet. The 404 error is here.

In the war-ic.war file I use the /WEB-INF/web.xml file to declare the
servlet and the alias:
  servlet
servlet-nameLoginServlet/servlet-name
display-nameLoginServlet/display-name
descriptionno description/description

servlet-classcom.stratelia.webactiv.servlets.LoginServlet/servlet-class
  /servlet
  servlet-mapping
servlet-nameLoginServlet/servlet-name
url-patternLoginServlet/url-pattern
  /servlet-mapping

My servlet classes are located in the /WEB-INF/classes/com/.../files.class

The deployed EAR is generated with the SUN deployer tool, and run today for
testing purpose under J2EE-RI test server.

Really need help to get ride of this one...
It's hard job to be new in orion's world!

Thanx

Philippe PAGET.






RE: Servlet not found

2000-12-06 Thread PHiL

It works!!!

Juste change tags to this:
url-pattern/LoginServlet/url-pattern

Now I have others problems, but I'll read a few before asking again :-)

Seems 'context' does not act the same as Weblogic or Tomcat...

Thanx for your support.

Philippe PAGET

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de
 DeVincentiis
 Giustino
 Envoyé : mercredi 6 décembre 2000 12:16
 À : Orion-Interest
 Objet : R: Servlet not found


 Hi, looking at orion documentation (web.xml configuration
 file) the syntax
 of url-pattern tag is:
   url-pattern/*.thePattern/url-pattern
 so try adding the '/'...

 Giustino De Vincentiis
 e-mail: [EMAIL PROTECTED]

 -Messaggio originale-
 Da: PHiL [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledì 6 dicembre 2000 10.31
 A: Orion-Interest
 Oggetto: TR: Servlet not found


 Hi,

 I just could not call servlet, 404 error in the browser...

 Here is what I've done:

 Add the EAR file in the in the server.xml
 application name="Webactiv" path="../applications/webactiv.ear" /

 Add the application in the default-web-site.xml
 web-app application="Webactiv" name="war-ic" root="/webactiv" /

 When I start orion, all is ok, auto deploy run and create
 everything in the
 /orion/applications and /orion/application-deployments.
 Here is the trace:
 C:\orionjava -jar orion.jar
 Auto-unpacking C:\orion\applications\webactiv.ear... done.
 Auto-unpacking C:\orion\applications\webactiv\war-ic.war... done.
 Auto-deploying Webactiv (New server version detected)...
 Auto-deploying ejb-jar-ic3.jar (No previous deployment found)... done.
 Auto-deploying ejb-jar-ic2.jar (No previous deployment found)... done.
 Auto-deploying ejb-jar-ic1.jar (No previous deployment found)... done.
 Auto-deploying ejb-jar-ic5975.jar (No previous deployment
 found)... done.
 Auto-deploying ejb-jar-ic59754.jar (No previous deployment
 found)... done.
 Auto-deploying ejb-jar-ic597545.jar (No previous deployment
 found)... done.
 Auto-deploying ejb-jar-ic597.jar (No previous deployment
 found)... done.
 Auto-deploying ejb-jar-ic6.jar (No previous deployment found)... done.
 Auto-deploying ejb-jar-ic5.jar (No previous deployment found)... done.
 Orion/1.3.8 initialized
 Auto-deploying NWA War (New server version detected)...

 When I access to first jsp page:
http://localhost:port/webactiv/Login.jsp it
show the page. This page submit Login/passwd to
http://localhost:port/webactiv/LoginServlet. The 404 error is here.

In the war-ic.war file I use the /WEB-INF/web.xml file to declare the
servlet and the alias:
  servlet
servlet-nameLoginServlet/servlet-name
display-nameLoginServlet/display-name
descriptionno description/description

servlet-classcom.stratelia.webactiv.servlets.LoginServlet/servlet-class
  /servlet
  servlet-mapping
servlet-nameLoginServlet/servlet-name
url-patternLoginServlet/url-pattern
  /servlet-mapping

My servlet classes are located in the /WEB-INF/classes/com/.../files.class

The deployed EAR is generated with the SUN deployer tool, and run today for
testing purpose under J2EE-RI test server.

Really need help to get ride of this one...
It's hard job to be new in orion's world!

Thanx

Philippe PAGET.







RE: Servlet not found

2000-12-06 Thread PHiL

Thanx, it works fine. But what's does it mean to had a / just before ???
If it's 'as is', okey I accept it :-)

PHiL

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de umesh
 sonavane
 Envoyé : mercredi 6 décembre 2000 13:43
 À : Orion-Interest
 Objet : Re: Servlet not found


 hi phil
 i saw ur web.xml file for mapping servlet
 try giving forward slash in your url-pattern tag
 like this

servlet
  servlet-nameLoginServlet/servlet-name
  display-nameLoginServlet/display-name
  descriptionno description/description


 servlet-classcom.stratelia.webactiv.servlets.LoginServlet/s
ervlet-class
/servlet
servlet-mapping
  servlet-nameLoginServlet/servlet-name
  url-pattern/LoginServlet/url-pattern
/servlet-mapping

 note the forward slash in url-pattern tag before ur alias name
 it should work


 Umesh Sonavane
 Software Engg.
 Verchaska
 www.verchaska.com


 - Original Message -
 From: PHiL [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, December 06, 2000 4:00 PM
 Subject: TR: Servlet not found


  Hi,
 
  I just could not call servlet, 404 error in the browser...
 
  Here is what I've done:
 
  Add the EAR file in the in the server.xml
  application name="Webactiv" path="../applications/webactiv.ear" /
 
  Add the application in the default-web-site.xml
  web-app application="Webactiv" name="war-ic" root="/webactiv" /
 
  When I start orion, all is ok, auto deploy run and create
 everything in
 the
  /orion/applications and /orion/application-deployments.
  Here is the trace:
  C:\orionjava -jar orion.jar
  Auto-unpacking C:\orion\applications\webactiv.ear... done.
  Auto-unpacking C:\orion\applications\webactiv\war-ic.war... done.
  Auto-deploying Webactiv (New server version detected)...
  Auto-deploying ejb-jar-ic3.jar (No previous deployment
 found)... done.
  Auto-deploying ejb-jar-ic2.jar (No previous deployment
 found)... done.
  Auto-deploying ejb-jar-ic1.jar (No previous deployment
 found)... done.
  Auto-deploying ejb-jar-ic5975.jar (No previous deployment
 found)... done.
  Auto-deploying ejb-jar-ic59754.jar (No previous deployment
 found)... done.
  Auto-deploying ejb-jar-ic597545.jar (No previous deployment
 found)... done
 .
  Auto-deploying ejb-jar-ic597.jar (No previous deployment
 found)... done.
  Auto-deploying ejb-jar-ic6.jar (No previous deployment
 found)... done.
  Auto-deploying ejb-jar-ic5.jar (No previous deployment
 found)... done.
  Orion/1.3.8 initialized
  Auto-deploying NWA War (New server version detected)...
 
  When I access to first jsp page:
 http://localhost:port/webactiv/Login.jsp
 it
  show the page. This page submit Login/passwd to
  http://localhost:port/webactiv/LoginServlet. The 404 error is here.
 
  In the war-ic.war file I use the /WEB-INF/web.xml file to
 declare the
  servlet and the alias:
servlet
  servlet-nameLoginServlet/servlet-name
  display-nameLoginServlet/display-name
  descriptionno description/description
 
 
 servlet-classcom.stratelia.webactiv.servlets.LoginServlet/s
ervlet-class
/servlet
servlet-mapping
  servlet-nameLoginServlet/servlet-name
  url-patternLoginServlet/url-pattern
/servlet-mapping
 
  My servlet classes are located in the
 /WEB-INF/classes/com/.../files.class
 
  The deployed EAR is generated with the SUN deployer tool,
 and run today
 for
  testing purpose under J2EE-RI test server.
 
  Really need help to get ride of this one...
  It's hard job to be new in orion's world!
 
  Thanx
 
  Philippe PAGET.