Sitemap

Amicuk Programming Answers

Problem deploying war created in Sun Java Studio Enterprise 8

2015-10-11   Views:1

Advertisement

I have, with some help from this forum, converted a portlet application from the Sun Java Studio Enterprise 7 environment to the Sun Java Studio Enterprise 8 environment. This portlet application runs in SJSE 8 now but fails when I pdeploy it to the

I have, with some help from this forum, converted a portlet application from the Sun Java Studio Enterprise 7 environment to the Sun Java
Studio Enterprise 8 environment. This portlet application runs in SJSE 8 now but fails when I pdeploy it to the portal server (Portal Server 6
2005 Q1). The old war created from SJSE 6 does work. The code is identical. The war files are slightly different.
On deployment I get:
[DEBUG] Getting Jar File from war...
[DEBUG] Getting Portlet DD as Stream...
[DEBUG] Creating DPProviders...
[DEBUG] Updating the Portlet Application...
[DEBUG] Adding Providers to DP...
[DEBUG] Adding provider: provider=__Portlet__timetableEnt8.Timetable
[DEBUG] Creating DPProvider...
[DEBUG] Checking for duplicate name: name=__Portlet__timetableEnt8.Timetable
[DEBUG] Validating modified DP doc...
[DEBUG] Storing the DP...
Done Updating Display Profile! Deploying War File to Web Container...
SUCCESS.But in the logs I see:
[#|2006-04-04T13:09:58.112-0400|SEVERE|sun-appserver-ee8.1|javax.enterprise.system.container.web|_ThreadID=10;|WebModule
[/portlet]Error configuring application listener of class
com.sun.portal.container.portlet.impl.PortletContainerContextListenerImpl
java.lang.ClassNotFoundException: com.sun.portal.container.portlet.impl.PortletContainerContextListenerImpl
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1447)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1228)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3958)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:833)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
        at com.sun.enterprise.web.WebContainer.start(WebContainer.java:688)
        at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:889)
        at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2006-04-04T13:09:58.114-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
Skipped installing application listeners due to previous error(s)|#]
[#|2006-04-04T13:09:58.114-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
Error listenerStart|#]
[#|2006-04-04T13:09:58.115-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
Context startup failed due to previous errors|#]When I look in the create "New Portlet Channel..." in the am console my application appears in the list but when I create a channel based on it, the whole desktop crashes with this error:
[#|2006-04-03T11:39:41.699-0400|SEVERE|sun-appserver-ee8.1|javax.enterprise.system.container.web|_ThreadID=16;|
StandardWrapperValve[desktopServlet]: Servlet.service() for servlet desktopServlet threw exception
java.lang.IllegalStateException: getWriter() has already been called for this response
     at org.apache.coyote.tomcat5.CoyoteResponse.getOutputStream(CoyoteResponse.java:588)
     at org.apache.coyote.tomcat5.CoyoteResponseFacade.getOutputStream(CoyoteResponseFacade.java:166)
     at com.sun.portal.desktop.DesktopServlet.getWriter(DesktopServlet.java:444)
     at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:328)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
     at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
     at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:221)
     at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2072)
|#]When I remove my custom channel the desktop renders normally.
As I mentioned before, the war created with 7 did not cause this and the application behaved normally.
Any insight would be appreciated.
I am going to look at the diff between the two wars.
Thanks,
Allan

The replay answer
Advertisement
I have the same problem, how do yuo resolve that?
Edited by: 864937 on Jun 9, 2011 1:43 PM

Go to See the other 2 answers

Problem deploying war created in Sun Java Studio Enterprise 8

Category:DefaultRelease time:2015-10-11Views:130

I have, with some help from this forum, converted a portlet application from the Sun Java Studio Enterprise 7 environment to the Sun Java Studio Enterprise 8 environment. This portlet application runs in SJSE 8 now but fails when I pdeploy it to the[More]

Running Jar Files created in Sun Java Studio

Category:DefaultRelease time:2015-10-11Views:130

Hi everyone, I am still trying to explore the functionalities (especially as regards deployment issues) of this robust IDE. However I do have a problem. I have developed a very basic program that connects to a database (MSSQL) using Java Studio 8. Ho[More]

Can't get applet working in Sun Java Studio Enterprise 8

Category:DefaultRelease time:2015-10-11Views:130

Hi! I'm just learning Sun Java Studio Enterprise 8, and I'm trying to develop and test my first applet within the IDE. I have code from a Core Java book that creates a simple applet with buttons and a picture. I want to test the applet using the IDE'[More]

How to generate code in Sun Java Studio Enterprise 8

Category:DefaultRelease time:2015-10-11Views:130

Do I miss something? I can�t find how to generate code from UML model, which is not reversed from code. Documentation also does not speak about this. Code update works fine if project is reversed from code, but if in such reversed model I create new[More]

Sun Java Studio Enterprise 7 is incredibly buggy !!!!

Category:DefaultRelease time:2015-10-11Views:130

Hi, I post here to express my heavy disapointment about a very costful IDE: Sun Java Studio Enterprise 7. 1) it deletes some files I am currently editing. A very painful bug !! 2) it opens multiple times the same java source file in editor instead of[More]

Unable to Install  Sun Java Studio Enterprise 8 on Windows XP

Category:DefaultRelease time:2015-10-11Views:130

Hello, I am trying to install the Sun Java Studio Enterprise 8 on a Windows XP machine. The installation seems to be going quite well untill it reaches the section "Publishing product Information...", then the Wizard returns the following messag[More]

To setup Sun Java Studio Enterprise 8

Category:DefaultRelease time:2015-10-11Views:130

Hi, First of all my WinXP is in Traditional Chinese (not English one or Simplified Chinese one). And when I'm setting up such below, it seems the setup wizard cannot properly show in traditional Chinese. Which version actually should I try instead? W[More]

Open Forte for java project in Sun java studio enterprise

Category:DefaultRelease time:2015-10-11Views:130

Hi Everyone, I am new to Java development. I have a java application developed in Forte for java 4 and I need to open and compile it in Sun java studio enterprise. Could anybody tell me how to do that? Thank you very much.The recent versions of the I[More]

How to Open JCreator Project in Sun Java Studio Enterprise

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Please suggest to me I Created a Project in JCreator using JSF project is running properly in JCreator but when i am trying to open the same project in Sun Java Studio Enterprise its not opening can any knows plzz let me update to me......dil[More]

Sun Java Studio Enterprise 8.1

Category:DefaultRelease time:2015-10-11Views:130

I have an application developed with Forte For Java. Since Forte for java is no longer supported by Sun, I'd like to create a new project with Sun Java Studio Enterprise and migrate the existing java files into the new project so that I can debug and[More]

Code generation in Sun Java Studio enterprise edition 7.0

Category:DefaultRelease time:2015-10-11Views:130

I went thru the product tour of Java studio enterpise edition 7.0 http://developers.sun.com/prodtech/javatools/jsenterprise/reference/presentations/launch_jse7_overview.html It says that it will generate code from UML documentation. After that can we[More]

Hot
Now that I am using CF + ORM for most of my Flex and AIR projects, I've had a much more difficult time with the deserialization of objects from AS to CF. The errors thrown by BlazeDS are not helpful at all, and not indicative of the true issue. cfgat [More]
I'm currently using a HP P6240f Desktop When playing a video, the video portion will start and stop as it pleases, however, the sound will continue to play normally.  Since the two are not in sync, I don't believe it to be a buffering issue.  I curre [More]
I have the "`" character in my wifi encryption passkey but I can't for the life of me find it on the keyboard. An alternative is if there is a way for me to configure the touch's wifi settings from within itunes.ok, so since i posted this, i've [More]
So, I've been googling and trying to figure out the answer to this question for a few hours here, and can't seem to figure it quite out. I'm using the Freestyle theme, and I want to make the page layout a bit wider, so I set the page width to 980 px. [More]
In XI7.10, each service interface can have multiple operations, for example: the service interface PurchaseOrderProcessingOrderingOut in namespace http://sap.com/xi/AP/Purchasing/Global and Software Component Version SAP AP 7.10 has three operations: [More]
Dear Santa: I spent a number of hours trying to verify and repair permissions in Disk utility before I checked the support boards. Please don't bring the boys and girls at Apple any toys this year because they SHOULD SEND OUT ALERTS to their computer [More]
Dear  guys,                 Can anyone tell me the  version of data integrator ,we are using now-a-days . waiting for ur result .What do you refer to as BO ? SAP Business One could be simplified as SBO or B1.  Only Business Object could be BO.  Post [More]
Dear All, I have question is the flash files had already copied to my X86 Solaris8's Netscape6.1 plugin directory. But it still can't run the flash page. And I also find there is no info about micromedia in the Netscape Help About Plugin. Pls help me [More]
Hi, We are in the processing of upgrading to LSO EHP4.  I have gone through what is on offer in this Enhancement Pack and stumbled across this one: Appraisals, Evaluations and Surveys: "An additional user interface has been provided to enable the cre [More]
Hallo zusammen, ich habe ein Problem mit dem „Farbfelder"-Menü. Wenn ich den Farbmodus in CMYK ändern will, bleibt die Darstellung imm er im Pantone-Modus hängen. Die eigentlichen Felder, die ich ändern möchte, liegen sozusagen UNTER der Pantone-Pale [More]