Tomcat Issue with HPUX

HI All
I and running tomcat on HPUX machine. The problem is that on HP machine the maximum thread per process allowed is 65 ( default), so i configured max thread count in server.xml to 60. I used JMeter to check the behavior when there is enough load on tomcat. What i have observed is that even though i configured its maxthread count not to exceed 60 it is reaching 65 and as soon as it goes beyond 65 tomcat throws OutOfMemoryError. After this the thread are killed ( probably by the OS) and then the thread count comes back to around 27 but tomcat does not process any new request any more. What i was expecting is that once the threads are killed and thread count comes back to 27 it should again start processing new request.
One option is that to increase the max thread per process limit of HP to high value, but administrators are not very convinced with this idea
Any pointers on this issue.
Thanks and Regards
Pankaj Tiwari

Read the documentation:
"maxThreads This attribute specifies the maximum number of request-processing threads to be created by this connector"
That means that there also are other threads, e.g. the gc thread, tomcat internal threads and so on. Reduce you number from 60 to something lower.
How would tomcat be able to handle new requests if it was a tomcat internal thread that got killed?
Kaj
Ps. Please ask tomcat specific questions in a tomcat forum.

Similar Messages

  • I am working on Security scan(to avoid cross site forgery) with the CSRF approach of tomcat(apache-tomcat-6.0.32) but I am getting following issue with firefox:

    I am working on Security scan(to avoid cross site forgery) with the CSRF approach of tomcat(apache-tomcat-6.0.32) but I am getting following issue with firefox:
    1. Firefox is not supporting CSRF provided by tomcat in a proper way firefox creating multiple sessions.
    2. Whenever any exception (like JSP exception) comes on page. Firefox redirects it to CSRFPreventionFilter and this filter creates new session.
    3. Sometimes while traversing through application also CSRFPreventionFilter filter creates new session.

    I seem to have fixed it by putting <div  class="clearfloat"></div> after the navigation bar?

  • URGENT: Tomcat, Connection Pool - Issue with web.xml & server.xml

    Folks,
    I am trying to connect to a MS SQL database using Tomcat/JSP but having issues. The code that I am using is as follows:
    Context ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("java:comp/env/jdbc/test");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    I have added the following code to my Server.xml:
    <Resource name="jdbc/test" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="DB_AW_DATA" password="tester" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:microsoft:sqlserver://192.168.0.1\\Newcastle"/>
    And the complete web.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE web-app (View Source for full doctype...)>
    - <web-app>
    - <resource-ref>
    <description>Resource reference to java.sql.Connection factory defined in server.xml</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    The error message that I am getting is as follows:
    java.sql.SQLException: Cannot load JDBC driver class 'null'
    What confuses me is that I have placed the following files in Tomcat\common\lib...
    mssqlserver.jar
    msbase.jar
    msutil.jar
    I think this is purely an issue with how I configured server.xml and web.xml
    In the Tomcat documentation it states to put the code in the server.xml - but nested inside the Context element. This is something that I have not done as I am clear what the Context should be..
    Can someone assist...
    <Context path="" docBase="ROOT" debug="0"> ???
    what should be the path and the docBase.
    I have deployed the following application:
    http://localhost:8080/SCWAPP/index.jsp
    THANKS IN ADVANCE FOR ALL SUPPORRT

    you should put the code you typed in server.xml into context.xml
    in the META-INF folder and this will fix your problem.
    the latest tomcat docs detail what to do.

  • If I copy the "lcds" folder, Tomcat starts with socket errors

    In the documentation it is said that when you create a new server-side application, you can start by copying the 'webapps/lcds' folder. I did that but then, Tomcat starts with some socket errors:
    [LCDS]SocketServer 'my-rtmp-SocketServer' failed to pre-validate desired socket settings for BindSocketAddress: 0.0.0.0:2038
    java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
    [LCDS]SocketServer 'my-rtmp-SocketServer' failed to start.
    flex.messaging.LocalizedException: SocketServer 'my-rtmp-SocketServer' cannot bind to accept client connections on port '2038' because another process has already bound the port. Please ensure that multiple endpoints across all applications  are not configured to use this same port.
    Am I doing something wrong?
    Thanks,
    Borek

    What is happening is that you are getting a port conflict for the socket-based NIO and RTMP endpoints used in the channel definitions in the services-config.xml file of your new web app. The issue is that you have endpoints bound to the same port  in the LCDS web and in your new web app.
    You can deal with this one of two ways:
    Option 1: In that services-config.xml file, search on "RTMP" and "NIO" to find the channel definitions and change the port numbers to something slightly different than the ones used in the LCDS web app.
    Options 2: Move the LCDS web app out of the picture so it doesn't get loaded, and just use a template for future web apps. If you aren't using it for any of your development, there is really no reason you have to load it.
    I'll add a note about this to the documentation that talks about using the LCDS web app as a template.

  • Authentication issue with Xcelsius/Portal integration

    I am facing an issue with the way we have integrated our Xcelsius dashboard with our corporate portal. I know this probably is more of a SDK question than Administration, but I figured I will ask it here anyway since Tim and some others are diverse enough in their knowledge base. This might be LONG post but please advise if anyone has any good pointers.
    We have an Xcelsius dashboard that needs to be served up via our corporate intranet (based on MS Sharepoint 2007). Now we are NOT using the MS Sharepoint Portal Integration Kit, but just doing a basic integration of the SWF call within a web part on Sharepoint. All this means is that within a portlet (web-part) on Sharepoint, I am making a HTTP call to the openDocument URL to invoke the SWF file. So the SWF is actually served up from our Tomcat App Server, and displayed onto this frame within the portal. That is the basic idea.
    To achieve this, what I did was write some custom code using the Java SDK to modify the openDocument a little bit. By doing so, I was able to insert some behind-the-scenes-login code wherein no matter who the portal user (Win AD-based) is, he is logged in to BOE as a generic "dashboard-user" and the dashboard is served up. This worked fine for the first dashboard where all we had was SWF and some WebI linking using openDocument (no full-InfoView access).
    But in this second dashboard now, what we also have is a hyperlink for users to get to InfoView to do Ad-hoc reporting. What this does is open a child browser window from within the portal (dashboard) --- and it remembers the BOE session for the generic user id "dashboard-user" and logs the end-user in to InfoView using that. But what I actually want is that the end-users, on this new window, should only be prompted at the traditional InfoView logon screen where they can manually enter their Windows AD password and get in. Thus, I would like to keep the dashboard SWF page session separate from the InfoView ad-hoc session, which I cannot seem to do because of the browser relationship and session maintenance.
    I am trying to find a way where I can simulate a single sign-on for dashboard viewers on the portal, but at the same time let them jump off to InfoView as themselves.
    Any thoughts on how I can do this?
    Notes:
    We DO NOT have Single Sign-On enabled for InfoView
    We are using Windows AD authentication (manual, no SSO)
    We are on Tomcat

    Sarang Deshpande wrote:
    1) If the InfoView app on Tomcat (desktoplaunch) is configured with Vintela, openDocument calls from the portal with automatically work using behind the scenes SSO, correct?
    in XIR2 everything that falls under infoview should SSO when infoview is setup for SSO (not the case in XI 3.x)
    Sarang Deshpande wrote:
    2) What is the best practice when it comes to the service accounts needed? I have implemented Windows AD manual auth already so I have a service account that use for that. Should I be using the same on and making vintela/SSO-specific changes to it...or should I have a separate vintela service account and deal with two different ones..each for a diff purpose?
    There is no best practice per se but the less service account the lower your chances to duplicate an SPN, functionally everything seems to work just as well with multiple as it does with 1 (of course with 1 there is less management work) If you click the SSO link in my forum sticky post I have a section explaining this with some suggested methods of deploying a service account(s)
    Sarang Deshpande wrote:
    3) Other than some minor browser configurations that might be required, is there anything else that I should communicate to the team about what might be required to be "pushed" to users' PCs?
    Using the default config nothing should be required on the client machine (unless SSO has been disabled in the browser or you intend to use a url that contains a period ..... (i.e. FQDN or IP) with hostname URL (the default) it should just work.
    To note if you have XP SP2 or older there is a microsoft spnego bug you may need to apply a fix if you aren't patched to SP3 (about 5% of our customers run into this).
    Regards,
    Tim

  • Issue with Hyperion Planning 11.1.2 EPM

    Hi All,
    I am facing an issue with Hyperion Planning 11.1.2 which was working till yesterday. When i login into the and go to navigate --> Administor --> Dimension Library i am getting an error which iam not able to understand. kindly help me out. i checked all my EPM services and they are up and working and also i have restarted them but no use. Can someone help me out what should i do. I have also logged in http://<machine name>:19091/awb but getting the same below error.
    can someone help me out.
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.hyperion.awb.web.util.HttpFilter.doFilter(HttpFilter.java:19)
         com.hyperion.bpm.LocalizationServletFilter.doFilter(LocalizationServletFilter.java:69)
    root cause
    java.lang.NullPointerException
         com.hyperion.bpm.logon.CSSAuthenticate.authenticateSSOUser(CSSAuthenticate.java:334)
         com.hyperion.bpm.logon.CSSAuthenticate.getAuthenticatedUser(CSSAuthenticate.java:130)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:182)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.hyperion.awb.web.util.HttpFilter.doFilter(HttpFilter.java:19)
         com.hyperion.bpm.LocalizationServletFilter.doFilter(LocalizationServletFilter.java:69)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Edited by: [email protected] on Jul 18, 2009 10:38 PM

    Hi,
    First question, has anything changed since it worked like admin accounts.
    Reboot the machine.
    Next, just start the "Hyperion Foundation Shared Services - Web Application" service
    Can you log into Shared Services ?
    If you can, then start "Hyperion EPM Architect - Web Application" service
    Go to http://localhost:19091/awb/ Does the web page display ?
    If not then you it looks like EPMA needs reconfiguring.
    Next start "Hyperion EPM Architect - Process Manager" service, make sure the service starts and it should start another 4 services.
    Next refresh http://localhost:19091/awb/ and try and login.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Having issues with Crawler

    Having two issues with my crawler service. My environment is Netware 6.0 with Java version 1.4.1_05, and Apache 1.03
    1) Eating memory. I have allocated 128 to 256 MB of memory and I still get out of memory issues. I would like to think that this app does need more than 256MB of memory. Specifically I am getting this: 2004-05-31 12:00:56 - Ctx(/soap) : Exception in R( /soap + /servlet/rpcrouter + null) - java.lang.OutOfMemoryError.
    2) Am getting "not logging out cached identity" message. I am assuming that the crawler is leaving open a connection from the portal server. Is this an issue or a feature?:
    2004-06-01 09:51:24 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-admin.xml Module MOD_JK.NLM load status OK 2004-06-01 09:51:24 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-examples.xml 2004-06-01 09:51:24 - AutoWebApp: Loaded from config: DEFAULT:/admin 2004-06-01 09:51:24 - AutoWebApp: Loaded from config: DEFAULT:/examples 2004-06-01 09:51:24 - AutoWebApp: Auto-Adding DEFAULT:/ 2004-06-01 09:51:24 - AutoWebApp: Auto-Adding DEFAULT:/soap 2004-06-01 09:51:24 - ContextManager: Tomcat configured and in stable state 2004-06-01 09:51:24 - ContextManager: Adding DEFAULT:/admin 2004-06-01 09:51:24 - ContextManager: Adding DEFAULT:/examples 2004-06-01 09:51:24 - ContextManager: Adding DEFAULT:/ROOT 2004-06-01 09:51:24 - ContextManager: Adding DEFAULT:/soap EmbededTomcat: Init time 1096 2004-06-01 09:51:24 - Ajp12Interceptor: Starting on 8007 2004-06-01 09:51:24 - Ajp12Interceptor: Starting on 0 2004-06-01 09:51:24 - Ajp13Interceptor: Starting on 8009 2004-06-01 09:51:24 - Ajp13Interceptor: Starting on 0 EmbededTomcat: Startup time 63 2004-06-01 09:51:35 - SessionIdGenerator: Created random class java.security.SecureRandom 0 [Thread-15] WARN com.plumtree.crawlerwebservice.novell.NovellContainerProvider - Not logging out cached identity
    Thanks
    Nigel

    I wasn't sure if you were using the Novell Crawler or writing your own. This board is principly for people writing crawlers. Questions about Plumtree products can be directed to the Deployment center, or Technical Support.

  • Issue with hostname "localhost" and general CR connectivity issue

    Hello,
    we installed SAP BOE with the integrated Tomcat 6. We used a Web Tier installation on the same host, but in different paths.
    Tomcat was installed under /usr/sap/tomcat/sap_bobj/tomcat and the SAP BOE package under
    /usr/sap/XXX/sap-bobj/enterprise_xi40. The host has two IP addresses, a physical address (A) and a logic address (B).
    We want to get a setup that uses the logical address whenever possible.
    We have issues with Crystal Reports for Enterprise XI4.0.
    When CR ist started from the BI launch pad, then CR ist started and tries to connect to "localhost". The hostname "localhost" is communicated from BI launch pad to CR.
    For sure, no communication with "localhost" is possible.
    When CR is started manually and a connection to the respective Tomcat server is initiated (port 8080, servername B, context /dswsbobje) we get the
    error message. please wait, no connection possible at the moment. I already read and applied SAP KB articles 1598906 and 1601997, but the issue is not solved.
    1- Where I can make changes so that BI launch pad will communicate hostname B and not "localhost" to start CR?
    2- Is there any local log file on the PC to check why CR can not connect, when started manually?
    Best regards Bernd

    we have installed BO 4.0 and Its working perfectly. we have using webi reports,
    As next step recently we have installed Crystal reports for exterprise XI4.0
    But we could not connect with BO server. Please guide us on below req..
    Server name: 
    Server Port No :
    Server COntext :
    System Display Name :
    User Name :
    Authentication Type :
    Thanks
    Pari

  • Issue with configuring Hyperion HUB 7.1.2 with SQLSERVER 2005

    Hello Experts,
    One of my customer has an issue with configuring Hyperion HUB 7.1.2 with SQLSERVER 2005.
    "We are trying to configure the SQL server 2005 database with Hyperion hub and we are unable to get the cofiguration completed. We suspect the driver class (hyperion.jdbc.sqlserver.SQLServerDriver) used in the domain.xml (path \Hyperion\HyperionHub\7.2.1\deployments\Tomcat\4.1.30\) is not helping to connect with sql server 2005. We would appreciate if you can provide new driver class which we can included while deploying the app under the web server."
    Please suggest. Thanks in advance
    Regards,
    Sonu

    Hi
    Please redeploy only the Web Server under shared service. It has to be redeployed once EPMA and others are configured.
    Thanks
    Rupak
    Mantra to Win | WinMantras.com | http://hyperion.winmantras.com

  • LMS 3.2 : issue with custom portal : high CPU

    Hi,
    Customer has a big issue with LMS.
    When he connects to the standard portal, it works fine.
    pdshow seems ok.
    But when he wants to work with custom portal (portal.jpg), it makes a long time to display information and when he wants select something it hangs.
    CPU is very high. He must stoped/restart LMS to have a normal CPU.
    I asked him to :
    - restart LMS, he made at 14h30
    - CPU was ok and he worked with standard portal withou problems but when he tried to put debug for portal CPU increase at 15h30:
    Common Services -> server -> Admin ->  CS Log Configurations: debug on CiscoWorks Portal, CiscoWorks portlets and CS Home
    Process which takes a lot of CPU is tomcat, you will find pdshow.txt, stdout.log and stderr.log.
    He tries to go to the custom portal but it hangs, you will find logs from debug : CSHomePage.log and CSPortal.log
    he sent me AAD.log because there was " high severity alert".
    Many thanks for your help,
    Elisabeth

    The most obvious problem is that DfmBroker is down.  Check to make sure tcp/9002 is not in user, then try a server reboot.  See if the AAD problems go away (and perhaps the CPU problem will as well).  If not, post the NMSROOT/objects/local/logs/broker.log.

  • Works with tomcat not with bea

    hai i am madav
    when i was working with tomcate it was fine but when i deploy in bea portal server with proper additions i am gettin java.io.FileNotFoundException: Response: '401:
    Unauthorized xxx' for url: 'http://feedsind3.cricinfo.com/live/index.xml'
    for below code
    Authenticator.setDefault(new MyAuthenticator());
    URL url = new URL"http://feedsind3.cricinfo.com/live/index.xml");
                   is=url.openStream();
    File f1=new File("c:\\hai2.xml");
              br = new BufferedReader(new InputStreamReader(is));
              bw1 = new BufferedWriter(new FileWriter(f1),5000);
              while((scoresFileUrl=br.readLine())!=null)
                   System.out.println(scoresFileUrl);
                   bw1.write(scoresFileUrl);
                   bw1.flush();
                   bw1.newLine();
                   bw1.close();
                   br.close();
                   is.close();
                   }catch(Exception e){
                   System.out.println(" exception raised in writeToFile "+e);
         RequestDispatcher rd=req.getRequestDispatcher("/livecric.jsp");
    rd.forward(req,res);     
    exception raised in writeToFile java.io.FileNotFoundException: Response: '401:
    Unauthorized xxx' for url: 'http://feedsind3.cricinfo.com/live/index.xml'

    Exactly my problem too. I read somewhere that JDK 1.5 has modified its Authenticator class but I am not able to find an example of how to handle a website that prompts you for userid/password.
    But I scaled back from JDK 1.5 to JDK 1.4 on Weblogic 8.1.5 but that does not work still. So I sense some issues with Weblogic server.
    Can someone help please? Moderators?

  • Issues with evaluation of EL expressions

    Hey everyone
    I am having issues with EL expressions being printed instead of evaluated when they are between tags. They work fine when they are in the tag itself. I will show you my code:
    This is a snippet from the parent file that includes the other file:
    <jsp:include page="./includes/test.jsp" >
      <jsp:param name="color" value="blue" />
    </jsp:include>This is the test.jsp file. It all works as expected except for that second line which only prints ${param.color} instead of the actual parameter text:
    REGULAR OUTPUT WORKS
    <br><font color="red"> COLOR OUTPUT WORKS</font>
    <br>${param.color}
    <br>Param inside color tag: <font color='${param.color}'>HERE</font>
    <% String test = request.getParameter("color"); %>
    <br>OUT.PRINT input: <% out.print(test); %>This is the output:
    REGULAR OUTPUT WORKS
    COLOR OUTPUT WORKS (this is in red)
    ${param.color}
    Param inside color tag: HERE (the word 'here' is in blue)
    OUT.PRINT input: blue
    In my book (Head First Servlets and JSP) it uses this exact syntax and says it should work. I am running tomcat 5.5. Any ideas? Thanks!
    John
    EDIT: I got it working with <c:out> but is there a way to do it without <c:out>?? Like I said before my book does it without <c:out> and it seems to work for them and is much cleaner looking that way.
    John
    Edited by: jrock on Nov 14, 2007 3:45 AM

    is there a difference between the JAR files for 1.0 and 1.1? Or is it the same JAR and only URI changes? Yes there is a difference between the 1.0 and 1.1 JSTL jar files.
    The JSTL1.1 jar files includes the JSTL1.0 tlds for backwards compatibility.
    Check what version you've got by looking at the Manifest.mf in the META-INF directory of one of the jars.
    You can get JSTL1.1 from here: http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi
    Also with JSP 2.0 / JSTL 1.1 is it possible to still use web.xml entries if I want? Its possible to retain those web.xml entries, but not really recommended. The container should find it without your spelling it out.
    If you do go down that path, just make sure you match the right URI to the right tld. Nothing would be more confusing than using the JSTL1.1 uri and mapping it to the JSTL1.0 tld file :-)
    Also, the <taglib> tags are no longer a top level element of a webapp, but need to be nested inside a <jsp-config> in the new schema.
    ie previously it was
    <web-app>
      <taglib>
        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
      </taglib>
    ...The web.xml from from version 2.3 to 2.4 is not entirely compatible.
    You now need to make it
    <web-app>
    <jsp-config>
      <taglib>
        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
      </taglib>
    </jsp-config>
    ...

  • VPN Plug-in issue with BM 3.9 SP1 and iManager 2.7

    Hi,
    We have a Netware v6.5 SP7 server with iManager 2.7 . We have just installed
    BorderManager v3.9 SP1 and have configured in iManager and have running
    ACL's/Proxy. This is working as designed.
    We now wish to setup VPN for the first time but each time we select VPN
    Services in iManager we get returned "System Error - unknown error" and when
    we look in details the following is displayed:
    java.lang.IncompatibleClassChangeError\r\n at
    com.novell.imanage.vpn.VpnMemberTask.execute(VpnMe mberTask.java:215)\r\n at
    com.novell.emframe.dev.Task.execute(Task.java:505) \r\n at
    com.novell.nps.gadgetManager.BaseGadgetInstance.pr ocessRequest(BaseGadgetIns
    tance.java:849)\r\n at
    com.novell.nps.gadgetManager.GadgetManager.delegat eToGadget(GadgetManager.ja
    va:4253)\r\n at
    com.novell.nps.gadgetManager.LaunchService.onDeleg ateAction(LaunchService.ja
    va:86)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e
    Method)\r\n at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39
    )\r\n at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl
    ..java:25)\r\n at java.lang.reflect.Method.invoke(Method.java:324)\r \n at
    com.novell.nps.gadgetManager.BaseGadgetInstance.ha ndleAction(BaseGadgetInsta
    nce.java:2362)\r\n at
    com.novell.nps.gadgetManager.GadgetManager.process InstanceRequest(GadgetMana
    ger.java:1606)\r\n at
    com.novell.nps.gadgetManager.GadgetManager.process ServiceRequest(GadgetManag
    er.java:1062)\r\n at
    com.novell.nps.PortalServlet.handleFrameService(Po rtalServlet.java:505)\r\n
    at com.novell.nps.PortalServlet.processRequest(Portal Servlet.java:373)\r\n
    at com.novell.nps.PortalServlet.doPost(PortalServlet. java:279)\r\n at
    com.novell.nps.PortalServlet.doGet(PortalServlet.j ava:262)\r\n at
    javax.servlet.http.HttpServlet.service(HttpServlet .java:689)\r\n at
    com.novell.emframe.fw.servlet.AuthenticatorServlet .service(AuthenticatorServ
    let.java:322)\r\n at
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)\r\n at
    org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(Application
    FilterChain.java:252)\r\n at
    org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterCh
    ain.java:173)\r\n at
    org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.ja
    va:214)\r\n at
    org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContex
    t.java:104)\r\n at
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)\
    r\n at
    org.apache.catalina.core.StandardContextValve.invo keInternal(StandardContext
    Valve.java:198)\r\n at
    org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.ja
    va:152)\r\n at
    org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContex
    t.java:104)\r\n at
    org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase
    ..java:540)\r\n at
    org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContex
    t.java:102)\r\n at
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)\
    r\n at
    org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:137
    )\r\n at
    org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContex
    t.java:104)\r\n at
    org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:118
    )\r\n at
    org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContex
    t.java:102)\r\n at
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)\
    r\n at
    org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java
    :109)\r\n at
    org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContex
    t.java:104)\r\n at
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:520)\
    r\n at
    org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:929)\r\n at
    org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:160)\r\n
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:300)\r\n
    at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:374)\r\n
    at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:743)\r\n at
    org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:675)
    \r\n at
    org.apache.jk.common.SocketConnection.runIt(Channe lSocket.java:866)\r\n at
    org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.jav
    a:684)\r\n at java.lang.Thread.run(Thread.java:534)\r\n
    Upon looking on the logger screen of the server the following is displayed
    when VPN Services is selected in iManager: Task 514 ....
    java.lang.incompatibleclasschangeerror
    I reapplied the VPN schema extensions also uninstalled and installed the
    VPN.NPM from BroderManager v3.9 SP1 plus restarted Tomcat - same error
    occurs. Nothing shows up in the forums or the Novell site regarding this
    error.
    Does anyone know what might cause this and how it can be rectified. Until we
    correct this we cannot configure VPN Services at all.
    Cheers,
    Dale.
    Kind Regards,
    Dale Bentley
    Network Help

    Craig,
    Thanks for the feedback ... much appreciated.
    Yes the standalone version works fine and we can configure VPN. However that server version we would like to run still throws that error - not sure what I can do to fix that one.
    Regards,
    Dale.
    Kind Regards,
    Dale Bentley
    Network Help
    >>> Craig Johnson<[email protected]> 29/08/2008 4:03 pm >>>
    In article <[email protected]>, Dale wrote:
    > Does anyone know what might cause this and how it can be rectified. Until we
    > correct this we cannot configure VPN Services at all.
    >
    I hate those sorts of errors.... Gonzalo told me java errors are easy to
    figure out, but not for me. I usually find the clue in the first line or two,
    while the rest of the error message is just a reaction to the first problem.
    That said, what I THINK is happening is that you are either missing a needed
    java bit, or are using an incorrect version. (When you track down the fix,
    they usually end up being simple, like copying a file to some location, or a
    subdirectory of files).
    I would try downloading and setting up iManager 2.7 mobile on a PC, and
    installing the BM 3.9sp1 iMan 2.7 plugins. Bypass any tomcat issues on the
    server that way. If it still fails, then there may be some NDS issue, but
    let's start with a different iManager installation.
    Craig Johnson
    Novell Support Connection SysOp
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to http://www.craigjconsulting.com ***

  • Flex file upload issue with large image files

         Hello, I have created a sample flex application to upload an image and also created java servlet to upload and save image and deployed in local tomcat server. I am testing the application in LAN. I am able to upload small as well as large image file(1Mb) from some PCs but in some other PCs I am getting IOError while uploading large image files however it is working fine for small images. Image uploading is hanging after 10%-20% and throwing IOError. *Surprizgly it is working Ok with XP systems and causeing issues with Windows7 systems*.
    Plz give me any idea to get a solution.
    In Tomcat server side it is giving following error:
    request: org.apache.catalina.connector.RequestFacade@c19694
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
            at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.ja va:126)
            at flex.servlets.UploadImage.doPost(UploadImage.java:47)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:594)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStre am.java:982)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:8 86)
            at java.io.InputStream.read(InputStream.java:101)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)
    UploadImage.java:
    package flex.servlets;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.util.regex.*;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    import sun.reflect.ReflectionFactory.GetReflectionFactoryAction;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UploadImage extends HttpServlet{
             * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
             *      response)
            protected void doGet(HttpServletRequest request,
                            HttpServletResponse response) throws ServletException, IOException {
                    // TODO Auto-generated method stub
                    doPost(request, response);
            public void doPost(HttpServletRequest request,
                            HttpServletResponse response)
            throws ServletException, IOException {
                    PrintWriter out = response.getWriter();
                    boolean isMultipart = ServletFileUpload.isMultipartContent(
                                    request);
                    System.out.println("request: "+request);
                    if (!isMultipart) {
                            System.out.println("File Not Uploaded");
                    } else {
                            FileItemFactory factory = new DiskFileItemFactory();
                            ServletFileUpload upload = new ServletFileUpload(factory);
                            List items = null;
                            try {
                                    items = upload.parseRequest(request);
                                    System.out.println("items: "+items);
                            } catch (FileUploadException e) {
                                    e.printStackTrace();
                            Iterator itr = items.iterator();
                            while (itr.hasNext()) {
                                    FileItem item = (FileItem) itr.next();
                                    if (item.isFormField()){
                                            String name = item.getFieldName();
                                            System.out.println("name: "+name);
                                            String value = item.getString();
                                            System.out.println("value: "+value);
                                    } else {
                                            try {
                                                    String itemName = item.getName();
                                                    Random generator = new Random();
                                                    int r = Math.abs(generator.nextInt());
                                                    String reg = "[.*]";
                                                    String replacingtext = "";
                                                    System.out.println("Text before replacing is:-" +
                                                                    itemName);
                                                    Pattern pattern = Pattern.compile(reg);
                                                    Matcher matcher = pattern.matcher(itemName);
                                                    StringBuffer buffer = new StringBuffer();
                                                    while (matcher.find()) {
                                                            matcher.appendReplacement(buffer, replacingtext);
                                                    int IndexOf = itemName.indexOf(".");
                                                    String domainName = itemName.substring(IndexOf);
                                                    System.out.println("domainName: "+domainName);
                                                    String finalimage = buffer.toString()+"_"+r+domainName;
                                                    System.out.println("Final Image==="+finalimage);
                                                    File savedFile = new File(getServletContext().getRealPath("assets/images/")+"/LowesFloorPlan.png");
                                                    //File savedFile = new File("D:/apache-tomcat-6.0.35/webapps/ROOT/example/"+"\\test.jpeg");
                                                    item.write(savedFile);
                                                    out.println("<html>");
                                                    out.println("<body>");
                                                    out.println("<table><tr><td>");
                                                    out.println("");
                                                    out.println("</td></tr></table>");
                                                    try {
                                                            out.println("image inserted successfully");
                                                            out.println("</body>");
                                                            out.println("</html>");  
                                                    } catch (Exception e) {
                                                            System.out.println(e.getMessage());
                                                    } finally {
                                            } catch (Exception e) {
                                                    e.printStackTrace();

    It is only coming in Windows 7 systems and the root of this problem is SSL certificate.
    Workaround for this:
    Open application in IE and click on certificate error link at address bar . Click install certificate and you are done..
    happy programming.
    Thanks
    DevSachin

  • Enquiry about EM's timezone (working with HPUX EAT-8)

    Dear all,
    II have encountered an issue of EM's timezone error.
    One of my customers is using our EM (12.1.0.2) installed on Linux 5. It is used to monitor a HPUX target. The HPUX’s time zone has been set to “EAT-8”. I understand that the time zone of DB, OS and EM must be matched with the target. So I have set the time zone of DB and OS to “GMT-8” which should match with “EAT-8”. However when I do the software library update in EM, there is error of  “Time zone region not found”.. I have double checked the time of DB and OS, and they matched perfectly. If i ignored this error, when I deploy the EM host agent, there is also warning about the timezone.
    May I know if anyone knows how to set the timezone when EM working with HPUX EAT-8?
    Thanks.
    Best Regards,
    Bess Chung

    To view a list of the time zones you can use, access the supportedtzs.lst file present in the<AGENT_HOME>/sysman/admin directory of the central agent.
    For agent deployment refer to the timezone pre-req from this url
    http://docs.oracle.com/cd/E24628_01/install.121/e22624/install_agent.htm#CACJEFJI

Maybe you are looking for

  • Photoshop CC 2014 - Interface Lag, Slow to Update

    Hello, This issue appears on both OSX 10.9.5 Mavericks on an iMac 2.9 Ghz i5, 8GB Ram, 512 vRam Graphics NVIDIA GeForce GTX 660M and on a MacBookPro Late 2013 with 2.4GHZ Quad i7, 16GB Ram, 2GB vRam Geforce (Don't have laptop in front of me for exact

  • How to position the cursor

    I am working with a application well knon gestion software and in my form I want that the cursor is positioned in a textfield into the form . I don't know how I can do this In my case is very important for that the user feel easy use . Thanks Miguel

  • Trasnferpage is not working for custom page in peopletool 8.52

    Hi all, We are upgrading to peopletool 8.52. Issue : Record filed people we are using transferpage function to redriect to cutom page (standard page). But page keep processing not transfering to page... Same is working in peopletool 8.51 We have all

  • Oracle EBS Discoverer as a data source for OBIEE 11g

    We are a heavy user of Discoverer workbooks with Oracle EBS. We're moving to OBIEE 11g(11.1.1.3) and have an RPD with both 3rd party and custom content. I wanted to ask the experts here how I can leverage my Discoverer investment with out a lot of re

  • ITunes 11 does not detect my iPhone 5

    I recently downloaded iTunes 11 on my MacBook Pro and it is not detecting my iPhone 5 (running on iOS 6.0.1) and consequently, not allowing me to sync. Any suggestions on how to fix this problem?