Unable to find classes in iPlanet Web Server
Hi,
I just got started in JSPs. I'm using iPlanet WS EE 4.1. And it works fine for simple ones. But when I try to reference home grown classes from JSP pages, the engine can not find the classes.
I'm putting my classes in the same directory with the calling JSP page and classes are in default package. If anybody knows the solution, your response would be appreciated. Thanks.
Jonathan
Not familiar w/ iPlanet, but generally you don't put .class files in the same directory as JSPs. Most application servers have a classes directory, something like ...\webapps\mywebapp\WEB-INF\classes and this is where you put your .class files. Some applications servers will load all class files from here by default (i.e. Tomcat), others you may have to add this directory to the classpath.
Similar Messages
-
When trying to troubleshoot why I am getting "connection refused" for samples/jaxrpc/simple I found I am getting the following errors in server.log.
[08/Sep/2003:16:08:41] INFO (17045): CORE3016: daemon is running as super-user
[08/Sep/2003:16:08:41] SEVERE (17045): CORE4011: Internal error: Unable to locat
e class: com/iplanet/ias/server/J2EERunner
[08/Sep/2003:16:08:41] SEVERE (17045): CORE3187: Late initialization failed: Err
or running init function(late) init-j2ee: unknown error
I'm running on RedHat 7, kernel 2.4.20-20.7, with Java j2sdk1.4.2_01. The env $PATH includes /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/opt/oracle/product/9.2.0/bin:/root/bin:/usr/java/j2sdk1.4.2_01/bin:/opt/SUNWappserver7/bin
I did not see anything else that I need to configure in the environment other than [Install home]/bin in $PATH. I found nothing about special $CLASSPATH settings.
Anybody have any ideas?Hi Steve,
I don't know what does internal error means, may be you could set the log level to fine to get more detail error messages.
I remember myself getting "connection refused" exception.I resolved it by referring the troubleshooting section in the docs shipped with sample on resolving this error.
Get back if still have any issues.
-Amol -
How to find out version of patch for iPlanet Web Server 6.1 on Win2000
I have a iPlanet Web Server 6.1 SP1 running on Windows 2000. Can I find out what patches has been installed for my iPlanet Web Server?
Thanks in advance for any information.n/m, read version, not patches.
Edited by: David.Eriksson on Jun 30, 2008 8:12 AM -
Unable to start iPlanet web server
Hi, Iam getting the error unable to locate dll "The Dynamic link libraery jvm.dll could not be found in the specified path" when i tried to start the iPlanet web server.Can anybody tell me the reason?this is an urgent one.
Iam getting this error after changing the Global settings in iPlanet web server for Jre/Jdk Path.Hi,
Look out the below link for your problem :
http://knowledgebase.iplanet.com/ikb/kb/articles/7671.html
As you said you are not able to start the iWS after changing the value of JRE/JDK Path. Then I think you have been use unsupported version of JDK. Kindly revert back to pervious version of JRE/JDK and start the server. To know how to revert back the pervious version of JRE/JDK check the below link.
1.http://knowledgebase.iplanet.com/ikb/kb/articles/5123.html
2.http://knowledgebase.iplanet.com/ikb/kb/articles/4352.html
3.http://knowledgebase.iplanet.com/ikb/kb/articles/5113.html
Hope this helps.
Regards,
Dakshin.
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support. -
How to find what version of Iplanet Web Server is running on System
Hi,
I am trying to find a command which i can run to find out what version of Iplanet Web Server am i running on my Solaris System.
Example: if i ran command it should return something like: Iplanet Enterprise Web Server 4.1 SP8
WIll appreciate any feedback
ThanksYou can go to server_root/bin/https/bin and run "./ns-httpd -v" command:
# ./ns-httpd -v
Sun Netscape Alliance
iPlanet-WebServer-Enterprise/4.1SP8
For the current 6.x versions, you can use the start script of the instance like follows:
# ./start -version
Sun Microsystems, Inc.
Sun ONE Web Server 6.1SP1 B12/19/2003 22:19
Please note that 4.1 version is no longer supported. You
should plan to upgrade to a supported version like 6.1.
Thanks
Manish -
IPlanet Web Server acl to deny access to class C IP addresses
Hi all,
having not chance to modify an ACL from the iPlanet Web Server GUI (the application just make the acl file and anything else....), I am trying to modify it directly to deny access to all users having IP address starting with 172.
The ACL file created from the iPlanet GUI is the following:
version 3.0;
acl "default";
authenticate (user, group) {
prompt = "iPlanet Web Server";
allow (read, list, execute,info) user = "anyone";
allow (write, delete) user = "all";
acl "es-internal";
allow (read, list, execute,info) user = "anyone";
deny (write, delete) user = "anyone";
I modified it by adding the following deny:
root@webone /usr/iplanet/servers/httpacl # more generated.https-altorendimento.acl
version 3.0;
acl "default";
authenticate (user, group) {
prompt = "iPlanet Web Server";
allow (read, list, execute,info) user = "anyone";
allow (write, delete) user = "all";
acl "es-internal";
deny (read) ip = "172.*";
deny (write, delete) user = "anyone";
but, after applying the changes, I am still (I am on a 172.*.*.* workstation) allowed to access the resource. Then I changed the deny in the following way:
root@webone /usr/iplanet/servers/httpacl # more generated.https-altorendimento.acl
version 3.0;
acl "default";
authenticate (user, group) {
prompt = "iPlanet Web Server";
allow (read, list, execute,info) user = "anyone";
allow (write, delete) user = "all";
acl "es-internal";
deny (read) user = "all";
deny (write, delete) user = "anyone";
nothing happened again. The access to the resource seems not related to the acl changes, although the acl are correctly referenced into the obj.conf file. Unfortunatelly, I do not have much experience in ACL.
Is there anyone able to help me with that issue?
Thank you so much
enricohi all,
sorry for this delay, the matter was solved due to the Mozilla display capability for which this site (the one with the ACL) was not made. Once tried to display with Explorer all was ok and I was able to change the ACL accordingly.
Sorry again, and thaks anyway
enrico -
hi ,OTN
I have an ADF 10g application which I migrate to Jdeveloper 11.1.1.3.0 version after migration and turning Adf faces to Apache Trinidad components and fixing all my code,compiling the application without any Errors,when I deployed my application to weblogic I had a deployment exception this is all the stack trace
User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener '
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286547027015' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
>
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
Source Document: file:/C:/Documents and Settings/Administrator/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/Version4/ViewControllerWebApp.war/WEB-INF/faces-config.xml
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
help please?thank you for quick reply. but I ran my application in the integrated weblogic server in the Jdeveloper.I did not deploy it to a standalone one.did you mean the default domain?
-
Deploying war files on iplanet web server 6.0
Hello All,
I tried to deploy an war file on iplanet web server 6.0 using both command line wdeploy and iplanet webserver browser based admin tool. Both the times it did say successfully deployed. I checked the WEB-INF files and it does contain all class files..But the problem is when I try to post a form to one of the class files the error log says as if it cannot find the class file.(I tried the sample app HelloWorld supplied by vendor)
=========
05/Mar/2002:13:19:14] config (13777): for host xx.xx.xx.xx trying to POST /samples/helloworld/GreeterServlet, handle-processed reports: The request method is not applicable to this requested resource.
=================
any help in this regards is appreciated
Thanks
sudhirHello,
I got few steps to deploy the WAR file, if you followed the same steps and got the error then ignore this else try with this steps.
a) Set your environment variable IWS_SERVER_HOME to your server_root directory.
b) Add the server_root/bin/https/httpsadmin/bin directory to your classpath.
c) Configure your virtual server for web applications.
From the Server Manager page, select the VirtualServerClass tab, select a Class, and click the Manage button.
Select a Virtual Server and go to the Java Web Apps Settings page for that virtual server. Make sure that the virtual server has Web Apps State turned On, and web-apps.xml is the name of Web Apps File.
To extract the sample WAR file HelloWorld.war in server_root/plugins/servlets/examples/web-apps/HelloWorld, use the wdeploy command as follows:
wdeploy deploy -u /hello -i server.iplanet.com -v testvs -d
/iws60/https-server.mydomain.com/testvs/web-apps/hello
/iws60/plugins/servlets/examples/web-apps/HelloWorld/HelloWorld.war
The syntax for the command is as follows:
wdeploy deploy -u uri_path -i instance -v vs_id [-d directory] war_file
uri_path Specify the URI prefix (a path to access the web application from the browser).
instance Specify the server instance name. (Note: Do not include "https" in the front.)
vs_id Specify the Virtual Server name as it appears on the Manage Virtual Servers page.
directory Specify a directory to extract WAR files. If this directory doesn't exist already, it will be created for you now.
war_file Specify the name of the WAR file.
If the WAR file is extracted successfully, the message "web application deploy successful" appears at the command line.
For verification, go to the /iws60/https-server.iplanet.com/testvs/web-apps/hello directory. It should have the following contents:
colors
index.jsp
META-INF
WEB-INF/
web.xml
/classes/
HelloWorldServlet.class
HelloWorldServlet.java
SnoopServlet.class
SnoopServlet.java
In the server_instance/config directory, the web-apps.xml file should have the following entry:
<vs>
<web-app uri="/hello"
dir="/iws60/https-server.iplanet.com/testvs/web-apps/hello"/>
</vs>
Restart the server instance from the command line or go to the admin GUI and apply configuration changes to the server instance.
Now when you access the webserver instance in your browser, the Error log of that server instance will record successful initialization of the web application environment(web-apps.xml) for the virtual server(vs name). You can access the web application from a browser as follows:
http://server.Mydomain.com:80/hello/index.jsp
or:
http://server.Mydomain.com/hello/
The syntax is as follows:
http://vs_urlhost[:vs_port]/uri_path/[index_page]
Thanks
Selva -
Using Struts Example in IPlanet web Server 6.0
Hai
i am new to struts and i was trying to run the example application shiped along with the binary distribution
in iplanet webserver 6.0.
I have extracted the struts-example.war file in to a folder named strutsexamples under my iplanetdocroot\servers\docs\ Using the
link DeployWebApplications in the admin side of the iplanet application.
By doing the above steps all the example files are extracted in to the folder iplanetdocroot\servers\docs\strutsexamples directory .
Problem 1: when i restarted the server i found the following error in the log file
[06/Apr/2003:19:58:03] info ( 394): successful server startup
[06/Apr/2003:19:58:03] info ( 394): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
[06/Apr/2003:19:58:05] info ( 394): Installing a new configuration
[06/Apr/2003:19:58:05] info ( 394): [LS ls1] http://gdcblr1596.gdcblr, port 80 ready to accept requests
[06/Apr/2003:19:58:05] info ( 394): A new configuration was successfully installed
[06/Apr/2003:19:58:09] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:09] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:10] info ( 394): Adding web application (/diva) at (E:/iPlanet/Servers/docs/diva)
[06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:10] info ( 394): Adding web application (/struts) at (E:/iPlanet/Servers/docs/struts)
[06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:10] info ( 394): Adding web application (/strutsexamples) at (E:/iPlanet/Servers/docs/strutsexamples)
[06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:11] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context = '/strutsexamples'
[06/Apr/2003:19:58:11] info ( 394): action: init
[06/Apr/2003:19:58:13] warning ( 394): vs(https-gdcblr1596.gdcblr)ServletException thrown in servlet.init; context = /strutsexamples, servlet = 'action'; stack tace: javax.servlet.UnavailableException: Parsing error processing resource path
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java, Compiled Code)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java, Compiled Code)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java, Compiled Code)
at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java, Compiled Code)
at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:680)
, root cause:
[06/Apr/2003:19:58:13] info ( 394): Successfully initialized web application environment (web-apps.xml) for virtual server (https-gdcblr1596.gdcblr)
Problem 2: when i was trying to invoke the example by typing http://localhost/strutsexamples/ i am getting only the following errors .
[06/Apr/2003:20:03:17] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context = '/strutsexamples'
[06/Apr/2003:20:03:17] info ( 394): jsp: init
[06/Apr/2003:20:03:18] info ( 394): jsp: init
[06/Apr/2003:20:03:19] failure ( 394): Internal error: servlet service function had thrown ServletException (uri=/strutsexamples/): javax.servlet.ServletException, stack: javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
, root cause: javax.servlet.jsp.JspException
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:975)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
I have read all the FAQ and searched in web also and i am not able to find any answer to my problem .
Kindly if someone knows how to overcome the above problem do reply me to this id .
If any one has got the steps to be done to use struts in IplanetWebServer 6.0 do mail me also .
thanks and regards
Divakar.Renganathan
Associate Consultant
MascotSystems .
Bangalore.Hi,
Were you successful in getting the steps for incorporating struts with iPlanet Web Server 6.0 ?
If so, please email them to me as I am having similar problems.
Thanks
Harinder
[email protected] -
Trying to access the portal server via http://portalserver:port get a
500 error response. Looking at the error logs I find this:
[05/Dec/2001:08:46:34] warning (21789): Unable to locate class:
com.iplanet.portalserver.auth.service.LoginServlet
(java.lang.ClassNotFoundException:
com.iplanet.portalserver.auth.service.LoginServlet)
[05/Dec/2001:08:46:34] warning (21789): Internal error: Failed to get
GenericServlet. (uri=/login,SCRIPT_NAME=/login)
Any thoughts?
-mattFound the problem...
The iPlanet Portal server jars files where not specified in the
webserver's jvm12.conf file.
-matt
Matt MacDonald wrote:
Trying to access the portal server via http://portalserver:port get a
500 error response. Looking at the error logs I find this:
[05/Dec/2001:08:46:34] warning (21789): Unable to locate class:
com.iplanet.portalserver.auth.service.LoginServlet
(java.lang.ClassNotFoundException:
com.iplanet.portalserver.auth.service.LoginServlet)
[05/Dec/2001:08:46:34] warning (21789): Internal error: Failed to get
GenericServlet. (uri=/login,SCRIPT_NAME=/login)
Any thoughts?
-matt -
Has anyone tried to port the Plumtree Corporate Portal v5.0.1 portal server component to iPlanet Enterprise Web Server 6.0 (aka SunONE Web Server, v6.0 )? Plumtree doesn't support this, but I am trying to merge a custom SSO authenticator to the Plumtree portal (v5.0.1). The authenticator runs as a plug-in to SunONE Web Server and has been in place on our customer's web site for a long time now.
I have this working great in with SSL turned off, but I am having a difficult time getting past an error when I turn on SSL. I can get the portal server to run fine with SSL turned on through Tomcat on the same machine, using the same certificate and JRE. I can also get the SunONE server to run other servlet applications fine with SSL turned on. However, there appears to be either: (1) an incompatibility between SunONE's NSServlet plug-in that handles servlets and the Plumtree framework classes that set up replies via SSL, or (2) a configuration error in my setup somewhere. I'm hoping that (2) is the real culprit, but I've tried just about everything I can think of, and haven't been able to resolve this problem.
The server starts up fine and I can load non-portal content without a problem. But when I log in, the portal's main community page that should be returned is not being returned to the client. PTSpy (a debugging aid for the Plumtree portal) doesn't indicate any problems, so I know the content is being built by the portal correctly, but the built page is never being sent back to the requesting client.
Here is the error that gets logged to my SunONE server's error log:
[29/Dec/2003:15:05:53] failure ( 2772): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:793)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:702)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:583)
at java.net.URL.openStream(URL.java:960)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:493)
at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:314)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1097)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:195)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at com.plumtree.openfoundation.xml.dom.XPBuilder.LoadDocumentFromURI(XPBuilder.java:203)
at com.plumtree.xpshared.jsutil.JSRegistry.LookupJSComponentVersions(JSRegistry.java:243)
at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponentVersions(JSRegistry.java:184)
at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:465)
at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:444)
at com.plumtree.uiinfrastructure.statichelpers.ConfigHelper.GetCommonJSIncludes(ConfigHelper.java:1330)
at com.plumtree.uiinfrastructure.form.AFormAS.DisplayCommonJavaScript(AFormAS.java:59)
at com.plumtree.portalpages.common.uiparts.PlumtreeAS.DisplayCommonJavaScript(PlumtreeAS.java:88)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayHead(PlumtreeDP.java:599)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:112)
at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.ProcessDisplayPageOrRedirect(Interpreter.java:816)
at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.HandleRequest(Interpreter.java:1589)
at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.DoService(Interpreter.java:448)
at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)It looks like a Java classpath issue, but I've verified (even in the same log file with java debugging turned on) that the SSLSocket class is getting loaded. I've even tried moving the specification of the jar file containing this class (jsse.jar, part of the JRE) to the beginning and end of my classpath setting.
I'm using the same JRE that is bundled with the Tomcat release supplied with my Plumtree 5.0.1 installation (1.4.1_02). I can't get the JRE that came bundled with the SunONE v6.0 release to work at all.
I've posted a similar message on a couple other forums (Java and iPlanet-related, as well as on Plumtree's customer forum) and haven't found an answer yet. Does anyone have any ideas?In case anyone else experiences this, I have apparently stumbled upon an issue with iPlanet's handling a specified JRE/JDK instead of the supplied JDK in iPlanet Web Server v6.0, SP5, though I found a way around it to resolve my problem.
I had been specifying a different JRE to run with through the administrative server manager. However, even though I was specifying to load all the JRE's jar files in my classpath setting, iPlanet was only loading the rt.jar file for my specified JRE. With verbose logging turned on, the error log was indicating that the other classpath specified jar files were being loaded, but apparently they were not being used. The JDK that was released with iPlanet appears to be being used for all other JRE classes outside of those defined in rt.jar. Since the JDK supplied with the iPlanet release didn't contain jsse.jar, which contains SSL support, it was not being loaded and was causing the problem I was seeing.
Instead of specifying the JRE of a different JDK that I was using, I changed the global setting in the administrative server manager to override the entire JDK. This has resolved my problem.
So if you specify a JRE to override the iPlanet supplied JDK/JRE, it appears that only the rt.jar file of the specified JRE will be loaded, and the jar files associated with the iPlanet-supplied JRE will be used for all other classes. Specification of a complete JDK to override the supplied one will resolve this. -
We are the partner of Sun Developer Connection Program.
Company: ITI Ltd.
Member no: 1024878
We tried to install iPlanet Web Server ver 6.0
Service Pack 3, in Sun Ultra10 Solaris 5.8 machine.
During the time of installation it is giving Error:
Failure installing iPlanet Administration Server
Do you want to continue? if Yes
it starts poceeding with the installation and again gives an Error:
Failure installing Core Java Classes.
Do you want to continue? if Yes
It completes the installation.
But startconsole cannot be executed.
Please send the solution.May I ask where did you get the bits for iWS 6.0 SP3? The latest version currently available for download is iWS 6.0 SP2.
http://wwws.sun.com/software/download/download/
Thanks -
Calling servlet problem in iPlanet web server.
Hello, friends.
I have installed iPlanet web server 6.0. After installation I am using the default virtual server only. Thus, for all testing pages also, I use the default Document Root only (C:\iplanet\servers\docs\testsite) (I think, here "docs" is the default document root, right? If I am wrong, please correct me). I have got 2 JSP pages and 1 servlet. I put the JSP pages, into "testsite" folder and put the servlet into a folder called "myservlets" (C:iplanet\servers\docs\myservlets).
The jsp1.jsp page calls the servlet.class and in return the servlet redirects to jsp2.jsp page.
My question is: what paths should I use in jsp1.jsp file and in servlet.class file?
Thanks in Advance for all your help,
~ NiravThere is a major security breach in authenticating
iPlanet Web Server 6.0 SP3 and SP4 using Sun ONE
Directory Server. Using a valid user id, any
password except null string would allow user access
the restricted resources. iPlanet Web Server 6.0 SP5
and 4.1 SP12 worked fine with similar configuration.Did you get an answer for this?
We are having the exact same problems with our iPlanet Web server 6.0 SP3.
thank you. -
Error: Unable to find class for bean
Dear all,
please help help with the problem
i've a jsp as follows:
<@page import="java.util.*, com.abc.*" %>
<jsp:useBean id="mybean" class="MyClass" />
<% out.println("Testing bean"); %>
where MyClass.class is located WEB-INF/classes/com/abc/MyClass.class
it works fine in Oracle iAS with oc4j 1.0.2.1.1 (not 9iAS R2)
when i upgrade to 9iAS R2 with oc4j 9.0.3
it's complaining the error of
OracleJSP: oracle.jsp.parse.JspParseException: Line # 8, <jsp:useBean id="mybean" class="MyClass" />
Error: Unable to find class for bean: mybean defined by tag with class: MyClass
then i changed the line <jsp:useBean....> to
<jsp:useBean id="mybean" class="com.abc.MyClass" />
it didn't complain the error
anyone know that the syntax of specifying class must be coded as package.xxx.xxx etc?
Thank you very muchYou should specify the fully qualified class name (i.e. with package structure) in the class attribute of useBean tag.
Read the syntax of useBean tag here
http://java.sun.com/products/jsp/syntax/1.1/syntaxref1115.html
Chandar -
Integrating iPlanet Web Server 6.0 with SunOne App Server 7.0
I am experiencing problems integrating iPlanet Web Server 6.0 with SunOne App Server 7.0
My magnus.conf is
#ServerRoot /usr/iplanet/servers/https-test
ServerID https-test
ServerName sulev016.eur.gep.ge.com
ErrorLog /usr/iplanet/servers/https-test/logs/errors
PidLog /usr/iplanet/servers/https-test/logs/pid
User root
MtaHost localhost
DNS off
Security off
ClientLanguage en
AdminLanguage en
DefaultLanguage en
RqThrottle 128
StackSize 131072
CGIWaitPid on
TempDir /tmp/https-test-ab0d7966
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn=load-types mime-types=mime.types
Init fn="load-modules" shlib="/usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
Init fn="NSServletEarlyInit" EarlyInit=yes
Init fn="NSServletLateInit" LateInit=yes
Init fn="load-modules" shlib="/usr/iplanet/servers/plugins/passthrough/bin/libpassthrough.so" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
Init fn="init-passthrough"
==========================================
my obj.conf is
<Object name=default>
NameTrans fn="assign-name" from="(/OMS|/OMS/*)" name="passthrough"
NameTrans fn="NSServletNameTrans" name="servlet"
NameTrans fn="pfx2dir" from="/servlet" dir="/usr/iplanet/servers/docs/servlet" name="ServletByExt"
NameTrans fn=pfx2dir from=/mc-icons dir="/usr/iplanet/servers/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/manual" dir="/usr/iplanet/servers/manual/https" 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"
ObjectType fn=type-by-extension
ObjectType fn=force-type type=text/plain
Service type="magnus-internal/jsp" fn="NSServletService"
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) type=*~magnus-internal/* fn=send-file
AddLog fn=flex-log name="access"
</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="servlet">
ObjectType fn=force-type type=text/html
Service fn="NSServletService"
</Object>
<Object name="jsp092">
ObjectType fn="type-by-extension"
ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
Service fn="NSServletService" type="magnus-internal/jsp092"
</Object>
<Object name="ServletByExt">
ObjectType fn=force-type type=magnus-internal/servlet
Service type="magnus-internal/servlet" fn="NSServletService"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
<Object name="passthrough">
ObjectType fn="force-type" type="magnus-internal/passthrough" Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://3.224.68.131:81"
Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
</Object>
The requests are not passing through to the app server when i try to access it through port 80.
Presently I am testing my appln over port 81 on the app server.
Thanks and Regards
Vineet GulianiEach ObjectType and Service directive should begin on a new line. You appear to have placed two directives on a single line.
Maybe you are looking for
-
Add attachments using workflow api throwing error
Hi, I am getting the following error when i am trying to add attachments using worklist API. Missing class: invokeBPEL.MetaData Dependent class: com.evermind.io.ClassLoaderObjectInputStream Loader: oc4j:10.1.3 Code-Source: /D:/pro
-
Back up from iPhone 4 to iPhone 5 not working
Hi Guys, I have been using an iPhone 4, doing regular backups. My son bought me a iPhone 5 and I did a restore from iTunes as I need the text messages from the iPhone 4. I have now done a complete restore on the iPhone 5 as every time I restore a bac
-
Hello all, Can you please help me out a little bit on bin packing problem? I have a jpanel and i want to divide its space in order to put rectangles but having in mind that i have to take advantage of all the empty space provided by the jpanel thnx,
-
Reward Certificates And Pre Order Cancel
Hello. I previously pre ordered Evolve using a 10 dollar reward certificate. I hardly cancel pre orders so this has never happened to me. I was wondering if I canceled it would I lose the 10 dollar reward certifcate? I pre ordered it awhile back so I
-
for example I want to go on the full version of the twitter.com but I can't, it redirects me on the mobile version.