Login issue after upgrading sun app server 8.1 to 9.0

Hi, I recently upgraded sun application server from 8.1 to 9.0. Now when I go to my web application in my browser and try to login, its giving me an error.
System Messages We're sorry but we are unable to log you in at this time...
Error: Error in allocating a connection. Cause: Connection could not be allocated because: Access denied for user ''@'localhost' (using password: YES)
Any ideas where to start?

try to uninstall all of it and install again..
take care of your files.. backup everything

Similar Messages

  • Running Sun App Server 7 and 8 on the same box

    Hello,
    Are there any known issues with running Sun App Server 7 and 8 in the same host box ? Currently I am encountering some class not found exceptions with Sun App Server 8 . Sun App Server 7 runs just fine.
    Thanks,
    Aswin.

    It's not advisable to run separate installations of
    ColdFusion 7 and ColdFusion 8 single server on the same machine the
    re are several services that will try to use the same ports.
    However, you can install ColdFusion Enterprise using the
    multi-server configuration and then deploy the J2EE versions of
    ColdFusion to JRun. You can change the JVM that each instance uses
    (we recommend the latest 1.4 for CF7 and the latest 1.6 for CF8),
    and everything should run fine.
    ColdFusion itself is essentially just a J2EE application, the
    J2EE server itself is JRun 4. So the specific answer to your
    question is "don't install 2 copies of JRun 4 to the same machine".
    But yes, it's 100% possible, I'm running this configuration in my
    own development environment.

  • Unable to  get the login page after upgrade from 11.5.10.2 to R12

    Hi ,
    We are unable to get the login page after upgrade from 11.5.10.2 to R12, all the services are up and running.
    Pls let me know if someone has come across this issue.
    Thanks&Regards,
    Apps DBA

    Hi ,
    After compile JSP files manually , now we are facing problem after logging.
    Error : You have encountered an unexpected error.
    Thanks&Regards,
    Apps DBA

  • Error in Jboss after upgrading to AutoVue server 20.2.2 from 20.1.0

    We've developed an integration to view the files using AutoVue server. At the first stage the integration we used AutoVue server 20.10 and the functionality works fine. After upgrading to AutoVue server 20.2.2 following error comes when accessing the URL http://<servername>:58080/ifs-autovue-connector/servlet/DMS. Please note that Jboss is the application server.
    15:31:37,561 INFO  [STDOUT] ERROR [http-0.0.0.0-58080-1] (?:?) - Failed to verify or update null
    java.lang.NullPointerException
            at java.util.Hashtable.put(Hashtable.java:514)
            at com.cimmetry.vuelink.context.GenericContext.setInitParameter(Unknown Source)
            at com.cimmetry.vuelink.Vuelink.registerDMSContext(Unknown Source)
            at com.cimmetry.vuelink.Vuelink.init(Unknown Source)
            at com.ifs.autovueconnector.DMS.init(DMS.java:22)
            at javax.servlet.GenericServlet.init(GenericServlet.java:212)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
            at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:566)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
            at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:613)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
            at java.lang.Thread.run(Thread.java:745)
    15:31:37,572 INFO  [STDOUT]  WARN [http-0.0.0.0-58080-1] (?:?) - Failed to load DMSAction class: com.ifs.autovueconnector.ActionGetProperties
    java.lang.ClassNotFoundException: com.ifs.autovueconnector.ActionGetProperties from BaseClassLoader@763d9f12{vfszip:/C:/ifs_tqa/jboss-eap-5.1/jboss-as/server/App8TQA/deploy/docvue.ear/ifs-autovue-connector.war/}
            at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:477)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:191)
            at com.cimmetry.vuelink.Vuelink.loadDMSAction(Unknown Source)
            at com.cimmetry.vuelink.Vuelink.registerDMSActions(Unknown Source)
            at com.cimmetry.vuelink.Vuelink.init(Unknown Source)
            at com.ifs.autovueconnector.DMS.init(DMS.java:22)
            at javax.servlet.GenericServlet.init(GenericServlet.java:212)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
            at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:566)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
            at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:613)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
            at java.lang.Thread.run(Thread.java:745)
    15:31:37,743 INFO  [STDOUT] Initializing proxy connection pool
    The errors is ClassNotFoundException. But we've not implemented the class ActionGetProperties. Instead propactions are used. Please help us to resolve this issue as our customers will be in trouble after the AutoVue upgrade.
    /Amaranatha

    I would assume you are using the new jars that come with the latest ISDK
    and that you have read the documentation with the list of all the changes
    so in order to known which configuration parameter is missing, you might need to trace it using a debugger
    there is one parameter that is missing ie returning null and it is obviously a mandatory one
    Also, you most defintively did not properly migrate you web app from 20.1 repo to the 20.2.3 repo as you have missing classes
    com.ifs.autovueconnector.ActionGetProperties
    so your class path is not properly up to date
    that also is a deployment descriptor error
    Please review you deployment descriptor and validate that your war is properly built

  • Sun App Server 8.1 and 8.2 could not start

    Hi friends, thank for various suggestions. pls i'm having problem with Sun App Server 8.1 and 8.2. I installed Portal 7 on Red Hat Enterprise Linux 3 and also Sun Portal 6 on Suse Linux 9. The problem is that App server keep giving Login exception after using them for a while. The details is given below:
    after typing ./asadmin start-domain --user admin domain1. Instead of it to give me the password prompt, it threw the following exception:
    INFO: SEC5046: Audit: Authentication refused for [admin]
    Login Failed javax.security. auth.login.LoginException: Failed file for login admin
    CL1156 could not start the domain domain1.
    I always login to the O/S as root.
    Any suggestion will be highly appreciated. Thanks

    Thanks very much kedar.mhaswade for your suggestions.
    I do not have a regular access to the Internet, I
    would have gotten back earlier than this, so i'm
    sorry. Anyway, i checked the content of
    ~/.asadminprefs and the password is not the same with
    the one i'm using. I found the default password
    supplied by Sun but I don't think this could be the
    problem. I'm actually using the App server that is
    bundled with Sun Portal 6 and 7 and so i supplied my
    own password during installation and i've logged in
    several times after installation. It just failed in
    one of those logins and had stopped working since. I
    always encountered the same problem either when using
    Sun Portal 7 or 6 on Red Hat ES 3 and Suse 9
    respectively.
    I'm posting the content of admin-keyfile as you
    requested:
    admin;{SSHA}Qf/m4KEBDPojsP1mkjywE5XZA6SPh7i8WQmV/A==;a
    sadmin
    # Domain User and Password - Do Not Delete Entry
    Above
    So i will so much appreciate your help and i wouldn't
    mind if you could send me your phone number. Thanks.Hi tolulike,
    Even if you supplied your own password, we have this developer friendly
    feature that has side effects that are at times hard to diagnose. Can you
    please
    - rename the .asadminprefs file and make sure that there is no .asadminprefs file in your home directory?
    - attempt to start the domain.
    You should be prompted for the password.
    The idea is that when you've got that file and that entry AS_ADMIN_PASSWORD in your home directory, asadmin will read it
    from there and you land in this (unfortunate) situation.
    Obviously doing this might have some side effects with other domains. This
    is because for all domains, asadmin reads this file as a last resort. So,
    it might so happen that this file is actually required for functioning of your
    other domains.
    But now you know when this file is used, so there is no mystery (hopefully).
    Let me know if this works.
    Thank you.
    Kedar

  • Stuck in a "loop" at the login window after upgrading to Leopard

    I bought a new iMac Oct 26. It contained Tiger, and included a disk for installing Leopard. I easily got the machine up and running using Tiger, but last night I attempted to install Leopard. When the installation was complete, I tried to get it running. A screen asking for my password came up. I keyed that in and hit logon. Back came the screen asking for the password. To make long story short, I tried everything I could last night, and then called Apple Support this morning. Took quite a while, but I was back in business this afternoon. The technician who helped me sent me the email copied below describing the solution. Perhaps it will help someone else? Romelle
    Hello from Apple!
    Charles at Apple Service & Support thought that you might find this article useful. We hope that it helps resolve your technical issue.
    Link: http://www.info.apple.com/kbnum/n306965
    Mac OS X 10.5, iMac (Late 2007): Stuck in a "loop" at the login window after upgrading to Leopard
    Issue or symptom
    After installing Mac OS X 10.5 Leopard on a 20-inch or 24-inch iMac (Late 2007) computer, you may not be able to log in at the login window. Your login name and password are apparently accepted, but after a blue screen appears for a few seconds, the login window reappears instead of your desktop.
    Products affected
    20-inch or 24-inch iMac (Late 2007) computer with 2.0, 2.4, or 2.8 GHz processors
    Mac OS X 10.5 Leopard
    Solution
    If Leopard is installed
    Start up from the Leopard Install DVD and perform an Archive and Install installation (and select Preserve Users and Network Settings).
    After the Archive and Install is complete, you should be able to successfully log in. Use Software Update to install any other updates.
    Important: Install the iMac Software Update 1.3 for Leopard after the Archive and Install is complete.
    If Leopard is not yet installed
    If you have not yet installed Leopard on your 20-inch or 24-inch aluminum iMac computer with a 2.0, 2.4, or 2.8 GHz processor running Mac OS X 10.4.x, but previously installed the iMac Software Update 1.2, you should install the iMac Software Update 1.2.1 (Tiger) or later, before installing Leopard.
    Thank you,
    Apple

    If Leopard came pre-installed and this is a new machne, then the disks that came in the box should let you archive install preserving users & network settings. The disks have a grey label, and if you get more than one use disk #1 for this procedure.
    Hold down the "option" (also known as "alt" on the new keyboards) key when starting up with disk #1 in the optical drive. Select the install disk icon on the grey screen and click the arrow. Then when you get to the "select destination pane, click the options button after selecting your hard drive as the destination. In options A& I preserving should be checked by default, if not, select them. Click "ok" to dismiss the options pane, then run the installation.
    If this does not work for you, call apple support. They want everything to work. Be patient, they are real busy these days.
    Slim

  • Issues after Upgrade from Oracle 10.1.0.5 to 10.2.0.5 in Windows Server2003

    Good Morning Good People,
    I have run in to some issues after upgrading my 10.1.0.5 database to 10.2.0.5. Initially after the firtst upgrade from 10.1.0.5 to 10.2.0.0 one has to run Critical Patch set 4 to get to 10.2.0.5. Well after initial up grade everything worked fine. I could connect to the database from within the server as well as remotely through SQL*PLUS client. However, after completeing the patch I'm still able to connect to the database from within the server, but remotely i get the following error:
    ORA-12514 : TNS Listener does not currently know of service requested in connect descriptor.
    I also get Error ORA-12505: TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: (description=(address=(host=mcquery2)(protocol=tcp)(port=1521))(connect_data=(sid=mcquery)(server=dedicated)))
    I've tried serval different things to trouble shoot the issue but nothing seems to work.
    If anyone has run into s similar issue please help. This is ruining my weekend! LOL!
    Edited by: user10835577 on Aug 29, 2010 9:15 AM

    From the client or the server?
    SERVER:
    tnsnames.ora:
    MCQUERY=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=10.36.27.184)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVICE_NAME=MCQUERY)
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.36.27.184)(PORT = 1521))
    FROM REMOTE SQLPLUS Client:
    tnsnames.ora
    MCQUERY=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=10.36.27.184)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVICE_NAME=MCQUERY)
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Client_3)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cotsdot370.cotsdot.dom)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.36.27.184)(PORT = 1521))
    Thanks,
    Malcolm
    Edited by: user10835577 on Aug 29, 2010 12:01 PM

  • How to install j2ee sun app server 8.0 in debain linux

    hi guys
    i am new to linux and i have downloaded the j2ee sun app server 8.0(linuxversion) from sun.java
    in sun.java documentation says first we have to change the mode to excecutable
    then he is saying to do this
    1. To run the installation program that uses a graphical interface, at the command prompt type the name of the bundle file at the command prompt.
    2.To run the installation program that uses the command-line interface, at the command prompt type the name of the bundle file followed by the -console option.
    after chmod + x <bundle name >
    the next step i am not able to do it
    what to do next
    any suggestions
    regards
    sandeep

    Hi rlubke
    Thanks for the suggestion
    1.Change the permission of the bundle file so that you have execute access:
    chmod +x <bundle-file-name>
    2. To run the installation program that uses a graphical interface, at the command prompt type the name of the bundle file at the command prompt.
    3.To run the installation program that uses the command-line interface, at the command prompt type the name of the bundle file followed by the -console option.
    Step 1. After chmod + x <bundle name >
    Step 2. sun/appserver/# <bundle name>
    bash: <bundle name>: command not found
    Step 3. sun/appserver# <bundle name>
    bash: <bundle name#>: command not found
    any suggestions
    i have done what u have said now
    Step 1. After chmod + x <bundle name >
    Step 2. sun/appserver/#./ <bundle name>
    Checking available disk space....
    Checking Java(TM) 2 Runtime Environment...
    Extracting Java(TM) 2 Runtime Environment files...
    Extracting installation files...
    Launching Java(TM) 2 Runtime Environment....
    Error: There are no files requiring installation.
    Deleting Temporary files...
    Step 3. sun/appserver# <bundle name>
    Checking available disk space....
    Checking Java(TM) 2 Runtime Environment...
    Extracting Java(TM) 2 Runtime Environment files...
    Extracting installation files...
    Launching Java(TM) 2 Runtime Environment....
    Error: There are no files requiring installation.
    Deleting Temporary files...
    this is what happening excatly

  • IPhone 4s issues after upgrading to IOS 8

    Have few issues after upgrading to iOS 8
    - Phone hangs every few hours, reboots automatically
    - Bluetooth does not work properly (call does not get disconnected or even if disconnected on phone, the car bluetooth shows call is on)
    - Searching for contacts is a problem
    - Apps hang (especially facebook)
    Any way to go back to iOS 7 ?
    Any other tips / tricks appreciated..
    Venkat

    No way to come back to iOS 7 ...
    But did you tried to reset all settings (general -> reset -> all settings) ?
    For me iOS 8 was a mess on a 5S, especially car Bluetooth, and all works now fine after resetting the settings (all settings, not only network settings).

  • Fedora core 6 sun app server won't start

    Sun app server 8.2 bundled with creator 2u1 doesn't start. This install was running fine under fc5. Among other things I get the following with pe-start -reset which I think might be the crust of the problem:
    "Unable to read system environment. No system environment will be used."
    Any help appreciated.

    Exported projects to nb5.5 with visual-web pack and after fixing datasources and libraries things are working again. Could not find a solution for Creator2 on Fedora Core 6. Thanks anyway.

  • Integrating Sun App Server with WebSphere MQ

    Hi,
    I am using Sun App server V8.1 . I also have a websphere MQ v5.3 installed in my system. I want to integrate this MQ with the App server.
    I created a queueManager and a Queue in MQ and using the JMSAdmin console of the Mq, i created jndi lookup resources using INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
    In the application server side, i created a Resource adapter using the command:
    create-resource-adapter-config --property SupportsXA=true:ProviderIntegrationMode=jndi:RMPolicy=OnePerPhysicalConnection:JndiProperties=java.naming.factory.url.pkgs\\=com.ibm.mq.jms.naming,java.naming.factory.initial\\=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url\\=file\\:D\\:\\MQ:LogLevel=finest mqra
    Then i deployed this resource adaptor using the command :
    deploy name mqra target server "D:\Sun\AppServer\lib\addons\resourceadapters\genericjmsra\genericra.rar"
    Using this resource adapter i created a connection pool, connector resource and an admin object using the commands
    create-connector-connection-pool raname mqra connectiondefinition javax.jms.QueueConnectionFactory transactionsupport  XATransaction property ConnectionFactoryJndiName=MQQCF mymqpool
    create-connector-resource --poolname mymqpool jms/MyMqQCF
    create-admin-object raname mqra restype javax.jms.Queue --property DestinationJndiName=RTQueue jms/MyMqQueue
    After that, i wrote a java code to lookup these resources and put a message into the queue.
    This is the snippet of my java code
    InitialContext ic = new InitialContext();
    QueueConnectionFactory cnxFact = (QueueConnectionFactory)ic.lookup("jms/MyMqQCF");
    Queue qu = (Queue)ic.lookup("jms/MyMqQueue");
    try {               
    QueueConnection qConn = cnxFact.createQueueConnection();
    QueueSession qSess = qConn.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
    QueueSender qSend = qSess.createSender(qu);
    TextMessage msg = qSess.createTextMessage();
    msg.setText("1");
    qSend.send(msg);
    qConn.close();
    I am getting an exception in the line, QueueConnection qConn = cnxFact.createQueueConnection();
    here is the stack trace
    java.lang.ClassCastException: com.ibm.mq.jms.MQQueueConnectionFactory
    at com.sun.genericra.outbound.ManagedQueueConnectionFactory.createXAConnection(ManagedQueueConnectionFactory.java:45)
    at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createPhysicalConnection(AbstractManagedConnectionFactory.java:127)
    at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createManagedConnection(AbstractManagedConnectionFactory.java:111)
    at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorAllocator.java:90)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedResource(IASNonSharedResourcePool.java:437)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:355)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:250)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:213)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:174)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:286)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:145)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:121)
    at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:69)
    at com.sun.genericra.outbound.ConnectionFactory.createQueueConnection(ConnectionFactory.java:101)
    Can anybody help???

    bump
    update:
    So to avoid this problem I added spring.jar to the server classpath. that got rid of this message but then it started complaining that its missing struts2 core jar..i added that in server classpath as well...I did same for 4 other files and in the end it said 'bean for xwork has already been initialized' (because all these jars are in the application as well).
    So I am stuck. if I add all jars to server classpath..it says beans have already been initialized. If I take out the jars from server classpath then it says that stuff is missing (eg. contextLoader.properties missing - orig post)
    again, all this goes away when I restart the server..so i am just trying to avoid having to restart server every code change.

  • Web Services with Sun App Server

    We are load testing a simple web service running in SJSAS 8.0 Standard. With 1 or 2 users concurrent it seems OK, but once we move up to 5 concurrent users calling the WS, the domain in SJSAS crashes.
    Does anyone have experience or information regarding the app server and load with web services? Are there some config options that we can tweak? Are there any numbers out there about how many simultaneous connections the server can handle?
    A final note, things seem fine if we are just serving a simple web page from the server, its only when we try to call a WS that we run into these performance issues.
    Thanks.

    Are you connecting to any external resource using JNDI by any chance? If you're using Unix, check the number of file descriptors being opened on the Sun App server. "new dirContext(env)" creates OS file descriptors each time it's invoked (calling the web service for example).
    use
    $ps -ax
    get the process number of sjas and try issuing a:
    lsof -p <sjas_process_number> |wc -l
    and keep invoking the web service. If this number keeps increasing then you've an "fd" leak (perhaps not closing the dirContext). Linux for example has a default max file limit of 1024 under "root" user and when depleted, sjas will hang.
    Could this be the problem?
    Cheers
    Steve

  • "Message Driven Bean" doesn't work with Sun App Server

    Hello all,
    i have a little bit problems, running a simple "Message Driven Bean" under the Sun App Server. The deployment of it works fine, but after starting the SUN App Server i get the following error message:
    An error occurred during the message-driven beancontainer initialization at runtime. The most common cause for this is that the physical resource(e.g. Queue) from which the message-driven bean is consuming either does not exist or has been configured incorrectly. Another common error is that the message-driven bean implementation class does not correctly implement the required javax.ejb.MessageBean or MessageListener interfaces.
    Has anybody a workaround for this problem?
    The queue seems to be correctly installed. A simple client programm from the Sun Tutorial (Consumer & Producer) works fine without any Errors or Exceptions.
    I am a little bit confused, because the queue seems to work with the client programms but not with a MDB running on the SUN App Server.
    Thanks for you help!
    Greetings
    Manuel

    Hello Mr Manuel!
    could you plz help me with the steps for creating a message driven bean using netbeans ver 5.0(with Sun Java� System Application Server Platform Edition 8.2 )
    I just know how to work with Session beans & Entity Bean, and am try to learn to work on Message Driven Beans too. there are no proper tutorials where i can find steps for creating these..
    I need the steps from the scratch.,like creating QueueConnection Factory & Destination etc..
    It will be gr8 if you can help me with this at the earliest .
    Thank you
    Bye

  • Autoconfig issue after upgrading 12.1.1 to 12.1.3

    Hi all,
    I am getting below mention autoconfig issue after upgrading 12.1.1 to 12.1.3.
    jtfictx.sh started at Mon Mar 28 08:28:50 EDT 2011
    SQL*Plus: Release 10.1.0.5.0 - Production on Mon Mar 28 08:28:50 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Connected.
    DECLARE
    ERROR at line 1:
    ORA-29858: error occurred in the execution of ODCIINDEXALTER routine
    ORA-20000: Oracle Text error:
    DRG-10561: index JTF_AMV_ITEMS_URL_CTX is not valid for requested operation
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 665
    ORA-06512: at "SYS.DBMS_SQL", line 1199
    ORA-06512: at line 96
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Product
    ion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    jtfictx.sh exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    i got below mention some solution from metalink, but that does not working.
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=743720.1
    according to note we need to create index but its giveing below metion error.
    SQL> @jtfiaibu.sql jtf jtf apps
    Connected.
    DECLARE
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10758: index owner does not have the privilege to use file or URL datastore
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    ORA-06512: at "SYS.DBMS_SQL", line 1199
    ORA-06512: at line 37
    Thanks in advance,
    Sandeep.

    Hi,
    DRG-10561: index JTF_AMV_ITEMS_URL_CTX is not valid for requested operationPlease make sure you have no invalid objects. And also please see of these helps. I know these are for older version, but please check
    Script jtfictx.sh Failed While Attempting To Run The Autoconfig On APPS Tier [ID 1271186.1]
    Autoconfig Returns ORA-29868 from jtfictx.sh [ID 386740.1]
    By the way did u iinstall companion/examples CD after installing OracleSoftware
    Thanks,
    Taher

  • Problem : App works with Sun App server 8.0 but fails with 8.1

    Hi All
         I am experiencing some strange problem with executing my JSF application with Sun App Server.
         I have an EAR deployed on Sun Application Server 8.0 and 8.1.
         Strangely it works quite fine with 8.0 but fails with 8.1.
         In my JSP page ..I have a dummy component whose getter method is used as a "FormLoad" event of the page.
         <h:form id="imageForm" enctype="multipart/form-data">
         <h:messages showDetail="true" />
         <table width="980" border="1" cellpadding="0" cellspacing="0" bordercolor="#A9B8C2">
              <tr>
    <td>     
                   <h:inputHidden value="#{Screen1.initializeService}"/>
              <h:selectOneListbox styleClass="style2" id="cmbMiddleArea" immediate="true" value="#{Screen1.selectedMiddleArea}">
              <f:selectItems value="#{Screen1.middleAreaList}" />
         </h:selectOneListbox>
         In my backing bean i have ..
         public String getInitializeService() {
              ..... Retrieve all the data from DB to initialize all the components on the JSP page
              .......setMiddleAreaList......
              .......setSelectedMiddleArea.....
              ........set the values of the individal component...
         I am retrieving all the data from DB in this getter method and intializing the components on the JSP page.
         I have also checked the code generated for JSP by both the servers.I am posting the code here for reference although
         i did not find any significant difference between the two...
         For Server 8.0
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{searchBean.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value.reuse(_jspx_th_h_inputHidden_0);
         return false;
         For Server 8.1
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         PageContext pageContext = jspxpage_context;
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value_nobody.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{searchBean.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value_nobody.reuse(_jspx_th_h_inputHidden_0);
         return false;
         Now the actual problem is "getInitializeService" method never gets called when i deploy and run the application on Sun App Server8.1
         However with Sun App Server 8.0 it woeks perfectly fine.
         Can anybody help me in resolving these issues ?
         

    Actually generated JSP code can be referred as ...
    For Server 8.0
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{Screen1.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value.reuse(_jspx_th_h_inputHidden_0);
         return false;
         For Server 8.1
         private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
         throws Throwable {
         PageContext pageContext = jspxpage_context;
         JspWriter out = jspxpage_context.getOut();
         // h:inputHidden
         com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value_nobody.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
         jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
         jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
         jspxth_h_inputHidden_0.setValue("#{Screen1.initializeService}");
         int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
         if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
         return true;
         jspxtagPool_h_inputHidden_value_nobody.reuse(_jspx_th_h_inputHidden_0);
         return false;
         }

Maybe you are looking for

  • I need help reinstalling LR 5; do not have serial number because I never got one.

    I have tried twice to get help via the "Chat" method, and it has produced no help/ Here is a somewhat condensed transcript of what I told the most recent of your "Chat" people: You are now chatting with Maruthi. To ensure we stay connected throughout

  • Sales oreder stock error

    Hi gurus, I am trying to deliver 4 line ites of a Salesorder, but the error comes up saying Sales oreder stock doesnot exist. But when i chck in MMBE, two lin items have the stock but the remaining two donot show the stock in MMBE. If thats the case

  • User tables belonging to the dbo schema were found in the database...

    Hi I´m running SAP on windows server 2003 R2 x64 sql 2005. I have installed a sandbox system based on NW 7.01 SR1 ECC 6.0. It´s only abap. After that I wanted to make a system copy of our production system to the the sandbox. So my sql colleague took

  • AF_Modules/dynamicconfigurationbean not found

    I've promoted my interface to out production environment and the receiver file adapter fails. "Exception caught by adapter framework: local bean not found: localejbs/AF_Modules/DynamicConfigurationBean" Any ideas what might be the problem?

  • I have problem with Adobe ColdFusion Server Manager.

    I have a problem with Adobe ColdFusion Server Manager when you log on and connect to the server. An advantage of the settings do not load.