RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread souravm
Hi Rajendra,

I'm using ant.

I'm specifying .war properly in application.xml.

I didn't understand which lib you are referring to for specifying the
struts.jar. Might be that is the problem. Could you please explain it
again ?

Regards,
Sourav

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, July 30, 2003 9:10 PM
To: Struts Users Mailing List
Subject: RE: Help needed in Struts deployment on Weblogic 8.1


the ear should know where the war  is.
Are you using ant ?
Where you make your web app... make sure you include struts.jat in   
  com> cc:

   Subject:  RE: Help needed
in Struts deployment on Weblogic 8.1  
  30/07/2003 08:46

  PM

  Please respond to

  "Struts Users

  Mailing List"

 

 





Hi Rajendra,

The problem is - f I only deploy the .war of my application. It works
fine. However, if I deploy the same .war within a .ear file, the error
appears.

Regards,
Sourav

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, July 30, 2003 6:52 PM
To: Struts Users Mailing List
Subject: Re: Help needed in Struts deployment on Weblogic 8.1


This note might help:

Appservers are not meant to make everything deployed on them accessible
to
the classpath of everything else. You still need to tell it where things
lie. I'll assume that the servlet is in a WAR file, and the WAR file, in
turn, is packaged in an EAR file, like this:
 theEar.ear
 |-- theEjb.jar
 |-- theWar.war
 |-- lib/libJar.jar

theWar.war then, in order to find the EJB, needs to have a MANIFEST.MF
file
in it, with a Class-Path entry of theEjb.jar (the packaging as according
to
the relative locations in the EAR file).


If you have a class that doesn't live in either the EJB jar or the WAR
archive, then you should package that up into a jar file, and put it in
the
EAR (like lib/libJar.jar). Then, extend the Class-Path entry for
theWar.war
to include lib/libJar.jar. Likewise, if the EJB jar needs it, extend the
Class-Path entry in it's MANIFEST.MF file.


These issues are covered in the J2EE 1.3 spec, and the Java Extension
Mechanism Spec. (J2EE 1.2 was meant to use this as well, but it was only
implicit, not explicit.)

thanks
-raj





  "Navneet Saraogi"

  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]

  nfosys.com>   cc:

        Subject:  Help needed in
Struts deployment on Weblogic 8.1
  30/07/2003 06:40

  PM

  Please respond to

  "Struts Users

  Mailing List"









Hi,
 We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-inf\lib to applib folder of the ear...
This issue was resolved but then the classes present in the .war files
were not getting loaded...
 We've other jar files that were initially present in the
WEB-INF\lib folder which were also not getting loaded... We then moved
all the jar files to the outer most ear... Even then the issue was not
resolved... We added the MANIFEST.MF file to the web.war & ejb.jar
specifying the classpath for the jar files... No solution still... Next
we added the classpath to the MANIFEST.MF file of the ear... Still no
solution... We tried probably every possible permutation & combination
of placing the jar files in the various modules but some classes never
get loaded... What is the solution to this problem??  We are using a
evaluation copy of Weblogic... Is it because of that??? If not, is it an
inherent problem with struts 1.0 (in this case should we use struts
1.1??)

Any help in this matter would be welcomed...

Navneet Saraogi

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









RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread Richard J. Duncan
This looks like a class loading issue. In particular it sounds like your action 
classes are being put into the ejb.jar as well as or instead of in the .war. Make sure 
that:

- War contains web assets + action classes and libs used by the front end (e.g., 
struts.jar and friends)
- EJB jar contains the EJBs and the classes the EJBs depend on
- Note that as per 8.1 spec, common libraries (e.g,. beanutils if you use it in both 
struts and your ejbs go in the .ear file in app-inf/lib).

The WLS classloading scheme makes sure that your war can see anything in the ejb jar 
(but not the other way around) and that both can see the app-inf/lib jars.



Regards,
 
Rich
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 11:40 AM
To: Struts Users Mailing List
Subject: RE: Help needed in Struts deployment on Weblogic 8.1


the ear should know where the war  is.
Are you using ant ?
Where you make your web app... make sure you include struts.jat in   
  com> cc: 

   Subject:  RE: Help needed in Struts 
deployment on Weblogic 8.1  
  30/07/2003 08:46 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Hi Rajendra,

The problem is - f I only deploy the .war of my application. It works
fine. However, if I deploy the same .war within a .ear file, the error
appears.

Regards,
Sourav

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, July 30, 2003 6:52 PM
To: Struts Users Mailing List
Subject: Re: Help needed in Struts deployment on Weblogic 8.1


This note might help:

Appservers are not meant to make everything deployed on them accessible
to
the classpath of everything else. You still need to tell it where things
lie. I'll assume that the servlet is in a WAR file, and the WAR file, in
turn, is packaged in an EAR file, like this:
 theEar.ear
 |-- theEjb.jar
 |-- theWar.war
 |-- lib/libJar.jar

theWar.war then, in order to find the EJB, needs to have a MANIFEST.MF
file
in it, with a Class-Path entry of theEjb.jar (the packaging as according
to
the relative locations in the EAR file).


If you have a class that doesn't live in either the EJB jar or the WAR
archive, then you should package that up into a jar file, and put it in
the
EAR (like lib/libJar.jar). Then, extend the Class-Path entry for
theWar.war
to include lib/libJar.jar. Likewise, if the EJB jar needs it, extend the
Class-Path entry in it's MANIFEST.MF file.


These issues are covered in the J2EE 1.3 spec, and the Java Extension
Mechanism Spec. (J2EE 1.2 was meant to use this as well, but it was only
implicit, not explicit.)

thanks
-raj





  "Navneet Saraogi"

  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]

  nfosys.com>   cc:

        Subject:  Help needed in
Struts deployment on Weblogic 8.1
  30/07/2003 06:40

  PM

  Please respond to

  "Struts Users

  Mailing List"









Hi,
 We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-in

RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread rajendra . x . yadav

the ear should know where the war  is.
Are you using ant ?
Where you make your web app... make sure you include struts.jat in   
  com> cc: 

   Subject:  RE: Help needed in Struts 
deployment on Weblogic 8.1  
  30/07/2003 08:46 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Hi Rajendra,

The problem is - f I only deploy the .war of my application. It works
fine. However, if I deploy the same .war within a .ear file, the error
appears.

Regards,
Sourav

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, July 30, 2003 6:52 PM
To: Struts Users Mailing List
Subject: Re: Help needed in Struts deployment on Weblogic 8.1


This note might help:

Appservers are not meant to make everything deployed on them accessible
to
the classpath of everything else. You still need to tell it where things
lie. I'll assume that the servlet is in a WAR file, and the WAR file, in
turn, is packaged in an EAR file, like this:
 theEar.ear
 |-- theEjb.jar
 |-- theWar.war
 |-- lib/libJar.jar

theWar.war then, in order to find the EJB, needs to have a MANIFEST.MF
file
in it, with a Class-Path entry of theEjb.jar (the packaging as according
to
the relative locations in the EAR file).


If you have a class that doesn't live in either the EJB jar or the WAR
archive, then you should package that up into a jar file, and put it in
the
EAR (like lib/libJar.jar). Then, extend the Class-Path entry for
theWar.war
to include lib/libJar.jar. Likewise, if the EJB jar needs it, extend the
Class-Path entry in it's MANIFEST.MF file.


These issues are covered in the J2EE 1.3 spec, and the Java Extension
Mechanism Spec. (J2EE 1.2 was meant to use this as well, but it was only
implicit, not explicit.)

thanks
-raj





  "Navneet Saraogi"

  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]

  nfosys.com>   cc:

        Subject:  Help needed in
Struts deployment on Weblogic 8.1
  30/07/2003 06:40

  PM

  Please respond to

  "Struts Users

  Mailing List"









Hi,
 We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-inf\lib to applib folder of the ear...
This issue was resolved but then the classes present in the .war files
were not getting loaded...
 We've other jar files that were initially present in the
WEB-INF\lib folder which were also not getting loaded... We then moved
all the jar files to the outer most ear... Even then the issue was not
resolved... We added the MANIFEST.MF file to the web.war & ejb.jar
specifying the classpath for the jar files... No solution still... Next
we added the classpath to the MANIFEST.MF file of the ear... Still no
solution... We tried probably every possible permutation & combination
of placing the jar files in the various modules but some classes never
get loaded... What is the solution to this problem??  We are using a
evaluation copy of Weblogic... Is it because of that??? If not, is it an
inherent problem with struts 1.0 (i

RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread souravm
Hi Rajendra,

The problem is - f I only deploy the .war of my application. It works
fine. However, if I deploy the same .war within a .ear file, the error
appears.

Regards,
Sourav

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, July 30, 2003 6:52 PM
To: Struts Users Mailing List
Subject: Re: Help needed in Struts deployment on Weblogic 8.1


This note might help:

Appservers are not meant to make everything deployed on them accessible
to
the classpath of everything else. You still need to tell it where things
lie. I'll assume that the servlet is in a WAR file, and the WAR file, in
turn, is packaged in an EAR file, like this:
 theEar.ear
 |-- theEjb.jar
 |-- theWar.war
 |-- lib/libJar.jar

theWar.war then, in order to find the EJB, needs to have a MANIFEST.MF
file
in it, with a Class-Path entry of theEjb.jar (the packaging as according
to
the relative locations in the EAR file).


If you have a class that doesn't live in either the EJB jar or the WAR
archive, then you should package that up into a jar file, and put it in
the
EAR (like lib/libJar.jar). Then, extend the Class-Path entry for
theWar.war
to include lib/libJar.jar. Likewise, if the EJB jar needs it, extend the
Class-Path entry in it's MANIFEST.MF file.


These issues are covered in the J2EE 1.3 spec, and the Java Extension
Mechanism Spec. (J2EE 1.2 was meant to use this as well, but it was only
implicit, not explicit.)

thanks
-raj



 

  "Navneet Saraogi"

  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]

  nfosys.com>   cc:

    Subject:  Help needed in
Struts deployment on Weblogic 8.1  
  30/07/2003 06:40

  PM

  Please respond to

  "Struts Users

  Mailing List"

 

 





Hi,
 We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-inf\lib to applib folder of the ear...
This issue was resolved but then the classes present in the .war files
were not getting loaded...
 We've other jar files that were initially present in the
WEB-INF\lib folder which were also not getting loaded... We then moved
all the jar files to the outer most ear... Even then the issue was not
resolved... We added the MANIFEST.MF file to the web.war & ejb.jar
specifying the classpath for the jar files... No solution still... Next
we added the classpath to the MANIFEST.MF file of the ear... Still no
solution... We tried probably every possible permutation & combination
of placing the jar files in the various modules but some classes never
get loaded... What is the solution to this problem??  We are using a
evaluation copy of Weblogic... Is it because of that??? If not, is it an
inherent problem with struts 1.0 (in this case should we use struts
1.1??)

Any help in this matter would be welcomed...

Navneet Saraogi

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








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


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



Re: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread rajendra . x . yadav

This note might help:

Appservers are not meant to make everything deployed on them accessible to
the classpath of everything else. You still need to tell it where things
lie. I'll assume that the servlet is in a WAR file, and the WAR file, in
turn, is packaged in an EAR file, like this:
 theEar.ear
 |-- theEjb.jar
 |-- theWar.war
 |-- lib/libJar.jar

theWar.war then, in order to find the EJB, needs to have a MANIFEST.MF file
in it, with a Class-Path entry of theEjb.jar (the packaging as according to
the relative locations in the EAR file).


If you have a class that doesn't live in either the EJB jar or the WAR
archive, then you should package that up into a jar file, and put it in the
EAR (like lib/libJar.jar). Then, extend the Class-Path entry for theWar.war
to include lib/libJar.jar. Likewise, if the EJB jar needs it, extend the
Class-Path entry in it's MANIFEST.MF file.


These issues are covered in the J2EE 1.3 spec, and the Java Extension
Mechanism Spec. (J2EE 1.2 was meant to use this as well, but it was only
implicit, not explicit.)

thanks
-raj



   
 
  "Navneet Saraogi"
 
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]

  nfosys.com>   cc:
 
    Subject:  Help needed in Struts 
deployment on Weblogic 8.1  
  30/07/2003 06:40 
 
  PM   
 
  Please respond to
 
  "Struts Users
 
  Mailing List"
 
   
 
   
 




Hi,
 We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-inf\lib to applib folder of the ear...
This issue was resolved but then the classes present in the .war files
were not getting loaded...
 We've other jar files that were initially present in the
WEB-INF\lib folder which were also not getting loaded... We then moved
all the jar files to the outer most ear... Even then the issue was not
resolved... We added the MANIFEST.MF file to the web.war & ejb.jar
specifying the classpath for the jar files... No solution still... Next
we added the classpath to the MANIFEST.MF file of the ear... Still no
solution... We tried probably every possible permutation & combination
of placing the jar files in the various modules but some classes never
get loaded... What is the solution to this problem??  We are using a
evaluation copy of Weblogic... Is it because of that??? If not, is it an
inherent problem with struts 1.0 (in this case should we use struts
1.1??)

Any help in this matter would be welcomed...

Navneet Saraogi

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








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



Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread Navneet Saraogi
Hi,
We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-inf\lib to applib folder of the ear...
This issue was resolved but then the classes present in the .war files
were not getting loaded... 
We've other jar files that were initially present in the
WEB-INF\lib folder which were also not getting loaded... We then moved
all the jar files to the outer most ear... Even then the issue was not
resolved... We added the MANIFEST.MF file to the web.war & ejb.jar
specifying the classpath for the jar files... No solution still... Next
we added the classpath to the MANIFEST.MF file of the ear... Still no
solution... We tried probably every possible permutation & combination
of placing the jar files in the various modules but some classes never
get loaded... What is the solution to this problem??  We are using a
evaluation copy of Weblogic... Is it because of that??? If not, is it an
inherent problem with struts 1.0 (in this case should we use struts
1.1??)

Any help in this matter would be welcomed...

Navneet Saraogi

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



RE: Websphere 4.02 Struts Deployment

2002-06-03 Thread Benson, Mike

Danny,

Just wanted to say thanks, everything seems to be working once I replaced
the Xalan/Xerces binaries.

Thanks,

Mike


> -Original Message-
> From: Danny Mui [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, June 01, 2002 2:07 AM
> To:   Struts Users Mailing List
> Subject:  Re: Websphere 4.02 Struts Deployment
> 
> I have a pretty complicated struts 1.1b app running on Websphere 4.02 on
> Windows 2000 and have yet to see the error that you've received.
> 
> The steps I had to take to deploy to websphere were:
> 1) http://marc.theaimsgroup.com/?l=struts-user&m=102142014616118&w=2
> 2) Set the JVM settings for the Default Server to that mentioned below for
> redirect issues
> 
> I like using theaimsgroup.com for the color scheme :)
> 
> That's pretty much all I had to go through to get my tomcat developed app
> to
> work on websphere.
> 
> Worse case scenario, step through the code to find out what's going on.
> It's a really powerful source of information that I've taken advantage of
> a
> few times learn what the heck was going on.
> 
> Sorry!
> 
> - Original Message -
> From: "Benson, Mike" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 29, 2002 6:44 PM
> Subject: RE: Websphere 4.02 Struts Deployment
> 
> 
> >
> > Hello, I'm working on deploying to Websphere 4.x on the Win 2000
> platform,
> > and I'm receiving the following error:
> >
> > Error 500: Cannot find ActionMappings or ActionFormBeans collection
> >
> > I've read a few emails about modifying the struts code to make this work
> and
> > replacing parsers and all, but my dilemma is that I've got to deploy
> this
> to
> > Websphere 4.x on OS/390 when I'm done with 2000.  Is there a more simple
> > solution or anyplace that describes the changes in a little more detail
> that
> > you can point me in the right direction?
> >
> > Thanks in advance,
> >
> > Mike Benson
> >
> >
> > > -Original Message-
> > > From: Danny Mui [SMTP:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 15, 2002 12:04 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Websphere 4.02 Struts Deployment
> > >
> > > To follow up,
> > >
> > > WebSphere 4.02 comes with the fix pack (they also have an E-FIX for
> > > putting
> > > out that fire) that makes it redirect compliant to servlet spec 2.3.
> To
> > > enable this mode, add :
> > >
> > > name com.ibm.websphere.sendredirect.compliance
> > > value 1
> > >
> > > to the System Properties in the admin console under: Application
> Servers
> > > \[DefaultServer] \ JVM Settings
> > >
> > > I should have checked the Dev list :)
> > >
> > > thanks again
> > >
> > > - Original Message -
> > > From: "Tero P Paananen" <[EMAIL PROTECTED]>
> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > > Sent: Tuesday, May 14, 2002 7:50 PM
> > > Subject: RE: Websphere 4.02 Struts Deployment
> > >
> > >
> > > > > I'm having problems with struts forwards:
> > > > >
> > > > > 
> > > > >
> > > > > (forwards to /do/summary/display)
> > > > >
> > > > > it actually redirects it to : /app/app/do/summary/display
> > > > >
> > > > > I think Websphere is being too helpful here with the redirects!!
> Any
> > > > > pointers?
> > > >
> > > > There's a patch to this bug.
> > > >
> > > > I'll dig it up for you tomorrow morning, if you'd
> > > > kindly remind me by Email.
> > > >
> > > > -TPP - it's past my bed time
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

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




RE: Websphere 4.02 Struts Deployment

2002-06-01 Thread John Menke

Danny,

>
> The steps I had to take to deploy to websphere were:
> 1) http://marc.theaimsgroup.com/?l=struts-user&m=102142014616118&w=2
> 2) Set the JVM settings for the Default Server to that mentioned below for
> redirect issues
>

1. Upgrade to 4.0.3...gah, server admining...
2. Patch RequestProcessor to detect double contexts...*sigh* hack..i hate
that...
-

Can you give me more information on patching RequestProcessor for Eclipse?

john


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Websphere 4.02 Struts Deployment

2002-05-31 Thread Danny Mui

I have a pretty complicated struts 1.1b app running on Websphere 4.02 on
Windows 2000 and have yet to see the error that you've received.

The steps I had to take to deploy to websphere were:
1) http://marc.theaimsgroup.com/?l=struts-user&m=102142014616118&w=2
2) Set the JVM settings for the Default Server to that mentioned below for
redirect issues

I like using theaimsgroup.com for the color scheme :)

That's pretty much all I had to go through to get my tomcat developed app to
work on websphere.

Worse case scenario, step through the code to find out what's going on.
It's a really powerful source of information that I've taken advantage of a
few times learn what the heck was going on.

Sorry!

- Original Message -
From: "Benson, Mike" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 6:44 PM
Subject: RE: Websphere 4.02 Struts Deployment


>
> Hello, I'm working on deploying to Websphere 4.x on the Win 2000 platform,
> and I'm receiving the following error:
>
> Error 500: Cannot find ActionMappings or ActionFormBeans collection
>
> I've read a few emails about modifying the struts code to make this work
and
> replacing parsers and all, but my dilemma is that I've got to deploy this
to
> Websphere 4.x on OS/390 when I'm done with 2000.  Is there a more simple
> solution or anyplace that describes the changes in a little more detail
that
> you can point me in the right direction?
>
> Thanks in advance,
>
> Mike Benson
>
>
> > -Original Message-----
> > From: Danny Mui [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 15, 2002 12:04 PM
> > To: Struts Users Mailing List
> > Subject: Re: Websphere 4.02 Struts Deployment
> >
> > To follow up,
> >
> > WebSphere 4.02 comes with the fix pack (they also have an E-FIX for
> > putting
> > out that fire) that makes it redirect compliant to servlet spec 2.3.  To
> > enable this mode, add :
> >
> > name com.ibm.websphere.sendredirect.compliance
> > value 1
> >
> > to the System Properties in the admin console under: Application Servers
> > \[DefaultServer] \ JVM Settings
> >
> > I should have checked the Dev list :)
> >
> > thanks again
> >
> > - Original Message -
> > From: "Tero P Paananen" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, May 14, 2002 7:50 PM
> > Subject: RE: Websphere 4.02 Struts Deployment
> >
> >
> > > > I'm having problems with struts forwards:
> > > >
> > > > 
> > > >
> > > > (forwards to /do/summary/display)
> > > >
> > > > it actually redirects it to : /app/app/do/summary/display
> > > >
> > > > I think Websphere is being too helpful here with the redirects!!
Any
> > > > pointers?
> > >
> > > There's a patch to this bug.
> > >
> > > I'll dig it up for you tomorrow morning, if you'd
> > > kindly remind me by Email.
> > >
> > > -TPP - it's past my bed time
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




RE: Websphere 4.02 Struts Deployment

2002-05-29 Thread Benson, Mike


Hello, I'm working on deploying to Websphere 4.x on the Win 2000 platform,
and I'm receiving the following error:

Error 500: Cannot find ActionMappings or ActionFormBeans collection 

I've read a few emails about modifying the struts code to make this work and
replacing parsers and all, but my dilemma is that I've got to deploy this to
Websphere 4.x on OS/390 when I'm done with 2000.  Is there a more simple
solution or anyplace that describes the changes in a little more detail that
you can point me in the right direction?  

Thanks in advance,

Mike Benson


> -Original Message-
> From: Danny Mui [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 12:04 PM
> To:   Struts Users Mailing List
> Subject:  Re: Websphere 4.02 Struts Deployment
> 
> To follow up,
> 
> WebSphere 4.02 comes with the fix pack (they also have an E-FIX for
> putting
> out that fire) that makes it redirect compliant to servlet spec 2.3.  To
> enable this mode, add :
> 
> name com.ibm.websphere.sendredirect.compliance
> value 1
> 
> to the System Properties in the admin console under: Application Servers
> \[DefaultServer] \ JVM Settings
> 
> I should have checked the Dev list :)
> 
> thanks again
> 
> - Original Message -
> From: "Tero P Paananen" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 14, 2002 7:50 PM
> Subject: RE: Websphere 4.02 Struts Deployment
> 
> 
> > > I'm having problems with struts forwards:
> > >
> > > 
> > >
> > > (forwards to /do/summary/display)
> > >
> > > it actually redirects it to : /app/app/do/summary/display
> > >
> > > I think Websphere is being too helpful here with the redirects!!  Any
> > > pointers?
> >
> > There's a patch to this bug.
> >
> > I'll dig it up for you tomorrow morning, if you'd
> > kindly remind me by Email.
> >
> > -TPP - it's past my bed time
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

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




Re: Websphere 4.02 Struts Deployment

2002-05-15 Thread Danny Mui

To follow up,

WebSphere 4.02 comes with the fix pack (they also have an E-FIX for putting
out that fire) that makes it redirect compliant to servlet spec 2.3.  To
enable this mode, add :

name com.ibm.websphere.sendredirect.compliance
value 1

to the System Properties in the admin console under: Application Servers
\[DefaultServer] \ JVM Settings

I should have checked the Dev list :)

thanks again

- Original Message -
From: "Tero P Paananen" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 14, 2002 7:50 PM
Subject: RE: Websphere 4.02 Struts Deployment


> > I'm having problems with struts forwards:
> >
> > 
> >
> > (forwards to /do/summary/display)
> >
> > it actually redirects it to : /app/app/do/summary/display
> >
> > I think Websphere is being too helpful here with the redirects!!  Any
> > pointers?
>
> There's a patch to this bug.
>
> I'll dig it up for you tomorrow morning, if you'd
> kindly remind me by Email.
>
> -TPP - it's past my bed time
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




RE: Websphere 4.02 Struts Deployment

2002-05-14 Thread Tero P Paananen

> I'm having problems with struts forwards:
> 
> 
> 
> (forwards to /do/summary/display)
> 
> it actually redirects it to : /app/app/do/summary/display
> 
> I think Websphere is being too helpful here with the redirects!!  Any
> pointers?

There's a patch to this bug.

I'll dig it up for you tomorrow morning, if you'd
kindly remind me by Email.

-TPP - it's past my bed time

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Websphere 4.02 Struts Deployment

2002-05-14 Thread Danny Mui

Hello people :)

Anybody play with deploying a struts app on Websphere 4ish?  After a day's
worth of battle with the beast, I give up for the night.

*Downloaded new Xalan/Xerces binaries and placed in WEB-INF/lib to get
allow the digester to parse the struts-config.xml file correctly.

*Changed the web.xml version back to 2.2 so that the Application Installer
would stop null pointering .

*Learned how to regen the plugin file so that no more manual aliases need
be entered.

Thought my trek was complete but apparently not.  I've installed the app in
a different context : /app

I'm having problems with struts forwards:



(forwards to /do/summary/display)

it actually redirects it to : /app/app/do/summary/display

I think Websphere is being too helpful here with the redirects!!  Any
pointers?  Things I'm planning to attempt:

1. Upgrade to 4.0.3...gah, server admining...
2. Patch RequestProcessor to detect double contexts...*sigh* hack..i hate
that...

As usual, everything works on my machine (Tomcat 4.0) :)

Any help appreciated!

danny



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts Deployment

2001-07-17 Thread devon . bowen

> I have just started using struts and I was wondering what is 
> the best way to
> deploy struts for development, so I can avoid using a war 
> file until it is
> ready to deploy in test or production?  The documentation seems mostly
> geared toward deployment as a war file and the ActionServlet 
> seems to need
> the action mapping described in the web.xml.
> 
> I am using weblogic 5.1 sp 9

When the container runs and sees a new war file, it unpacks it into
a directory structure next to the war file and then uses that
directory structure to run. So you only need to work within this
directory structure for development and you can forget about making
the war file until the end. This is true for Tomcat but I assume
it is also part of the JSP standard.

Devon




Struts Deployment

2001-07-17 Thread Aaron Ravenberg

Hello all,

I have just started using struts and I was wondering what is the best way to
deploy struts for development, so I can avoid using a war file until it is
ready to deploy in test or production?  The documentation seems mostly
geared toward deployment as a war file and the ActionServlet seems to need
the action mapping described in the web.xml.

I am using weblogic 5.1 sp 9

Thank you,

Aaron Ravenberg