Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Scout Book: Trouble with helloworld_server.war on Glassfish
Scout Book: Trouble with helloworld_server.war on Glassfish [message #1067281] Mon, 08 July 2013 08:05 Go to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Browsing through the scout book, I came across the "Export Scout Project" function which I had not known about so far. Of course I had to try it out Smile

I created the helloworld project and exported it as described in chapter 2. I succesfully created the two WAR files.

As I already have Glassfish 3.12 installed, I decided not to install tomcat and tried to deploy helloworld_server.war to it. This seems to have worked:

[#|2013-07-08T09:49:23.952+0200|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=20;_ThreadName=Thread-2;|GUI deployment: uploadToTempfile|#]

[#|2013-07-08T09:49:24.014+0200|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=20;_ThreadName=Thread-2;|uploadFileName=helloworld_server.war|#]

[#|2013-07-08T09:49:31.877+0200|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=23;_ThreadName=Thread-2;|WEB0671: Loading application at [/helloworld_server]|#]

[#|2013-07-08T09:49:33.140+0200|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=23;_ThreadName=Thread-2;|helloworld_server was successfully deployed in 8'720 milliseconds.|#]


When I launch the application from Glassfish, I'm presented with a new page, linking to http://localhost:8080/helloworld_server/ and when I click on it, I get an html error 404. The server.log file does not show any errors and I have been unable to find any other log files containing output from the helloworld server.

HTTP Status 404 - ProxyServlet: /helloworld_server/

type Status report

messageProxyServlet: /helloworld_server/

descriptionThe requested resource (ProxyServlet: /helloworld_server/) is not available.
Oracle GlassFish Server 3.1.2


Any ideas about what could have gone wrong?
Re: Scout Book: Trouble with helloworld_server.war on Glassfish [message #1067354 is a reply to message #1067281] Mon, 08 July 2013 11:50 Go to previous messageGo to next message
Matthias Zimmermann is currently offline Matthias ZimmermannFriend
Messages: 208
Registered: June 2015
Senior Member
I just failed to reproduce your issue. What I exactely did I have added to the Wiki deploy tutorial

Not sure if my log file helps, but here are the last couple of lines after the deploy:

  
[#|2013-07-08T13:02:28.373+0200|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=99;_ThreadName=Thread-2;|GUI deployment: uploadToTempfile|#]
[#|2013-07-08T13:02:28.404+0200|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=99;_ThreadName=Thread-2;|uploadFileName=helloworld_server.war|#]
[#|2013-07-08T13:02:39.694+0200|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=82;_ThreadName=Thread-2;|WEB0671: Loading application [helloworld_server] at [/helloworld_server]|#]
[#|2013-07-08T13:02:41.344+0200|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=82;_ThreadName=Thread-2;|helloworld_server was successfully deployed in 10'827 milliseconds.|#]
[#|2013-07-08T13:03:46.514+0200|WARNING|oracle-glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=98;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
[#|2013-07-08T13:03:46.654+0200|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=98;_ThreadName=Thread-2;|GUI deployment: uploadToTempfile|#]
[#|2013-07-08T13:03:46.654+0200|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=98;_ThreadName=Thread-2;|uploadFileName=helloworld.war|#]
[#|2013-07-08T13:04:08.470+0200|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=99;_ThreadName=Thread-2;|WEB0671: Loading application [helloworld] at [/helloworld]|#]
[#|2013-07-08T13:04:10.628+0200|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=99;_ThreadName=Thread-2;|helloworld was successfully deployed in 21'381 milliseconds.|#]


Re: Scout Book: Trouble with helloworld_server.war on Glassfish [message #1067383 is a reply to message #1067354] Mon, 08 July 2013 13:22 Go to previous message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Matthias

Thanks for your response. Looking at the steps you take in the deploy tutorial, they are identical to what I did. And the lines in the server log look also exactly like mine.

I'll look into this further when I have a little more time (plus, as our applications deployment on Websphere works, this is not a "hot" issue for me).
Previous Topic:Multi Tenancy
Next Topic:The Eclipse Scout Book is out
Goto Forum:
  


Current Time: Wed Apr 24 20:53:34 GMT 2024

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

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

Back to the top