Problem deploying war created in Sun Java Studio Enterprise 8

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

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

Similar Messages

  • Running Jar Files created in Sun Java Studio

    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. However after building the jar file, if I try to execute the jar file it gives me this message
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver.....
    But all goes well within the IDE and it runs well if I use my notepad or vi editor,compile it from the command line and execute the generated class file. The classpath have been set for all the necessary jdbc jar files.
    Any Help Will Be Appreciated

    1. Sun Java Studio Enterprise 8 is based on NetBeans 4.1 which does not provide direct support for packing an application. One alternative you may want to consider is to use NetBeans 5.0 (http://www.netbeans.info/downloads/download.php?type=5.0) or JSE 8.1 which is based on NB5.0 and which is now in beta (http://developers.sun.com/prodtech/javatools/jsenterprise/downloads/index.jsp).
    You may want to refer to http://www.netbeans.org/kb/articles/javase-deploy.html for packing and deploying a standalone application is NB5.0 or JSE8.1.
    2. Using JSE8, you may want to try copying all the library jars (including database drivers) used by your application to your projects dist directory manually and then package them all into one jar.
    3. You should not have to know the exact location of the jdbc jar on the client machine. How are you instantiating the driver in your code? Are you using 'Class.forName()'? If so, java should be able to pick up the driver from the classpath. (Pl. ref to http://forum.sun.com/jive/thread.jspa?forumID=122&threadID=62696, which may be of help).

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

    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's applet viewer, and then test it through a browser.
    I've followed the instructions I can find in the IDE, but keep getting an error... Class Not Found.
    Does anyone have a simple applet that works within the IDE and instructions for creating and testing an applet within the IDE?
    I know there's sample applet code, but I need to specifically learn how to develop and deploy it within the IDE.
    Thanks.
    Michael O'Neal
    Houston TX USA

    Hi! Thanks for the reply!
    Sorry for the delay in responding here... this is just a "free time" project for me while I"m at work.
    Based on your comment, I've downloaded the "Sun Java Studio Creator 2" IDE, since that sounds like it might be more suited to simple things like applets.
    I'll work with that and I'll post further replies to this thread if I have any questions.
    Thanks for your assistance!

  • How to generate code in Sun Java Studio Enterprise 8

    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 class it does not appear in code and context action "Generate Code" is missing for such class.
    I use Sun Java Studio Enterprise 8

    Thank you for replay, may steps are same:
    1. I have created Java Project With Existing Source
    2. selected directory with code (not whole project but directory with java classes)
    3. After that I have created UML Java Specific project and
    4. Associated UML project with previous created java project
    5. I have selected "Code Generation" check box
    6. Classes from java project were reversed into UML model.
    7. After that I have created new class in java project.
    And there is no Generate code action in this class context menu, also this class do not appeared in code automatically.
    From UML project properties it is shown that UML project is associated with proper java project)
    Same is with Java Application project associated with UML java project.
    Documentation do not talks more about this. Only same steps. It looks like code generation should be working but it isn't. I'm I only one who face this problem, or do smth wrong?

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

    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 selecting the already opened one.
    3) it insert without asking me accessor methods when I am adding fields in a class.
    Someone at Sun forgot to make a beta phase for such a product ????!!!!!!!
    PLEASE FORGET DEADLINES, MAKE EFFICIENT SOFTWARE !

    Hi
    Thank you for the observations. I have been trying to reproduce the problems but I am unable to see aby of the below.
    1) it deletes some files I am currently editing. A very painful bug !!This is really a bug if we see this behaviour. Please let me know your OS details. Ide.log would be helpful.
    2) it opens multiple times the same java source file in editor instead of selecting the already opened one.Check if there are any options to turn off this. My IDE doenot show multiple copies of the same source file. It just uses the existing one.
    3) it insert without asking me accessor methods when I am adding fields in a class.IDE will not add any accessor methods unless you are trying to create fields/properties in bean patterns.
    Thanks
    Srinivas

  • Unable to Install  Sun Java Studio Enterprise 8 on Windows XP

    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 message:-
    "The wizard was interrupted before Sun Java(TM) Studio Enterprise 8 could be completely installed " ..
    ."The System has not been modified. To install this program at a later time, run the installatio again. Click finish to exit the wizard.. " ...
    With the FINISH button activated.... I did not interrupted the installation..What does this message mean ...Can anyone help PLEASE, ???

    Googling the net for this error message leads to the same issue reported while installing other software as well:
    - http://www.adobe.com/support/techdocs/325468.html
    Solution
    Download and install the Microsoft Windows Installer 2.0 (InstMsi.exe) from Microsoft's Web site at www.microsoft.com/downloads/release.asp?releaseid=32832&newlist=1
    - http://support.microsoft.com/?kbid=836724
    This article describes a similar problem while installing sqlserver but may be applicable in this case:
    This problem occurs when both of the following conditions are true:
    The DefaultAccessPermissions binary value exists under the HKEY_LOCAL_MACHINE\Software\Microsoft\Ole registry key
    The user account that has logged on to the computer to install ... does not have default access permissions for Distributed Component Object Module (DCOM) applications.
    The above articles provide possible resolutions as well.

  • To setup Sun Java Studio Enterprise 8

    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?
    Windows Platform - Sun Java[tm] Studio Enterprise 8 plus Sun Developer Network Standard - Welcome!
    Sun Java Studio Enterprise 8, Multilanguage jstudio_ent8_dl-win.exe
    It seems this download is for an update for that enterprise version. If I had not setup anything before within the machine, can I setup it? When I'm setting up that, it just keeps waiting and waiting and cannot proceed at all.
    Thks & Rgds,
    HuaMin

    Googling the net for this error message leads to the same issue reported while installing other software as well:
    - http://www.adobe.com/support/techdocs/325468.html
    Solution
    Download and install the Microsoft Windows Installer 2.0 (InstMsi.exe) from Microsoft's Web site at www.microsoft.com/downloads/release.asp?releaseid=32832&newlist=1
    - http://support.microsoft.com/?kbid=836724
    This article describes a similar problem while installing sqlserver but may be applicable in this case:
    This problem occurs when both of the following conditions are true:
    The DefaultAccessPermissions binary value exists under the HKEY_LOCAL_MACHINE\Software\Microsoft\Ole registry key
    The user account that has logged on to the computer to install ... does not have default access permissions for Distributed Component Object Module (DCOM) applications.
    The above articles provide possible resolutions as well.

  • Open Forte for java project in Sun java studio enterprise

    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 IDE (starting with NetBeans 4.1 and JSE 8) are based on a more-robust project system that is ant based. Projects from Forte for Java 4, unfortunately, cannot be directly opened in JSE8, NB4.1 and later.
    If you do have access to the original source code, pl. try the following in the latest version of JSE or NetBeans:
    - Create a fresh project in jse using File | New Project. (For a java standalone app, you would choose General | Java Application from the dialog).
    - Add the existing files to the empty project. You can do so by right-clicking on the project, selecting properties and adding the existing source directories under 'Source Packages' in 'Sources' category.
    Or from the new project dialog, you could select 'General | Java Project with existing sources' option.

  • How to Open JCreator Project in Sun Java Studio Enterprise

    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......

    dilsesan,
    I assume that by JCreator you mean Java Studio Creator. In this case I suppose that the project type you described - "JSF Project" is specific to JSC and is not supported in Java Studio Enterprise. Sorry.
    Btw, why do you want to use Java Studio Enterprise for editing a project created with Creator? Is there a feature missing in Creator that is present in JSE?
    Thanks,
    Kirill

  • Sun Java Studio Enterprise 8.1

    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 compile with Sun Java Studio Enterprise. Can anybody give some suggestions on how to do this? Or, could anybody tell me where to find a tutorial about Sun Java Studio Enterprise? I found a tutorial here: http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/index.jsp , but it is only for creating a new project from scratch with UML modeling feature. This doesn't seem to be very helpful for my situation. Thank you!

    I installed Sun Java Studio but I couldn't find the option allowing me to create a new project from scratch. In New Project dialog, there are four options: Standard, UML, Web, Samples. When I select Standard, the description says "Imports an existing Java application into a free-form IDE project. A free-form project uses your existing Ant build script to run, compile, and debug your project." I know I can use the option UML to create a new project with assistance of UML model diagram, but this is not what I want.
    Does anybody have suggestions on this? Thanks in advance.

  • Code generation in Sun Java Studio enterprise edition 7.0

    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 use drag and drop feature of studio.
    Thanks
    das

    Please review UML Modeling in Sun Java Studio Enterprise Webinar's materials to get more information about it:
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/presentations/uml.html

  • Need Sun Java Studio Enterprise 8 developer

    Hello,
    I have been an avid Java developer and reader. Thought I can get quality developers from this forum only.
    We need someone who has experience in developing in Sun Java Studio Enterprise 8.0 for our client in South Bay, CA. The position is for 6+ months. It pays well and is open immediately. We have other java openings throughout the nation. Please look up at our dice.com openings under the company name INFOMATICS.
    Feel free to call me at 248-865-0300 x 13.
    Thank you,
    Jagan
    Sr. Recruiter
    Infomatics

    Hi Jagan,
    do you hire remote JSE8 developers?
    Tomas

  • Sun Java Studio Enterprise 8 - question on UML support

    Hello Everybody,
    I was looking at the features of "Sun Java Studio Enterprise 8" and in the UML support feature they said that this IDE provides source code synchronization with the model.It does this without using markers or tagging in the source code.It says, using them will reduce the productivity.
    I just want to know the reason for this.How can they reduce the productivity? It says as if some IDEs use that procedure. Are there any IDEs which follow that procedure?
    Thank you.

    Hello Everybody,
    I was looking at the features of "Sun Java Studio Enterprise 8" and in the UML support feature they said that this IDE provides source code synchronization with the model.It does this without using markers or tagging in the source code.It says, using them will reduce the productivity.
    I just want to know the reason for this.How can they reduce the productivity? It says as if some IDEs use that procedure. Are there any IDEs which follow that procedure?
    Thank you.

  • Sun Java Studio Enterprise 8 minimal requirements

    Hi everybody.
    I want to buy a laptop in a week or two.
    Would celeron 1.6 processor + 512 MB memory be enough for Sun Java Studio Enterprise 8?
    Where can I find it's requirements?
    Sincerely,
    Nikita

    You can find the system requirements from the links above. But if you are developing Enterprise Applications, then you will be running the IDE with the Applicaiton Server (or WebServer). Also note that if the applications your are working on have thousands of classes, the minimum requirements may work but will cause you frustration.
    In the end, the processor you list will probably do the trick, but you may want more memory if you are working on larger projects.

  • Sun Java Studio Enterprise 8 MACOSX !! WE NEED IT!!

    Hi Sun!
    Are there any plans to release Sun Java Studio Enterprise 8 for MacOSX?
    It's a bit work ... and it runs on osx (Netbeans run's on osx).
    There are many postings around asking for an osx version !
    Matthias

    hi, did these step really work for you?
    On my machine the installer does not recognize the correct Java Runtime and asks me to enter the path to the JDK.
    I have the latest Version (1.5.0_05) installed, but whatever I tried, it just does not accept this Version. I chose the Path:
    /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ and some Variations, like the bin-Dir. and the Home-dir inside 1.5.0, but nothing works.
    And yes, I started the installler from the command-line using the 1.5.0 java.
    Any further suggestions?
    Did the installer recognize the right Framework on your installations automatically, or where did you point it?
    Help very much appreciated - thanks.
    gruss -- stephan

Maybe you are looking for

  • Cannot add a new subscription in management console

    In my managment page, I cannot 'request seats' for additional licenses because the grey dialog box that appears is 3/4 off my screen at the bottom of the browser.  Tried 3 different browsers from the same computer, and even a 2nd computer with the sa

  • Applying effects to selective frames in a video clip

    Question: What is the best way to add a mask only to certain frames in clips of a sequence on Premier Pro CC using After Effects (i.e., a single frame mode)? I am trying to fix a keyed video, but only need to fix frames here and there and  do not wan

  • I need to put the -Time Code- numbers running on the video... help

    OhI have FC Express.. I have Effects:Video Filters:Video: Blink, De-Interface, Flicker, Image Stabilizater, Shift Fields, Stop Motion Blur, Strobe & Viewfinder... No Timecode generator or reader here... ?

  • Scanned doc now too big for print

    Hi, I have scanned this sheet and modified it, now i need to print it back but photoshop says its too big for print. Indeed it just printed a portion of it. Can someone with experience of this kind of issue explain me the technicalities and what shou

  • Mac Lion Version 10.7.3 not Restoring Windows after force quite

    I am getting following error after opening Ooo (Open Office org) "The application "OpenOffice.org" was forced to quit while trying to restore its windows.  Do you want to try to restore its windows again?" And nothing is happening after pressing both