Session problem in Enterprise Java / Weblogic application

Background: we are using session variables in our enterprise java application running Weblogic application server.
Issue: When we have more than one browser open in the same PC there is session variable conflict.
Example:
1) Variable v1 of browser b1 has state X.
2) We open browser b2 and run the application, the variable v1 has session Y.
3) We come back to browser b1. We notice that v1 has state Y, we are whereas expecting it to be X.
Question:
How do we maintain the various instances of session variables when using multiple browsers from a single PC?
N.B. But this is not an issue when we check the application from multiple PCs each with a single browser open.

I'm not sure about the ins and outs of the workings of Weblogic sessions, but:
the sessions are probably being kept as cookies. This is probably what is causing the problem. That is why it works from different PCs.
Try changing the session tracking from cookies to URL rewriting, and see if the problem remains. URL rewriting should make the URLs completely independent when run from different browsers.
Let us know how you get on,
Manuel Amago.

Similar Messages

  • Problem with WLST in weblogic application server 10.3 on solaris 10 x86

    Hi Friends, I installed Sun Solaris 10 on my desktop x86. I am able to install oracle weblogic application server 10.3.
    I created one domain and I am trying to start AdminServer on that using WLST command.
    Before that , I started the admin server from command as normal start ( nohup ./startWebLogic.sh &) and the server started perfectly alright. After that I was trying to open admin console in firefox browser. It was opening perfectly alright.
    Now I stopped the server and checked no processes which are related to weblogic were running , and then initialized the WLST environment using the script "wlst.sh" , which is at (in my system) /usr/bea/wlserver_10.3/common/bin/wlst.sh. Now the environment had been set and the WLST offline prompt came up.
    Now I used the below WLST scirpt command
    startServer('AdminServer','mydomain','t3://localhost:7001','weblogic','weblogic1');
    and the server started perfectly alright, now what I did was , I started admin console at FireFox browser , it prompted me to enter user name and password , I gave them , and once the login is done, then in my shell window , I am seeing error as
    **wls:/offline> WLST-WLS-1263965848154: <Jan 19, 2010 11:39:24 PM CST> <Error> <HTTP> <BEA-101017> <[ServletContext@28481438[app:consoleapp module:console path:/console spec-version:2.5]] Root cause of ServletException.**
    **WLST-WLS-1263965848154: java.lang.OutOfMemoryError: PermGen space**
    **WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass1(Native Method)**
    **WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass(ClassLoader.java:616)**
    **WLST-WLS-1263965848154: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)**
    **WLST-WLS-1263965848154: at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)**
    **WLST-WLS-1263965848154: at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)**
    **WLST-WLS-1263965848154: Truncated. see log file for complete stacktrace**
    **WLST-WLS-1263965848154: >**
    **WLST-WLS-1263965848154: <Jan 19, 2010 11:39:24 PM CST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean com.bea:Name=mydomain,Type=SNMPAgentRuntime.**
    **WLST-WLS-1263965848154: java.lang.OutOfMemoryError: PermGen space**
    **WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass1(Native Method)**
    **WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass(ClassLoader.java:616)**
    **WLST-WLS-1263965848154: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)**
    **WLST-WLS-1263965848154: at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)**
    **WLST-WLS-1263965848154: at java.net.URLClassLoader.access$000(URLClassLoader.java:56)**
    **WLST-WLS-1263965848154: Truncated. see log file for complete stacktrace**
    **WLST-WLS-1263965848154: >**
    **WLST-WLS-1263965848154: Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space**
    So I thought I have less memory consuming for this weblogic admin server and opened up ,
    _/usr/bea/wlserver_10.3/common/bin/commEnv.sh_
    and changed the memory arguments as
    Sun)
    JAVA_VM=-server
    MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m" <---- previously these were 32m and 200m and MaxPermSize
    and also in /usr/bea/wlserver10.3/common/bin/bin/setDomainEnv.sh_
    and in this file also I changed the memory arguments as
    *if [ "${JAVA_VENDOR}" = "Sun" ] ; then*
    *WLS_MEM_ARGS_64BIT="-Xms256m -Xmx512m"*
    *export WLS_MEM_ARGS_64BIT*
    *WLS_MEM_ARGS_32BIT="-Xms1024m -Xmx1024m"*
    *export WLS_MEM_ARGS_32BIT*
    and restarted the server using the WLST command and again tried to open the admin console on a browser, same error is showing.
    (1) Environment : Sun Solaris x86
    (2) JDK : sun jdk 1.6._17
    Please help me what I am doing wrong here and please let me know the solution.
    I was trying to install jrockit 1.6 on this since my OS is sun solaris X86 , there is no compatible jrockit version is not there.
    Thanks a lot
    Peter

    Hi Peter,
    As you have mentioned in your Post that
    MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m" <---- previously these were 32m and 200m and MaxPermSize
    The Setting you have provided is wrong ...that is the reason you are gettingjava.lang.OutOfMemoryError: PermGen space. There is a RRation between PermSize and the maximum Heap Size...
    Just a Bit Explaination:
    Formula:
    (OS Level)Process Size = Java Heap (+) Native Space (+) (2-3% OS related Memory)
    PermSize : It's a Netive Memory Area Outside of the Heap, Where ClassLoading kind of things happens. In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
    Now Lets take the default Process Size=2GB (Windows), Now As you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
    (ProcessSize - HeapSize) = Native (+) (2-3% OS related Memory)
    2048 MB - 512 MB = 1536 MB
    THUMB RULES:
    <h3><font color=red>
    MaxPermSize = (MaxHeapSize/3) ----Very Special Cases
    MaxPermSize = (MaxHeapSize/4) ----Recommended
    </font></h3>
    In your Case -Xmx (Max Heap Size) and -XX:MaxPermSize both were same ....That is the reason you are getting unexpected results. These should be in proper ration.
    What should be the exact setting of these parameters depends on the Environment /Applications etc...
    But Just try -Xmx1024m -Xms1024m -XX:MaxPermSize256m
    Another recommendation for fine tuning always keep (Xmx MaxHeapSize & Xms InitialHeapSize same).
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Jan 20, 2010 5:33 PM

  • Problem while installing java system application server 8.2

    Hi
    i am trying to install Java System Access Manager 8.2 on LINUX and during this process i am getting the below error.
    Valid DNS Domain Name is required.
    The DNS Domain name provided could not be validated.
    The server being installed require a valid internet name.
    Installation cannot proceed until a valid DNS Domain Name is provided.
    The above arror is at COMMON SERVER SETTINGS window.
    help me out.
    varun

    Hi,
    This is a problem with your DNS settings (or lack of), not with Sun Java System Application Server/Access Manager.
    You will need to setup DNS before installing.
    One of these articles may help you:
    http://www.aboutdebian.com/dns.htm
    http://www.troubleshooters.com/linux/dns.htm
    http://www.linux.org/docs/ldp/howto/DNS-HOWTO.html
    Hope this helps....

  • UI problem when run java swing application on MAC OSX

    Hello,
    I have problem when i run my java swing application on MAC OSX.
    Dialog box is not properly visible in MAC means ita size increses.
    its size incresed and and some content or buttons on that dialog are not fully visible.
    I can only see partial message or button.
    If any one have idea about this problem then give the solution.
    Thanks :)
    Shweta

    I am using following way to create dialog
    JOptionPane optionpane = new JOptionPane(new Object[]{lblMsgUp}, JOptionPane.OK_CANCEL_OPTION, JOptionPane.INFORMATION_MESSAGE, null, choices, "Save");
    JDialog dialog = optionpane.createDialog(parent, "Save");
    dialog.setSize(450, 125);
    dialog.setVisible(true);

  • Enterprise Java-Based Application Development

    This company appears to be doing some rather interesting things for Java based enterprise application development. Looks like you can build apps much faster than any traditional method I have seen...can build work flows too.
    http://www.veloxtp.com

    Not sure if this helps.... ( It only will help if you are some how using Javascript to talk to the applet. )
    Macintosh computers do not support "LiveConnect" in any of their browsers. So if you are using Javascript to interact directly with the applet, i.e., to modify properties on the applet itself, then you're out of luck.
    http:\\www.unix.org.ua/orelly/web/jscript/ch19_01.html

  • Sessions problem in a 3-tier application

    Dear All,
    I am trying to create a 3-tier application using Apache Tomcat and Toplink:
    1. As a part of my servlet startup I create a ServerSession
    session = project.createServerSession();
    and store it as a static variable. Upon connect I can see that TopLink creates multiple connections. (I assume they are to be pooled between client sessions)
    2. All subsequent DB operations are performed using client sessions acquired from that server session:
    session.acquireClientSession()
    I am running into the following problem:
    After very mosdest usage (1 user) I manage to freeze the application as follows:
    [TopLink Finer]: 2007.08.19 11:31:44.093--ServerSession(2285943)--Thread(Thread[http-8080-Processor25,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:44.109--ClientSession(15960898)--Thread(Thread[http-8080-Processor25,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:44.109--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor25,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:44.921--ClientSession(15960898)--Thread(Thread[http-8080-Processor25,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:46.125--ServerSession(2285943)--Thread(Thread[http-8080-Processor24,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:46.125--ClientSession(28210421)--Thread(Thread[http-8080-Processor24,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:46.125--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor24,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:47.265--ClientSession(28210421)--Thread(Thread[http-8080-Processor24,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:49.062--ServerSession(2285943)--Thread(Thread[http-8080-Processor25,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:49.062--ClientSession(25506524)--Thread(Thread[http-8080-Processor25,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:49.062--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor25,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:50.000--ClientSession(25506524)--Thread(Thread[http-8080-Processor25,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:56.890--ServerSession(2285943)--Thread(Thread[http-8080-Processor24,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:56.890--ClientSession(19507034)--Thread(Thread[http-8080-Processor24,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    After last refresh my Query does not get executed and the application just hangs. If I PAUSE it in debug mode I observe that it is stuck waiting in the ConnectionPool.acquireConnection()
    I would appreciate any suggestions!
    Tony.

    Tony,
    TopLink does have its own internal connection pooling by default with a Server Session. This can be changed to use the data sources of the container you are running if available and wanted.
    Each read query acquires a connection and releases it once the query is completed. One exception to this is when cursored streams or scrollable cursors are used. These require the connection to be held out of the pool until the application closes the cursor/stream. Do your queries make use of this?
    Doug

  • Problem While Deploying Java Web Application(Struts,Hiber) on NetWeaver 7.3

    Hi
    Fortunately i had a requirement to deploy my project JAVA (Struts, Hiber, DOJO)web application build as war file using Eclipse 3.4 on SAP Net Weaver 7.3
    Its showing in the Deployed Components List of NetWeaver ...
    When i tried to open the home page i found an exception ...
    The following is the log file content ... Hope its something related to hibernate ...
    >deploy s:\usr\sap\trans\EPS\in\LMSDemo.war on_deploy_error=stop
    Converting s:\usr\sap\trans\EPS\in\LMSDemo.war to sda
    s:\usr\sap\trans\EPS\in\LMSDemo.war has been successfully converted to sda
    Deploy settings:
    life_cycle=bulk
    on_deploy_error=stop
    on_prerequisite_error=stop
    version_rule=lower
    workflow=normal
    If there is an offline deployment, Telnet connection to host may be lost, but th
    e result can be seen using get_result command
    Processing deployment operation, wait...
    ===== PROGRESS START =====
    Deploying JavaEE_LMSDemo (sda) ...
    Deployment of JavaEE_LMSDemo (sda) finished.
    ===== PROGRESS END =====
    ===== DEPLOY RESULT =====
    sdu id: JavaEE_LMSDemo
    sdu file path: [S:\usr\sap\N73\J10\j2ee\cluster\server0\temp\tcbldeploy_contro
    ller\archives\31\263890545832850\SDA\LMSDemo.war]
    version status: NEW
    deployment status: Warning
    description: [
    1. Warning exception has been returned while the [] was starting. Warnings:[
    Warning occurred on server 102466650 during startApp of JavaEE/LMSDemo : com.sap
    .ASJ.web.000607 (Failed in component: JavaEE/LMSDemo, ) Initialization of servle
    t action failed. Check init() method of servlet. Error is: [javax.servlet.Unav
    ailableException: org/slf4j/LoggerFactory]
    ===== END DEPLOY RESULT =====
    ===== Summary - Deploy Result - Start =====
    Type | Status : Count
    > SCA(s)
    > SDA(s)
    - Warning : [1]
    Type | Status : Id
    > SCA(s)
    > SDA(s)
    - Warning : JavaEE_LMSDemo,
    ===== Summary - Deploy Result - End =====
    >
    Does anyone knows this ..

    In your deploy message it says that it can't initialize your servlet because it is missing a java class from the logging framework that is used by hibernate. It might also be possible that that logging framework ([SL4J|http://www.slf4j.org/]) is configured to use a logger that is not available in your Netweaver 7.3 installation. Maybe check the documentation of sl4j for details. There is also a [document|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/bf0d57db-0c01-0010-6fa3-83503981eed4] about Hibernate on Netweaver but that was back when Hibernate did not use sl4j. Probably you just need to add the sl4j library to your libs.

  • SSO java sample application problem

    Hi all,
    I am trying to run the SSO java sample application, but am experiencing a problem:
    When I request the papp.jsp page I end up in an infinte loop, caught between papp.jsp and ssosignon.jsp.
    An earlier thread in this forum discussed the same problem, guessing that the cookie handling was the problem. This thread recommended a particlar servlet , ShowCookie, for inspecting the cookies for the current session.
    I have installed this cookie on the server, but don't see anything but one cookie, JSESSIONID.
    At present I am running the jsp sample app on a Tomcat server, while Oracle 9iAS with sso and portal is running on another machine on the LAN.
    The configuration of the SSO sample application is as follows:
    Cut from SSOEnablerJspBean.java:
    // Listener token for this partner application name
    private static String m_listenerToken = "wmli007251:8080";
    // Partner application session cookie name
    private static String m_cookieName = "SSO_PAPP_JSP_ID";
    // Partner application session domain
    private static String m_cookieDomain = "wmli007251:8080/";
    // Partner application session path scope
    private static String m_cookiePath = "/";
    // Host name of the database
    private static String m_dbHostName = "wmsi001370";
    // Port for database
    private static String m_dbPort = "1521";
    // Sehema name
    private static String m_dbSchemaName = "testpartnerapp";
    // Schema password
    private static String m_dbSchemaPasswd = "testpartnerapp";
    // Database SID name
    private static String m_dbSID = "IASDB.WMDATA.DK";
    // Requested URL (User requested page)
    private static String m_requestUrl = "http://wmli007251:8080/testsso/papp.jsp";
    // Cancel URL(Home page for this application which don't require authentication)
    private static String m_cancelUrl = "http://wmli007251:8080/testsso/fejl.html";
    Values specified in the Oracle Portal partner app administration page:
         ID: 1326
         Token: O87JOE971326
         Encryption key: 67854625C8B9BE96
         Logon-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
         single signoff-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_logout
         Name: testsso
         Start-URL: http://wmli007251:8080/testsso/
         Succes-URL: http://wmli007251:8080/testsso/ssosignon.jsp
         Log off-URL: http://wmli007251:8080/testsso/papplogoff.jsp
    Finally I have specified the cookie version to be v1.0 when running the regapp.sql script. Other parameters for this script are copied from the values specified above.
    Unfortunately the discussion in the earlier thread did not go any further but to recognize the cookieproblem, so I am now looking for help to move further on from here.
    Any ideas will be greatly appreciated!
    /Mads

    Pierre - When you work on the sample application, you should test the pages in a separate browser instance. Don't use the Run Page links from the Builder. The sample app has a different authentication scheme from that used in the development environment so it'll work better for you to use a separate development browser from the application testing browser. In the testing browser, to request the page you just modified, login to the application, then change the page ID in the URL. Then put some navigation controls into the application so you can run your page more easily by clicking links from other pages.
    Scott

  • Problem in deploying Web Service Application on Weblogic Server

    Hi,
    I am trying to develop a web service application with eclipse, all things goes correct and wsdl also gets formed but the problem occurs when the EAR is deployed. It gives error in publishing the EAR file.
    Here is the error i am getting:
    Module named 'ftooldev1EAR' failed to deploy. See Error Log view for more detail.
    *weblogic.application.ModuleException: [HTTP:101064][WebAppModule(ftooldev1EAR:/ftooldev1)] Error parsing descriptor in Web appplication "D:\eclipse_wspace1\ftooldev1\build\jws\weboutput"*
    *com.bea.xml.XmlRuntimeException: invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
    *     at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)*
    *     at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)*
    *     at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)*
    *     at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)*
    *     at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)*
    *     at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)*
    *     at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)*
    *     at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)*
    *     at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)*
    *     at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)*
    *     at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)*
    *     at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)*
    *     at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)*
    *     at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)*
    *     at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)*
    *     at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)*
    *     at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)*
    *     at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)*
    *     at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)*
    *     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)*
    *     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)*
    *     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)*
    *     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)*
    *     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)*
    *     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)*
    *     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)*
    *     at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)*
    *     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)*
    *     at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)*
    *     at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)*
    *     at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)*
    *     at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)*
    *     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)*
    *     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)*
    *     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)*
    *     at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)*
    *     at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)*
    *     at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)*
    *     at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)*
    *     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
    *     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
    *     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
    *     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)*
    *     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
    *     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
    *invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
    java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
    at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper$DeploymentProgressListener.watch(WlsJ2EEDeploymentHelper.java:1566)
    at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:470)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1346)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:803)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:623)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:516)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
    at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690)
    at org.eclipse.wst.server.core.internal.Server.publish(Server.java:1075)
    at org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand$1.run(StartServerCommand.java:132)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    *Caused by: weblogic.application.ModuleException: [HTTP:101064][WebAppModule(ftooldev1EAR:/ftooldev1)] Error parsing descriptor in Web appplication "D:\eclipse_wspace1\ftooldev1\build\jws\weboutput"*
    *com.bea.xml.XmlRuntimeException: invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
    at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    *invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
    at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1511)
    at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1247)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    *Caused by: com.bea.xml.XmlRuntimeException: invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
    at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)
    Here is the web.xml of my application:
    *<?xml version="1.0" encoding="UTF-8"?>*
    *<web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"*
    xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    *<servlet>*
    *<servlet-name>action</servlet-name>*
    *<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>*
    *<init-param/>*
    *</servlet>*
    *<servlet>*
    *<javaee:display-name>Apache-Axis Servlet</javaee:display-name>*
    *<servlet-name>AxisServlet</servlet-name>*
    *<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>*
    *</servlet>*
    *<servlet-mapping>*
    *<servlet-name>AxisServlet</servlet-name>*
    *<url-pattern>/servlet/AxisServlet</url-pattern>*
    *</servlet-mapping>*
    *<servlet-mapping>*
    *<servlet-name>AxisServlet</servlet-name>*
    *<url-pattern>*.jws</url-pattern>*
    *</servlet-mapping>*
    *<servlet-mapping>*
    *<servlet-name>AxisServlet</servlet-name>*
    *<url-pattern>/services/*</url-pattern>*
    *</servlet-mapping>*
    *<servlet>*
    *<javaee:display-name>Axis Admin Servlet</javaee:display-name>*
    *<servlet-name>AdminServlet</servlet-name>*
    *<servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>*
    *<load-on-startup>100</load-on-startup>*
    *</servlet>*
    *<servlet-mapping>*
    *<servlet-name>AdminServlet</servlet-name>*
    *<url-pattern>/servlet/AdminServlet</url-pattern>*
    *</servlet-mapping>*
    *</web-app>*
    Edited by: 925692 on Apr 5, 2012 1:38 AM
    Edited by: 925692 on Apr 5, 2012 1:40 AM
    Edited by: 925692 on Apr 5, 2012 1:40 AM

    This behavior might be attributed to Axis inclusion.
    Web service actions and wizards supported by Weblogic can be found at:
    File->New->Other->Oracle->WebLogic->Web Services
    Can you provide more detail about your starting point wsdl? or JWS? and information around what generation actions you used?
    Thanks

  • Problems with a java bean in Weblogic 5.1

    Hello,
              I am having a problem deploying a java bean in Weblogic 5.1:
              I have been given a .class and a .jar file for a java bean (not an EJB). I
              placed the .class file into e:\temp\WEB-INF\classes and added the following
              line to my weblogic.properties file:
              weblogic.httpd.webApp.testApp=e:/temp/
              I have also updated the web.xml file in the WEB-INF directory as follows:
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
              Application 1.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <servlet>
              <servlet-name>EdIface</servlet-name>
              <jsp-file>test.jsp</jsp-file>
              </servlet>
              <servlet-mapping>
              <servlet-name>EdIface</servlet-name>
              <url-pattern>EdIface</url-pattern>
              </servlet-mapping>
              </web-app>
              When I try to access my http:\\server:port\testApp\test I get an "Error
              500 - internal server error".
              Has anyone had experice with deploying a java bean with jsut the .class and
              .jar file? Where should I put the .jar file?
              I appreciate any advice!
              

    Bump

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at
              weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at
              weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at
              weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at
              weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at
              weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • Jbuilder 6 enterprise and weblogic server 6.1 integration problem

    hello,
    i am using jbuilder 6 enterprise and weblogic server 6.1. i just got a new
    workstation and imported my old project from cvs into jbuilder and
    everything is fine up to this point.
    the application in question is using servlet filters, so i absolutely need
    web application version 2.3. it seems, though, that my jbuilder believes for
    some reason that only tomcat 4 and borland enterprise server are capable of
    using servlet filters. i cannot remember how i fixed this last time around,
    but i did somehow. i had a recollection that the jb6_all_001 patch did the
    trick, but obviously it didn't this time, at least. what is really annoying
    is that the wizard does not allow me to create servlet filters and the
    webapp dd editor does not allow me to configure filters, either. of course,
    i can edit web.xml manually, but starting the server changes the dtd back to
    2.2 and removes everything that is 2.3 specific.
    please help me fix this?

    at the moment it is possible for me to work, though. i worked around the
    problem and i set web.xml as a read only file. i still can't use wizards to
    create servlets and i can't edit web.xml with jbuilder.

  • Weblogic.application.ModuleException: java.lang.NoClassDefFoundError -

    Hi
    I receive a problem when deploying a resource adapter - but it is not very informative on where to look for the problem
    weblogic.application.ModuleException: java.lang.NoClassDefFoundError
    at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:217)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at weblogic.connector.outbound.RAOutboundManager.initializeMCF(RAOutboundManager.java:485)
    at weblogic.connector.outbound.RAOutboundManager.createConnectionFactory(RAOutboundManager.java:440)
    at weblogic.connector.outbound.RAOutboundManager.initialize(RAOutboundManager.java:385)
    at weblogic.connector.outbound.RAOutboundManager.<init>(RAOutboundManager.java:116)
    at weblogic.connector.common.RAInstanceManager.initialize(RAInstanceManager.java:1181)
    at weblogic.connector.common.RAInstanceManager.<init>(RAInstanceManager.java:343)
    at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:178)
    usually ClassDefNotFoundError would mention which class it has a problem with - but in this case nothing .

    when problem is
    [12:21:26 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [12:21:26 PM] Caused by: java.lang.NullPointerException:
    [12:21:26 PM] See server logs or server console for more details.
    For deploy Fussion Web aplication
    The problem is weblogic 10.3.5.0 you need install Realtime Software the package name is ofm_appdev_generic_11.1.1.5.0_disk1_1of1.zip and install jdeveloper the package name is jdevstudio11121install.bin when installation is finished, you need extend domain to Oracle JRF 11.1.10 is redy only you need restart weblogic server. The problen to deploy Fussion Web Aplication is resolved

  • Java Webstart application problem with TLS certificate revocation checks (Java 1.7.0_76)

    We have a problem with our Java Web Start Application regarding the TLS certificate revocation check:
    The application is running on a server within a wide area network which is separated from the internet.
    The application users have access to the WAN, and also access to the internet over some corporate proxy/firewall.
    The user has to enter, for example "https://my-site.de/myapp/ma.jnlp" within a webbrowser or could also call  "javaws https://my-site.de/myapp/ma.jnlp" to start the application client.
    The webserver has a certificate from a trusted certificate authority. This certificate seems to be ok, the browser is even configured to perform OCSP status check.
    The application files are signed with a certificate from another trusted certificate authority. This certificate seems also to be ok. Regarding this certificate there
    are no problems with certificate revocation checks.
    The problem is, while starting the application client there is a message box which tell us something like "the connection to this website ist not trustworthy",
    "Website: https://my-site.de:80", and something about an invalid certificate, meaning the webserver certificate.
    Obviously the jvm runtime, which is executed on the users workstation, tries to perform a revocation check for the webservers certificate, but this fails because
    it cannot fetch the certificate under https://my-site.de:80.
    The application will execute without further problems after that message but the users are very concerned about the "invalid" certificate, so here are my questions:
    - Why is the application trying to get the webserver certificate over Port 80. Our application developers told me, there is no corresponding statement. Calling this address
      has to fail while "https://my-site.de:443" or "https://my-site.de" would not have a problem.
    - Is there a way to make the application go on without performing a tls revocation check? I mean, by adjusting the application sourcecode and not by configuring the users Java Control Panel.
      While disabling the TLS Certificate Revocation check in the Java Control Panel, the Webstart Application executes without a warning message, but this is not a workable solution for
      our users.
    It would be great if someone can help me with a hint so i can send our developers into the right direction;-)
    Many thanks!
    This is a part from a java console output after calling "javaws -verbose https://my-site.de/myapp/"
    (sorry for this is in german... and also my english above)
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: OCSP Response: GOOD
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: UNAUTHORIZED
    security: Failing over to CRLs: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
    network: Cacheeintrag gefunden [URL: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl, Version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl
    cache: Resource http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl has expired.
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: ResponseCode für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: 200
    network: Codierung für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: null
    network: Verbindung mit http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl trennen
    CacheEntry[http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl]: updateAvailable=true,lastModified=Tue Mar 24 10:50:01 CET 2015,length=53241
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird
    network: Verbindung von socket://ldap.serverpass.telesec.de:389 mit Proxy=DIRECT wird hergestellt
    security: Revocation Status Unknown
    com.sun.deploy.security.RevocationChecker$StatusUnknownException: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at com.sun.deploy.security.RevocationChecker.checkOCSP(Unknown Source)
        at com.sun.deploy.security.RevocationChecker.check(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.checkRevocationStatus(Unknown Source)
        at com.sun.deploy.security.X509TrustManagerDelegate.checkTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManagerDelegate.checkServerTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
        at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
        at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
        at sun.security.ssl.Handshaker.processLoop(Unknown Source)
        at sun.security.ssl.Handshaker.process_record(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
        at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main.access$000(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        Suppressed: com.sun.deploy.security.RevocationChecker$StatusUnknownException
            at com.sun.deploy.security.RevocationChecker.checkCRLs(Unknown Source)
            ... 35 more
    Caused by: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        ... 36 more
    security: Ungültiges Zertifikat vom HTTPS-Server
    network: Cacheeintrag nicht gefunden [URL: https://my-site.de:80, Version: null]

    Add the JSF Jars to the WEB-INF/lib directory of the application. If still getting error add to the CLASSPATH variable in the startWebLogic script in the domain/bin directory.

  • Ever since I downloaded FF's v6, everytime I go to YouTube and open a video, I get an error message that says: "[Java Script Application] Error: Div is null" How do I fix this problem?

    If I go to YouTube, no matter what video I click on to watch, the error message "[Java Script Application] Error: Div is null" pops up. It started happening right after I updated to FF v6. I also have installed the latest version of Java. I submitted this question a few weeks ago, but never received a reply.
    Thanks for any help you can provide to fix this.
    Scott Cromwell
    [email protected]

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

Maybe you are looking for