Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPF » Questions about the published .war file
Questions about the published .war file [message #37723] Mon, 13 August 2007 13:03 Go to next message
Eclipse UserFriend
Originally posted by: ward.bergmans.xx.xxxxxx.com

Hello,

I’ve published my method configuration as a Java EE web application
packaged in a WAR file.

I’ve got a few questions about this .war file:

1a. Does this .war file store any data?
If so,
1b. where does this .war file store it?
1c. How can I configure where the data is stored?

2a. Does this .war file write anything to system.out or system.err?
2b. Does this war file produce log output?
If so,
2c. where is this log output stored?
2d. How can I configure the logging?

When I try to search I get the following error message:
"Error 500: Failed to load target servlet [SearchServlet]".
I noticed the casing of the web-inf directory isn’t consistent. For
web-inf\web.xml it is in lower-case and for WEB-INF\lib\epf-web.jar it is
in upper-case. Our webserver runs on Unix (case sensitive ;-)), so I think
this caused the problem.
3. How can I fix the search functionality?

Thank you,

Ward
Re: Questions about the published .war file [message #38045 is a reply to message #37723] Tue, 14 August 2007 20:48 Go to previous messageGo to next message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
Hello Ward.
The only difference between the site published to a directory and the war
file is that it contains a servlet that calls the search engine.

We tried to reproduce the case sensitive issue on Solaris with RHEL4 and
could not see it. Could you provide more details about your set-up?

Thanks,
Peter.



"Ward" <ward.bergmans@xx.xxxxxx.com> wrote in message
news:135b9f3b73f28d9b96962cf709a1876d$1@www.eclipse.org...
> Hello,
>
> I
Re: Questions about the published .war file [message #38080 is a reply to message #38045] Thu, 16 August 2007 08:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ward.bergmans.xx.xxxxxx.com

Hello,

I’ve published my method configuration as a Java EE web application
packaged in a WAR file.

I’ve got a few questions about this .war file:

1a. Does this .war file store any data?
If so,
1b. where does this .war file store it?
1c. How can I configure where the data is stored?

2a. Does this .war file write to system.out or system.err?
2b. Does this war file produce log output?
If so,
2c. where is this log output stored?
2d. How can I configure the logging?

When I try to search I get the following error message: "Error 500: Failed
to load target servlet [SearchServlet]".
I noticed the casing of the web-inf directory isn’t consistent. For
web-inf\web.xml it is in lower-case and for WEB-INF\lib\epf-web.jar it is
in upper-case. Our webserver runs on Unix (case sensitive ;-)), so I think
this caused the problem.
3. How can I fix the search functionality?

Thank you,

Ward
Re: Questions about the published .war file [message #38113 is a reply to message #38045] Thu, 16 August 2007 08:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ward.bergmans.xx.xxxxxx.com

-= Sorry, I copy pasted the wrong text in my previous reply... Here's the
right one =-

Hello Peter,

Thank you for the information.

We’ve got IBM WebSphere Studio Application Developer Version 5.1.1 on AIX
5.1

IBM WebSphere Studio Application Developer Version 5.1.1 has support for
Servlet, version 2.2 and version 2.3. (source:
ftp://ftp.software.ibm.com/software/websphere/awdtools/wsad/ pdfs/g325-5380-07.pdf)

Maybe this is useful information: On this page
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1 PQ94676 you can
read about a problem with the Servlet Spec 2.3.

I think it would be helpful if I give you my .war file. Then you can see
that the web-inf paths have different casings. You can download it from:
http://www.mediamax.com/wardbergmans/Links/1364F3133A
Our IT departments says that when the .war file is deployed, everything is
stored in WEB-INF upper-case (so there is no web-inf lower case).

I hope you know a solution to fix the search error. If you need more
information, please let me know.

Thanks,

Ward
Re: Questions about the published .war file [message #38146 is a reply to message #38113] Fri, 17 August 2007 02:13 Go to previous messageGo to next message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
Hello Ward.
Our dev team looked at it and thinks that your issue is not related to
capitalization, but a Java issue. We used to compile the Servlet with 1.5,
but your old app server runs on 1.4. We fixed this and now compile against
1.4. Could you download our next nightly build and please try again and let
us know?

Thanks for pointing us into the right direction,
Peter.


"Ward" <ward.bergmans@xx.xxxxxx.com> wrote in message
news:d6492665a9bb43979d58fa3cbfa2062d$1@www.eclipse.org...
> -= Sorry, I copy pasted the wrong text in my previous reply... Here's the
> right one =-
>
> Hello Peter,
>
> Thank you for the information.
>
> We
Re: Questions about the published .war file [message #38858 is a reply to message #38146] Thu, 30 August 2007 12:52 Go to previous message
Eclipse UserFriend
Originally posted by: ward.bergmans.xx.xxxxxx.com

It works perfect now. Thank you!
Re: Questions about the published .war file [message #581866 is a reply to message #37723] Tue, 14 August 2007 20:48 Go to previous message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
Hello Ward.
The only difference between the site published to a directory and the war
file is that it contains a servlet that calls the search engine.

We tried to reproduce the case sensitive issue on Solaris with RHEL4 and
could not see it. Could you provide more details about your set-up?

Thanks,
Peter.



"Ward" <ward.bergmans@xx.xxxxxx.com> wrote in message
news:135b9f3b73f28d9b96962cf709a1876d$1@www.eclipse.org...
> Hello,
>
> I
Re: Questions about the published .war file [message #581907 is a reply to message #38045] Thu, 16 August 2007 08:43 Go to previous message
Ward is currently offline WardFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

I’ve published my method configuration as a Java EE web application
packaged in a WAR file.

I’ve got a few questions about this .war file:

1a. Does this .war file store any data?
If so,
1b. where does this .war file store it?
1c. How can I configure where the data is stored?

2a. Does this .war file write to system.out or system.err?
2b. Does this war file produce log output?
If so,
2c. where is this log output stored?
2d. How can I configure the logging?

When I try to search I get the following error message: "Error 500: Failed
to load target servlet [SearchServlet]".
I noticed the casing of the web-inf directory isn’t consistent. For
web-inf\web.xml it is in lower-case and for WEB-INF\lib\epf-web.jar it is
in upper-case. Our webserver runs on Unix (case sensitive ;-)), so I think
this caused the problem.
3. How can I fix the search functionality?

Thank you,

Ward
Re: Questions about the published .war file [message #581931 is a reply to message #38045] Thu, 16 August 2007 08:45 Go to previous message
Ward is currently offline WardFriend
Messages: 4
Registered: July 2009
Junior Member
-= Sorry, I copy pasted the wrong text in my previous reply... Here's the
right one =-

Hello Peter,

Thank you for the information.

We’ve got IBM WebSphere Studio Application Developer Version 5.1.1 on AIX
5.1

IBM WebSphere Studio Application Developer Version 5.1.1 has support for
Servlet, version 2.2 and version 2.3. (source:
ftp://ftp.software.ibm.com/software/websphere/awdtools/wsad/ pdfs/g325-5380-07.pdf)

Maybe this is useful information: On this page
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1 PQ94676 you can
read about a problem with the Servlet Spec 2.3.

I think it would be helpful if I give you my .war file. Then you can see
that the web-inf paths have different casings. You can download it from:
http://www.mediamax.com/wardbergmans/Links/1364F3133A
Our IT departments says that when the .war file is deployed, everything is
stored in WEB-INF upper-case (so there is no web-inf lower case).

I hope you know a solution to fix the search error. If you need more
information, please let me know.

Thanks,

Ward
Re: Questions about the published .war file [message #581951 is a reply to message #38113] Fri, 17 August 2007 02:13 Go to previous message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
Hello Ward.
Our dev team looked at it and thinks that your issue is not related to
capitalization, but a Java issue. We used to compile the Servlet with 1.5,
but your old app server runs on 1.4. We fixed this and now compile against
1.4. Could you download our next nightly build and please try again and let
us know?

Thanks for pointing us into the right direction,
Peter.


"Ward" <ward.bergmans@xx.xxxxxx.com> wrote in message
news:d6492665a9bb43979d58fa3cbfa2062d$1@www.eclipse.org...
> -= Sorry, I copy pasted the wrong text in my previous reply... Here's the
> right one =-
>
> Hello Peter,
>
> Thank you for the information.
>
> We
Re: Questions about the published .war file [message #582372 is a reply to message #38146] Thu, 30 August 2007 12:52 Go to previous message
Ward is currently offline WardFriend
Messages: 4
Registered: July 2009
Junior Member
It works perfect now. Thank you!
Previous Topic:OpenUP solution looking for a problem
Next Topic:where is OpenUp/Basic ?
Goto Forum:
  


Current Time: Thu Sep 19 16:44:03 GMT 2024

Powered by FUDForum. Page generated in 0.04362 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top