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
HI! My itunes on windows 7 opens once. If i close it, then it will not open again. I then need to turn computer off and back on and it will open again, once. I have tried troubleshooting with the article 'unexpected quits, freezes or launch problems' [More]
Hi I have recently encountered an issue when I save file as jpeg in CS6. I prepared my image for printing and my image is a bit smaller than the print size (20" x 40") so I created a new file (8 bit) with new exact print size. Then I placed my i [More]
I've got the native installer off the Blizzard website and started it up. When I choose which type of install to do, it tells me to insert the Install disc. I do this, and it just spits it back out and asks for it again (discs are fine, i've used the [More]
I followed the tutorials by Tom Green on using Edge Animate to package your videos in order to place within Muse. It's actually a simple process, (maybe too simple), because the content plays perfectly locally but once posted the movies are dead. I d [More]
So Yosemite isn't working , it freezes my Mac all the time. I don't use any apps, no heavy stuff. So how would I Mavericks  back on to my mac. I don't have that Time thing people are talking about.Try http://www.howtoisolve.com/downgrade-yosemite-to- [More]
Hello, in previous weeks I posted a message () where I mentioned that I have a problem with the quantity unit ROLE. It doesn´t seem to be a programming error nor a parametrization in customizing. In order to find out whether it´s local (in this compa [More]
We are in the process of building a new house and have gotten to the point where we have to decide to wire for ENET or go wireless only. We have 2 Mac Pros, 3 MacBook Pros and several Gx Macs without wireless. The LAN will be used for internet and da [More]
my outlook started showing older e-mails with blank body of the e-mail.  I have to have these e-mails!Generally speaking, copy/paste doesn't work. You need to send the image as an attachment.Read other 2 answers [More]
Hello First at all i apologize for my english. we are trying around with the offline folders with windows 7 enterprise (x64) and server 2008R2 standard. The synchronisation was set by GPO and it works.  Today we got the task that the user should only [More]
This is probably a newbie question, but I've created some tables and am trying to get some data into them. Isn't there some kind of a generic data in table editor for this? Something that can browse, add and edit rows for any table? I tried creating [More]