Accesing Oracle 8i Database from iPlanet (Sun ONE) web server

Hi all,
I am trying to set up basic authentication mechanism on an iPlanet web server hosted web application. Instead of using the iPlanet LDAP directory, I would like to access the Oracle RDBMS for userid/password authentication. Does Oracle provide a means/plugin for enabling such communication with the iPlanet web server.
Any help would be highly appreciated.
Thanks,
Kavita

This just happened to me.
The problem is that iPlanet seems to goof up if you insert any non-alphabetical characters (such as underscore) into your virtual server class name.
To resolve this issue I had to open up the backups.conf file located in the conf_bk subfolder under your server folder.
<server root>\conf_bk\backups.conf
There are three sections divided by an empty line. The first section is 1 line and just has the version #, something like this:
backups.conf:Version 4.0
The next section has a list of conf files to keep backups of, when the last backup was made, etc..
The problem is that in deleting the obj.conf file for the virtual class, iPlanet does NOT remove the entry from this file for that virtual server class. You need to do this manually.
So locate the line in this section (most probably the last line in this section) that contains (virtual server class name).conf in it and delete that line.
You should now be able to operate as normal.
This is an aggravating bug that I hope has been addressed in iPlanet 6.1

Similar Messages

  • How do you get Sun One Web Server to read white spacing in a url

    Hi guys,
    I am currently using Sun One Web Server and this is the problem that i am currently facing.
    The url which is i am trying to read from the Sun One Web Server is http://test:8000/test/Testing%20A%20B
    The error which i am getting is java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path
    The reason why this is happening is because the original url is http://test:8000/test/Testing A B It has spacing in between the url. I cannot get rid of the spacing thru the code where its bound to a Content Management System. So the only way is to get the Sun One Web Server to be able to read this kind of url. There are about 300 to 400 of this types of url as they are dynamically generated.
    I was looking at the obj.conf and magnum.conf file to see whether i can manipulate this url to work for this situation. But with no luck.
    Can anyone please let me know if they have came across this problem.
    Thanks.

    Hi,
    This is the stack Trace:
    Error 500--Internal Server Error
    java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:329)
         at au.com.holden.web.mvc.ViewUtil.getInputModelAndView(ViewUtil.java:29)
         at au.com.holden.web.mvc.navigation.ModelNavigationController.handleNoSuchRequestHandlingMethod(ModelNavigationController.java:17)
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:375)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         at java.net.URI$Parser.fail(URI.java:2809)
         at java.net.URI$Parser.checkChars(URI.java:2982)
         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
         at java.net.URI$Parser.parse(URI.java:3024)
         at java.net.URI.(URI.java:578)
         at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:326)
         ... 26 more
    This is the path which was access by me using Sun One Web Server: http://poll:8006/models/Sportwagon/Sportwagon%20SS%20V-Series
    As you can see that Sun One Web Server dont like spacing between url.
    Does anyone know how to fix this problem thru configuration in Sun One Web Server?

  • Connecting to Oracle 9i with Sun One Web Server 6.1 SP4

    I have an application that connects to an Oracle 9i database. When I run iPlanet 4.1, I am able to login to the application and run it. Since I have migrated to Sun One Web Server 6.1 SP4, I have not been able to login. Through some built in error logging, I have been able to determine that my user validation routine is receiving a Null pointer when it trys to connect to the database. I have also determined that my login servlet is executing properly. When I receive the Null pointer error, I am redirected to a failed login page, which is what is supposed to happen in such a case. I believe that I do not have the web server configured properly to connect to the database and I am not sure how to do it! Below is an excerpt from my code where the database connection occurs and the exception is detected. Any help would be appreciated!
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              oracleConnect = DriverManager.getConnection("jdbc:oracle:thin:@" + chost + ":" + cport + ":" + csid ,u,p);
         enable = true;
    oracleConnect.close();
    }catch(java.sql.SQLException e){processError.logError("validateUser Invalue user" + e.getMessage()); enable = false;}
    catch(java.io.FileNotFoundException e){processError.logError("validate User error" + e.getMessage());}
    catch(java.io.IOException e){processError.logError("evalidateUser rror File Error " + e.getMessage());}
    catch(java.lang.NullPointerException e){processError.logError("validateUser error Null Pointer " + e.getMessage());}

    You are not using the server's built in JDBC Connection pooling, so there is no special WebServer configuration needed to connect to a database.
    If in the other hand, you want to use the built in connection pooling, then refer to this page to see how to create a connection pool
    http://docs.sun.com/source/817-1831-10/agjava.html#wp1085593
    Samples on how to configure and use JDBC connection pooling can be found in the sample apps
    http://docs.sun.com/source/817-1833-10/pwawap.html#wp40108

  • IPlanet Sun ONE Web Proxy Server 3.6 SP6 terminating

    I have a problem with my proxy server server.
    I use iPlanet Sun ONE Web Proxy Server 3.6 SP6
    It is terminating and the service is restarting. This happens about 10-15 times a day. The message I get from the log is :
    [22/Mar/2005:09:29:30] info: server terminating... each time it terminates.
    I know for sure that this is no hardware issue (as I have changed the hard disk recently). My OS is win2000 server SP4 + all released patches from MS.
    Also I have reinstalled the OS several times (clean install after format) and I got the same result.
    Also I tried to use the proxy with/without LDAP server for authentication - the same.
    Any suggestions/recommendations are mostly welcome.
    Thanks in advance,
    Kaloyan

    Dear Kaloyan,
    Migration to another proxy (e.g. ISA) seems to be quickest solution for your problem, as WebProxy doesn't work well on w2k platform.
    Vladimir
    P.S. Regards to Delyan :)

  • IPlanet migration failure for Sun One Web server 6.1SP6

    Recently we downloaded the Sun One Web server 6.1SP6 and we are having problem trying to upgrade our current version. We have been able to install the package and get the admin console running but we can not migrate the current instances across to the new version. We can successfully choose an instance to migrate however once we click the migrate button, absolutely nothing happens in the browser and nothing can be seen in any error logs and truss indicates a read of a pipe going nowhere, after which the cgi stub terminates.
    We are migrating from
    iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 16:22
    to
    CORE1116: Sun ONE Web Server 6.1SP6 B05/07/2006 12:33

    well, it is good that you have considered to upgrade considering 6.0 Sp5 has been EOL'ed for some time now.
    here is the url that describes migrating to 6.1 from 6.0
    http://docs.sfbay/app/docs/doc/819-6514/6n8h9dr61?a=view
    now, if you are still having issues with migration using GUI, you can provide us the admin server error logs or call Sun tech support (if you have support contract) to help you with this.

  • NetBeans and Sun ONE Web Server 6.1

    I have a JSP / Beans / Servlet Web application working in Tomcat on my local machine, a Macintosh laptop. I used NetBeans to create it all, and everything works fine there. I have tried to upload everything to another computer (Solaris based) which is running Sun ONE Web Server 6.1, but am having problems.
    I uploaded the WAR file that NetBeans created, and uploaded the 'web' directory that NetBeans created. I can access HTML files from that web folder, but when I ask it to go to the first page, index.jsp, it has a problem with the beans. In my JSP file I do:
    <jsp:useBean id="db" class="drc.database" scope="session" />
    It seems to be having problems loading that class. What do I need to do? Here is the error code:
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, ntrans-j2ee reports: mapped uri "/index.jsp" in context "" to resource "jsp"
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: context = StandardEngine[null].StandardHost[drc].StandardContext[]
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: contextPath =
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: wrapper = StandardEngine[null].StandardHost[drc].StandardContext[].StandardWrapper[jsp]
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: servletPath = /index.jsp
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: pathInfo = null
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): JspEngine --> /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): ServletPath: /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): PathInfo: null
    [04/Aug/2005:17:15:36] fine (15708):      for host 0.0.0.0 trying to GET /index.jsp, ntrans-j2ee reports: mapped uri "/index.jsp" in context "" to resource "jsp"
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): RealPath: /www/html/drc/index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): RequestURI: /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): QueryString: null
    [04/Aug/2005:17:15:36] failure (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSPWEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:66: package drc does not exist
         drc.database db = null;
         ^
         WEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:69: package drc does not exist
         db= (drc.database)
         ^
         WEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:74: package drc does not exist
         db = (drc.database) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "drc.database");
         ^
         3 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:412)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)

    it is certifying / authenticating that the secured
    web site is owned by the genune party and the
    transactions with the party is doing through a
    encrypted format.
    Am i correct up to this???Correct, that is what SSL/certificates are for.
    >
    Then my dowt is that
    Is it possible to make my server SSL enabled with
    h out using any certificate ????( the documents you
    are given is telling about certificates)No it is not possible - the whole idea behind SSL communication is that it is based on TRUSTED secure communication. If a client can not check validity of server's certificate it is not trusted any more.
    It might not seem to be the case when you create a self-signed certificate, but it really is so. In case of a self signed certificate you(i.e your browser) trust yourself with whatever you do with your application on your webserver.
    After all can I install some certificates lateron ??
    If you really need SSL with your webserver you have to either create a self signed certificate, see this: http://sial.org/howto/openssl/self-signed/
    or request a test certificate from www.verisign.com or www.thawtee.com

  • Poor Performance of Sun One Web Server 6.0 SP6

    We are running on an E450 with 2GB of memory, Solaris 8 2/02 with Recommended and Security Patch Cluster from 31 Jul 03, Sun One Web Server 6.0 SP6, Macromedia ColdFusion 5, JDK 1.4.1_02. We are seeing intermittent (three or four times a day) performance problems, extremely poor response time.
    A vanilla, �test� iPlanet web server was put up on port 2443 with https turned on and off. Repeated control tests on file operations (�copy link as�) showed similar results as those described in High Impact above. Changes to add KeepAlive parameters (in magnus.conf) showed no noticeable improvement.
    Tests were conducted -- on the test server -- accessing the same file from two clients, one a thin client (TC), the other a Unix workstation (UW).
    Results:
    1) Sometimes process TC was started first and continued normally while process UW hung up; when this happened, only one httpd process was building cpu time;
    2) Sometimes process UW was started first and continued normally while process TC hung up; when this happened, only one httpd process was building cpu time;
    3) Sometimes both process TC and process UW continued normally regardless of which was started first; when this happened, two different httpd processes were building cpu time together;
    Speculation on Process Management - speculation is that, in the case of the 3rd bullet above, iPlanet assigned different httpd processes to the two requests. In the case of the first two bullets, however, the belief is that iPlanet actually assigned the second request to the same process it had previously assigned the first request. In this case, the second request was left to wait. It appears that most of the work done by httpd children is performed by only two or three children, even when there are 10 available.
    Questions;
    Why are the other httpd children are not more fully utilized?
    What about changing the number of Acceptor Threads?
    Could turning on Native Polling help (UseNativePoll in magnus.conf)?
    Any other thoughts about what is going on or how to fix the issue?
    Thanks for any assistance
    Excerpt from /etc/system
    * Web Server and ColdFusion Setting
    set shmsys: shminfo_shmmax = 2147483647
    set shmsys: shminfo_shmmin = 1
    set shmsys: shminfo_shmmni = 100
    set shmsys: shminfo_shmseg = 50
    set semsys: seminfo_semmns = 1750
    set semsys: seminfo_semmni = 70
    set msgsys:msginfo_msgmax = 65535
    set msgsys:msginfo_msgmnb = 65535
    set msgsys:msginfo_msgseg = 8192
    set msgsys:msginfo_msgssz = 16
    * Default is 512, which handles several thousand connections
    *set tcp:tcp_conn_hash_size=262144
    * Do not set to 0 in solaris 8 on Production Systems
    *set sq_max_size=0
    set rlim_fd_max=8192
    set rlim_fd_cur=8192
    * END of Web / ColdFusion Settings
    Excerpt from /etc/rc2.d/S69inet
    ## Web Server and ColdFusion Settings
    # Comment out tcp_slow_start_initial, because default is 4
    #ndd -set /dev/tcp tcp_slow_start_initial 2
    ndd -set /dev/tcp tcp_xmit_hiwat 32768
    ndd -set /dev/tcp tcp_recv_hiwat 32768
    ndd -set /dev/tcp tcp_conn_req_max_q 1024
    ndd -set /dev/tcp tcp_conn_req_max_q0 4096
    ndd -set /dev/tcp tcp_time_wait_interval 60000
    ndd -set /dev/tcp tcp_keepalive_interval 900000
    # Comment out next 4 to accept default
    # - change only if tcp longer than 10 seconds expected
    #ndd -set /dev/tcp tcp_ip_abort_interval 60000
    #ndd -set /dev/tcp tcp_rexmit_interval_max 10000
    #ndd -set /dev/tcp tcp_rexmit_interval_initial 3000
    #ndd -set /dev/tcp tcp_rexmit_interval_min 3000
    # Left out changing ephemeral (short lived) port
    #ndd -set /dev/tcp tcp_smallest_anon_port 1024
    # Keep default of 1480576
    #ndd -set /dev/tcp tcp_cwnd_max 65535
    ## End of Web / ColdFusion Settings
    Excerpt from magnus.conf
    RqThrottle 1
    MaxProcs 10
    StackSize 131072
    ## Added for lightly loaded systems
    KeepAliveQueryMeanTime 1
    KeepAliveQueryMaxSleepTime 0

    Because the security context is set as a process context, the NSAPI thread locks the process prior to setting the security context. The older NASPI plugin that we are using is not reentrant, it will not work with the mulitthreading model. Under multithreading each thread would have access to the security context of each thread.

  • Problem with maxprocs 1 on Sun One Web server 6.1

    I am using sun one web server on Unix with maxprocs set to 3.
    This means that there are 3 jvms running my application under 1 instance. However I have certain components like an application cache that I would like to share between these 3 processes.
    Additionally is there a way to configure the server so that requests from 1 session are served by 1 process only.
    I am really stuck here. Have searched in all the documentation, but in vain. Would really help if some one of the Sun Developers could answer this.
    Thanks
    Chetan

    Elving,
    It is great to hear that there is no predefined limit on number of sessions but if that's the case why the webserver always starts with 1000 allowed by default. Are there any potential performance reasons behind it?
    I have your link open in my browser for a few days now as a reference because I am experimenting with different Session Managers. I am trying to find a solution for BheegaChicken to be able to accomodate several thousand simultaneous sessions for his application.
    We use V6.0SP2 and SP6 and for BheegaChicken's app specifically V6.1SP2...
    I have spent some time in the past looking for the answers how to handle higher then 1000 sessions capacity on one instance and that was even before V6.1 was out. I have found the following reco that talks about optimal performance for sites using threads:
    http://docs.sun.com/source/816-5690-10/perf6.htm#17580
    *** start qoute
    Multi-Process Mode
    You can configure the server to handle requests using multiple processes with multiple threads in each process. This flexibility provides optimal performance for sites using threads, and also provides backward compatibility to sites running legacy applications that are not ready to run in a threaded environment. Because applications on Windows NT generally already take advantage of multi-thread considerations, this feature applies to Unix/Linux platforms.
    The advantage of multiple processes is that legacy applications that are not thread-aware or thread safe can be run more effectively in iPlanet Web Server. However, because all the Netscape/iPlanet extensions are built to support a single-process threaded environment, they may not run in the multi-process mode, and the Search plug-ins will fail on startup if the server is in multi-process mode.
    In the multi-process mode, the server spawns multiple server processes at startup. Each process contains one or more threads (depending on the configuration) which receive incoming requests. Since each process is completely independent, each one has its own copies of global variables, caches, and other resources. Using multiple processes requires more resources from your system. Also, if you try to install an application which requires shared state, it has to synchronize that state across multiple processes. NSAPI provides no helper functions for implementing cross-process synchronization.
    If you are not running any NSAPI in your server, you should use the default settings: one process and many threads. If you are running an application which is not scalable in a threaded environment, you should use a few processes and many threads, for example, 4 or 8 processes and 128 or 512 threads per process.
    MaxProcs (Unix/Linux)
    Use this directive to set your Unix/Linux server in multi-process mode, which may allow for higher scalability on multi-processor machines. If you set the value to less than 1, it will be ignored and the default value of 1 will be used.
    Tuning
    You can set the value for MaxProcs by:
    Editing the MaxProcs parameter in magnus.conf
    Setting or changing the MaxProcs value in the Magnus Editor of the Server Manager
    Note      You will receive duplicate startup messages when running your server in MaxProcs mode.
    *** end quote
    If it is not relevant anymore please explane.
    I am still interested to understand which of the SessionManagers is recommended by Sun to have optimal performance for sites with high number of sessions and using threads. It is not really obvious from http://docs.sun.com/source/817-6251/pwasessn.html. On top of this that's documented just for V6.1. What about V6.0?
    Thank you very much for your cooperation!
    Sasha aka ttalex

  • Sun One Web Server Start Up Error

    I have added filters in my application. I get the below error when I try to restart my application from Sun One Web Server,
    info: CORE3282: stdout: PARSE error at line 6 column 10
    info: CORE3282: stdout: org.xml.sax.SAXParseException: Element type "filter" must be declared.
    failure: ContextConfig[] WEB3524: Parse error in application web.xml
    org.xml.sax.SAXParseException: Element type "filter" must be declared.
    at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1016)
    at org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1252)
    at org.apache.xerces.validators.common.XMLValidator.validateElementAndAttributes(XMLValidator.java:2721)
    at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1222)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:89)
    at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
    at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:312)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1005)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3702)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: ContextConfig[]: WEB3525: Occurred at line 6 column 10
    failure: ContextConfig[]: WEB3541: Marking this application unavailable due to previous error(s)
    failure: WebModule[]: WEB2705: Context startup failed due to previous errors
    failure: WebModule[]: WEB2720: Error initializing naming context for context
    javax.naming.NamingException: WEB3880: Unknown context name : StandardEngine[null].StandardHost[https-sitarmor84].StandardContext[]
    at org.apache.naming.ContextBindings.bindThread(ContextBindings.java:207)
    at org.apache.catalina.core.StandardContext.bindThread(StandardContext.java:4123)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3811)
    at com.iplanet.ias.web.WebModule.stop(WebModule.java:329)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3782)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    Please help.

    Which version of Sun web server are you using? Is it 6.1, 7.0 or 7.0 Update2.
    6.1 supports Servlet 2.3 spec. 7.0 supports Servlet 2.4 spec and 7.0 Update 1 and 2 support Servlet 2.5.
    Servlet 2.3 is DTD based and Servlet 2.4 onwards are schema based.
    The DTD or schema will be right after XML prolog in web.xml.
    You can use one of the following:
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    I am sure your web.xml is not correctly written for the DTD/schema used.
    If you take care of that I am sure th problem will go away.
    If not, let us know if your webapp's WEB-INF/lib has xerces.jar.

  • Integration of Sun One Web Server 6.0 with Sun One App Server 7.0

    Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
    Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?

    As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
    I have added the plugin package to the webserver and added the following into the magnus.conf:
    Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

  • Sun One web server 6.0 Authentication

    Does anyone know if it is possible to use form based authentication under Sun One Web Server 6.0, that checks the user authentication on a proprietary API. I need to use a JAVA library to authenticate users and i would like to use it under the form based authentication method inside the web server. Is it possible to write a plug-in for web server authentication mechanism?
    Thank you

    I have almost identical problem (topic �iPlanet 6.0 stops responding�). Since than I made some serious testing and found out that NSAPI does not produce problem. There are two types of delays: the shortest last from 10 to 20 seconds and usually there is �Error accepting connection (The semaphore timeout period has expired.� message in error log. The longest sometimes last more than 10 minutes.
    This is short cut from my response time log (in miliseconds):
    10:30:18 Response:    15
    10:30:28 Response:    32
    10:30:38 Response:    47
    10:30:48 Response:    31
    10:31:06 Response:  8265
    10:31:17 Response:   188
    10:31:27 Response:    31
    10:31:37 Response:    16
    10:31:47 Response:    16
    10:31:57 Response:    31
    10:32:07 Response:    32
    10:32:17 Response:    31
    10:32:37 Response: 10578
    10:32:47 Response:    31
    10:32:57 Response:    31
    10:33:07 Response:    32
    10:33:17 Response:    47
    10:33:27 Response:    31
    10:33:38 Response:   266
    10:33:48 Response:    62
    10:33:58 Response:    31
    10:34:08 Response:    47
    10:34:18 Response:    47
    10:34:28 Response:    31
    10:34:49 Response: 11047
    10:34:59 Response:    31
    10:35:10 Response:    93
    10:35:20 Response:    32
    10:35:30 Response:    46
    10:35:40 Response:    32
    10:35:50 Response:    47
    10:36:00 Response:    46
    10:36:10 Response:    32
    10:36:20 Response:    62
    10:36:30 Response:    47
    10:36:40 Response:    31
    10:36:50 Response:   391
    10:37:01 Response:   297and Connection statistics from Admin web at delay
    Total Number Of Connections:  31644 
    Maximum Number Of Queued Connections: 4096 
    Peak Number Of Queued Connections: 285 
    Current Number Of Queued Connections: 285 
    Number Of Processes:  1 Configuration is Sun One Web Server 6.0.6, Win2K Advanced Server with SP4, Single Processor Machine (Compaq DL360).

  • How do I configure a Sun One Web Server 6.1 to run JSP pages

    I have a Sun One Web server version 6.1 running on Solaris 10.
    The web server is not configured to run JSP pages. When I try and run a JSP page, I get an HTTP 405 error.
    Can somebody please point me to the configuration directions, including changes to the obj.conf, magnus,.conf, etc.
    Thanks

    Web Container is enabled by default.
    Here are my config files
    $tail -1 magnus.conf
    Init fn="load-modules" shlib="/export2/ws6.1sp11/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"$cat obj.conf
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/export2/ws6.1sp11/ns-icons" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi" user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>JAVA settings in server.xml:
    <JAVA classpathsuffix="" debug="false" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1" envclasspathignored="true" javahome="/export2/ws6.1sp11/bin/https/jdk" nativelibrarypathprefix="" serverclasspath="/export2/ws6.1sp11/bin/https/jar/webserv-rt.jar:${java.home}/lib/tools.jar:/export2/ws6.1sp11/bin/https/jar/webserv-ext.jar:/export2/ws6.1sp11/bin/https/jar/webserv-jstl.jar:/export2/ws6.1sp11/bin/https/jar/ktsearch.jar">
            <JVMOPTIONS>-Djava.security.manager</JVMOPTIONS>
            <JVMOPTIONS>-Djava.security.policy=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/server.policy</JVMOPTIONS>
        <JVMOPTIONS>-Djava.security.auth.login.config=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/login.conf</JVMOPTIONS>
        <JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
        <JVMOPTIONS>-Xmx256m</JVMOPTIONS>
        <SECURITY anonymousrole="ANYONE" audit="false" defaultrealm="native">
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.file.FileRealm" name="file">
            <PROPERTY name="file" value="/export2/ws6.1sp11/https-alamanac.india.sun.com/config/keyfile"/>
            <PROPERTY name="jaas-context" value="fileRealm"/>
          </AUTHREALM>
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm" name="native">
            <PROPERTY name="jaas-context" value="nativeRealm"/>
          </AUTHREALM>
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm" name="ldap">
            <PROPERTY name="directory" value="ldap://localhost:389"/>
            <PROPERTY name="base-dn" value="o=isp"/>
            <PROPERTY name="jaas-context" value="ldapRealm"/>
          </AUTHREALM>
                <AUTHREALM name="solaris" classname="com.iplanet.ias.security.auth.realm.solaris.SolarisRealm">
                  <PROPERTY name="jaas-context" value="solarisRealm"/>
                </AUTHREALM>
        </SECURITY>
        <RESOURCES>
            </RESOURCES>
      </JAVA>

  • Sun ONE Web Server 6.1SP5 and Communications Express Error

    I post this to the wrong forum i think i am getting this error after running the config-uwc.
    Sun ONE Web Server 6.1SP5 B06/23/2005 22:22
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_04] from [Sun Microsystems Inc.]
    config: for host 0.0.0.0 trying to GET /, name-trans-passthrough reports: init-passthrough has not been called
    info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [da]
    info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [uwc]
    info: WEB0110: Ignoring invalid property [allowLinking] = [true]
    info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [search]
    warning: CORE3283: stderr: Exception in thread "Thread-1" java.lang.NoClassDefFoundError: org/mozilla/jss/crypto/KeyGenAlgorithm
    warning: CORE3283: stderr: at java.lang.Class.forName0(Native Method)
    warning: CORE3283: stderr: at java.lang.Class.forName(Class.java:164)
    warning: CORE3283: stderr: at com.iplanet.services.util.Crypt.createInstance(Crypt.java:133)
    warning: CORE3283: stderr: at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:103)
    warning: CORE3283: stderr: at com.iplanet.services.ldap.LDAPUser.getPasswd(LDAPUser.java:117)
    warning: CORE3283: stderr: at com.iplanet.services.ldap.ServerInstance.getPasswd(ServerInstance.java:128)
    warning: CORE3283: stderr: at com.sun.identity.security.ServerInstanceAction.run(ServerInstanceAction.java:92)
    warning: CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
    warning: CORE3283: stderr: at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:82)
    warning: CORE3283: stderr: at com.sun.identity.security.AdminDNAction.run(AdminDNAction.java:86)
    warning: CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
    warning: CORE3283: stderr: at com.sun.identity.authentication.internal.server.SMSAuthModule.initialize(SMSAuthModule.java:129)
    warning: CORE3283: stderr: at com.sun.identity.authentication.internal.LoginContext.login(LoginContext.java:122)
    warning: CORE3283: stderr: at com.sun.identity.authentication.internal.AuthLoginThread.run(AuthLoginThread.java:82)

    I reran the access manager configuration and deployed it to the web server and now the webserver starts up successfully. I think my problem was that the file I was using initially wasn't properly setup for my enviroment.
    Carinus

  • Sun ONE Web Server 6.1SP4 - Crashing

    I am getting the below while starting the web server instance. I have checked with the OS support team and they confirmed that the system is upto date with all the OS patches. Can someone please help?
    Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
    catastrophe: CORE3260: Server crash detected (signal SIGSEGV)
    info: CORE3262: Crash occurred in function strlen from module /usr/lib/libc.so.1

    Thanks. I got it now. Here is the output of pstack.
    # pstack core.webservd.10594.evapsd005.0.0.1137645487
    core 'core.webservd.10594.evapsd005.0.0.1137645487' of 10594: webservd -r /opt/geps/iPlanet -d /opt/geps/iPlanet/https-admserv/confi
    ----------------- lwp# 1 / thread# 1 --------------------
    fe0331d0 strlen (286f626a, 400, 544, 0, ff0ef758, 0) + 38
    ff0b7390 ldap_charray_dup (ff0ddea0, 0, fda61118, ff3de7a8, 0, 0) + 68
    fd39cd48 ldap_url_dup (b27f8, 0, ffffffff, fffffff8, 0, ae565) + 1ac
    fd39cd7c ldap_url_duplist (b27f8, 0, 0, 4, 1, fd3bf4c8) + 14
    fd388e48 ldap_create (fffffff6, 32, 0, fe0bf789, fd3dc618, fd3dc602) + d8
    fd3890a4 ldap_initialize (fd3ed488, fd3ed808, fd3dc5e8, fd3dc710, fd3dc440, 0) + 8
    fd3d2a80 do_init (fd3ed488, ffbeefd8, fd3ee708, d, 0, 0) + 1bc
    fd3d34a0 do_init2 (0, ff000000, 0, fd3d6c34, ae4a8, 72) + 10
    fd3d6968 nssldap_getgroupsbymember_r (adaa0, ffbef5a4, adaa0, ae49c, fe09890c, ae3e0) + 38
    fe0498bc nss_search (1, fe0bef4c, fe0c35a4, fd3d6930, ae3e8, adaa0) + 1cc
    fe098698 _getgroupsbymember (59cf0, fe0abcbc, 10, 1, ae3e0, fe0bc008) + ac
    fe040f00 initgroups (ae398, ffffffff, 10, 59cf0, ff2f1cac, 59b88) + 84
    ff245764 __1cJWebServerDRun6F_nIPRStatus__ (ff2eedb0, ff2eed74, bbd18, ff2eedb4, 2c24, ff2c1624) + 6e8
    00010ab0 main (7, ffbef74c, ffbef76c, 20c00, 0, 0) + 1c
    00010a70 _start   (0, 0, 0, 0, 0, 0) + 108
    ----------------- lwp# 2 / thread# 2 --------------------
    fe09dbe4 _poll    (fdbbede0, fdbf0200, 1388, 1, fdbbede0, fe097c80) + 8
    fedc9568 pt_poll_now (fdbbee48, a, 3, ffffffff, ffffffff, 20) + 48
    fedca460 pt_Read (ffffffff, fdbbeed8, 1000, 178c, 1e9ec, 0) + e0
    ff23f058 __1cRLogNsprDescriptorDrun6M_v_ (66960, 1, fdbbeed8, 0, 1400, ff2e069c) + 44
    ff106dec ThreadMain (66960, 0, 2, 0, 1, 4b8) + 24
    fedd0028 ptroot (96600, fdbf0200, 0, 0, 10000, fede8d70) + d0
    fe154c3c lwpstart (0, 0, 0, 0, 0, 0)
    ----------------- lwp# 3 / thread# 3 --------------------
    fe09dbe4 _poll    (fdb3ede0, fdbf0400, 1388, 1, fdb3ede0, fe097c80) + 8
    fedc9568 pt_poll_now (fdb3ee48, f, 3, ffffffff, ffffffff, 20) + 48
    fedca460 pt_Read (ffffffff, fdb3eed8, 1000, 178c, 1e9ec, 0) + e0
    ff23f058 __1cRLogNsprDescriptorDrun6M_v_ (b7f80, 2, fdb3eed8, 1, 1400, ff2e069c) + 44
    ff106dec ThreadMain (b7f80, 0, 2, 0, 1, 4b8) + 24
    fedd0028 ptroot (ccd30, fdbf0400, 0, 0, 10000, fede8d70) + d0
    fe154c3c lwpstart (0, 0, 0, 0, 0, 0)
    #

  • Enabling end - user access in Sun One Web Server 6.1 SP2

    Hi,
    I am new to Sun One Web Server 6.1 SP2 and I can't figure how to enable the end user access so that the end users can change their password.
    On iPlanet 6.0 SP2, in the Distributed Admin page, I could enable Distrubuted Administration as well as end user access on the webserver. The end users could then change their own password. I can't find a similar feature in Sun One Web server 6.1 SP2.
    Could anyone out there tell me how to get this done?
    Thanks in advance!

    Hi,
    I just found from release notes that End user administration feature (which was under Distributed Administration ) is no longer supported in Sun One Web Server 6.1. [Problem ID 4865295 in release notes]
    Could anyone provide a workaround to get over this and allow the end users to change their passwords?
    Many thanks in advance,
    auporna.

Maybe you are looking for

  • Retrieve data/files fro HTTP POST request in On-Demand process

    Hello, I would like to integrate https://github.com/blueimp/jQuery-File-Upload to my APEX 4.2 application inside XE11g. I would like to use this kind of jQuery component, multiple file upload, use Drag & Drop, image resize, size limit, filter extensi

  • How can I add ethernet ports to a TC?

    How can I add additional ethernet ports to a Time Capsule for my audio system to have direct hard wire to the Internet?

  • Java 7

    iMac 21.5 inch, Mid 2011 Software: Mac OSX Lion 10.7.5 (11G63) Safari: Version 6.1.6 (7537.78.2) Processor: 2.5 GHz Intel Core i5 Memory: 4GB 1333 MHz DDR3 Graphics: AMD Radeon HD 6750M 512 MB Should I keep the following plug-ins on my Mac? Are they

  • Updated N95 8Gb from v20 to v30 but restore failed

    I updated N95 8Gb from v20 to v30 but impossible to restore After restore and reboot the phone is empty with no data What is the problem ?

  • Applying OIM Connector Patches

    I currently have OIM 9.1 with connector version 9.0.4.1 and what to apply connector patch 7017816 to correct an issue with the AD password sync loop issue. Are there any special instructions somewhere on how to apply the patch? If I attempt to instal