This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 103508 - Applications deployed onto WebLogic 10 won't run
Summary: Applications deployed onto WebLogic 10 won't run
Status: RESOLVED DUPLICATE of bug 106582
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on: 106582
Blocks:
  Show dependency tree
 
Reported: 2007-05-08 20:02 UTC by vieiro
Modified: 2008-01-15 21:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Server Log (55.29 KB, application/octet-stream)
2007-06-01 23:45 UTC, Yousuf Haider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vieiro 2007-05-08 20:02:41 UTC
Hi,

With NB6 M9 I can deploy the generated war files onto WebLogic 10 without
problems, but the applications won't run because the FacesServlet is not
included in the WEB-INF/lib jar files.

So as a result all Visual Web Applications won't work on WebLogic 10.

Let me know if you need more details (I may be able to get some details by
tomorrow).
Comment 1 vieiro 2007-06-01 18:25:03 UTC
BEA WebLogic 10 has no implicit support for JSF.

You can either make a reference to the JSF1.2 libraries (by adding some stuff to
the weblogic.xml file) or bundle the JSF1.2 libraries yourself.

See:

http://e-docs.bea.com/wls/docs100/webapp/configurejsfandjtsl.html
http://www.netbeans.org/servlets/ReadMsg?list=nbdev&msgNo=37889
Comment 2 Yousuf Haider 2007-06-01 23:44:53 UTC
Even after adding the JSF and JSTl jars to the project I wasn't able to
successfully run the VWP app.

Also adding the library references in the weblogic.xml didn't help either.

Will attach the server log next.

Here is the error I am getting on the browser:

Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable

The server is currently unable to handle the request due to a temporary
overloading or maintenance of the server. The implication is that this is a
temporary condition which will be alleviated after some delay. If known, the
length of the delay may be indicated in a Retry-After header. If no Retry-After
is given, the client SHOULD handle the response as it would for a 500 response.

    Note: The existence of the 503 status code does not imply that a server must
use it when becoming overloaded. Some servers may wish to simply refuse the
connection.

Comment 3 Yousuf Haider 2007-06-01 23:45:29 UTC
Created attachment 43139 [details]
Server Log
Comment 4 _ potingwu 2007-06-13 00:26:42 UTC
Now the JSF 1.2 project will bundle the needed jar files automatically. Please try again whether it's working or not.
Comment 5 Yousuf Haider 2007-06-13 21:17:38 UTC
I tried it on todays build: 200706130000 and Weblogic 10. But after creating a Java EE5 project the project->libraries
nodes does not contain JSF1.2. So basically it is not bundling the JSF1.2 libs. The reason for that could be because the
server already has JSF implementation and the IDE thinks that it does not need to bundle the JSF1.2 libs with the project.
But the server cannot access the jsf libs that come with it unless we specify a descriptor in the weblogic.xml.
(http://e-docs.bea.com/wls/docs100/webapp/configurejsfandjtsl.html)

So in the end the IDE does not bundle the JSF libs thinking that the server has it and the server cannot use the jsf1.2
libs with it since it does not  find the descriptor in the weblogic.xml

If I do add the JSF1.2 library and JSTL library to the project it gives the 503 error that I posted above. If I add the
descriptor instead it gives the same error.

For EE 1.4 projects the IDE again does not bundle the JSF 1.1 libs even though I specify them in the libraries tab on
project creation. When I add the libraries manually it does deploy properly.
Comment 6 Yousuf Haider 2007-06-14 00:59:32 UTC
I've modified this issue as dependent on http://www.netbeans.org/issues/show_bug.cgi?id=106582
Comment 7 _ potingwu 2007-09-28 19:26:16 UTC
Yousuf, issue #106582 has been marked as INVALID! Is this one also invalid?
Comment 8 _ potingwu 2008-01-15 21:51:26 UTC

*** This issue has been marked as a duplicate of 106582 ***