JServ servlet zone
Hi,
I cannot create a new zone for my servlet-application. Before we migrated to 9iAS the servlets/zones were working fine, but after migration to 9iAS, they don't work anymore.
The standard IsItWorking servlet is working OK. I double-checked all the config files and they are fine.
In the mod_jserv.log, I've got the following error:
(ERROR) ajp12: Servlet Error: Servlet zone "test" not found.
Before this error, the log file has the following lines:
(ERROR) an error returned initializing protocol "wrapper"
(ERROR) in init all protocols "wrapper" returned an error
(EMERGENCY) Error initializing protocols
These errors are probably causing the problem, but I've got no idea where they come from. I did not change the jserv config files except for the changes needed for a new servlet zone.
Does anyone have an idea what's going wrong? Any help is very much appreciated!
Regards, Peter
null
Hi,
it lookst to me that you have entered a 'zone' test in you jserv.conf file. Have a look at entries starting with ApJServMount.
The ApJServMount tells you which URI redirects to which 'zone'. The zone is built as follows:
protocol://host:port/zone
My guess is there is a zone called test in your jserv.conf file.
Now JServ will look in the jserv.properties file to see which properties file belongs to the zone. See the entries starting with zones in the jserv.properties file. This should contain the test zone. In the same file there is also a redirection to a properties file for the specified zone using an entry starting with <zonename>.properties.
If you can not solve your problem using these hints, you can consider turning on debuging in jserv.conf by changing the line:
ApJServLogLevel info
to:
ApJServLogLevel debug
Hope this helps you solve the problem,
Kind regards,
Frank van der Borden
Oracle Support Services
Netherlands
null
Similar Messages
-
IAS JServ (servlet) configuration problem
I hava a very simple servlet that calls request.getSession() method. It runs OK from JDeveloper environment, but on iAS I get an Internal Server Error.
error_log shows:
java.lang.NoSuchMethodError: javax.servlet.http.HttpSession javax.servlet.http.HttpServletRequest.getSession()
void org.apache.jserv.JServConnection.run()
void java.lang.Thread.run()
My jserv.properties file has
# Oracle Servlet
wrapper.classpath=c:\oracle\ias\jsp\lib\servlet22.jar
What am I missing?
Thanks a lot...
Glenn
nullHi TechnoSam,
The problem here is, you are not following the correct directory structure.
consider your webapplication is placed in a directory called $TOMCAT_HOME$/webapps/TechnoSamAPP
by default the default context will be $TOMCAT_HOME$/webapps/ROOT
If you want to have your own context, create a directory in webapps like
if you have created a directory Example: TechnoSamAPP
it will become a Web Application Context and which expects a <Context> entry in server.xml file.
You can copy all your files in to this directory by follwoing the directory structure mentioned in the servlet spec SRV.9.5.
You need to place all static resources(*.html, *.jpg, *.gif, *.js, *.css) in this context root directory
i.e.,
/webapps/TechnoSamAPP
� The /webapps/TechnoSamAPP/WEB-INF/web.xml deployment descriptor.
� The /webapps/TechnoSamAPP/WEB-INF/classes/ directory for servlet and utility classes. The classes in this directory must be available to the application class loader.
� The /webapps/TechnoSamAPP/WEB-INF/lib/*.jar area for Java ARchive files. These files contain
servlets, beans, and other utility classes useful to the web application. The web application class loader must be able to load classes from any of these archive files.
The web application classloader must load classes from the WEB-INF/ classes
directory first, and then from library JARs in the WEB-INF/lib directory.
Hence place all your static files (which are accessible for public) into the Context's root directory rather than Tomcat/bin.
Place all servlets in to /WEB_INF/classes which will be accessed by Servlet Container.
Thanks,
Sanath Kumar -
EOM
Balaji,
vpd.properties file is created by installshield embedded in siebel installers, other software that also uses installshield may also use the same vpd.properties. Good practice is to take backups after/before each siebel installation, including patch install. Doc ID 476955.1 in support.oracle.com has some information about this file.
Hope it helps,
Wilson -
How Do you Edit the Zone Properties
I am trying to edit the Zone Properties for my custom portlet. However I can't find the variables (Servlet Aliases and Aliased Servlet Init Parameters ) in the zone.properties file. Can you please explain? I am using Oracle 9iAs and Oracle Portal 3.08.
Michael,
Just to clear up what you should be looking at - the zone.properties file is located at:
$IAS_INSTALL_DIR/Apache/Jserv/servlets/zone.properties
This file is simple a text file containing directives understood by the Jserv process.
An 'out of the box' zone.properties file will probably contain lots of instructional comments (which start with the # sign).
Look for sections like this...
# Servlet Aliases
# Aliased Servlet Init Parameters
If, for some reason, your file does not contain these comments just go to the end of the file and add the required lines (see the JPDK install doc on OTN). It does not matter where in the file you add these lines, they will be parsed nonetheless.
Hope this helps,
Regards,
Gareth -
404 File Not Found error following 1.0.2.2.1 migration
I am on RDBMS 8.1.7.1.1 on Windows NT 2000 Server.
I attempted to migrate from 9iAS 1.0.2.1 Portal 3.0.8 to 9iAS
1.0.2.2.1 Portal 3.0.8.
There were not any errors in the migration logs.
When I attempt to test the Apache/Jserv the 'Is It Working'
appears. When I attempt to test the mod_plsql I can get to the
login/password screen and into the gateway administration but
when I click the home link I receive the Http: 404 File Not
Found.
The mod_jserv logs:
[01/12/2001 18:58:08:410] (ERROR) ajp12: Servlet Error:
NoClassDefFoundError: oracle.webdb.page.ParallelServlet
In the portal_home/apache/jserv/servlets/zone.promperties file:
servlet.page.code=oracle.webdb.page.ParallelServlet
Here are my upgrade steps:
From Rdbms 8.1.7 to Rdbms 8.1.7.1.1
From 9iAS 1.0.2.1 to 9iAS 1.0.2.2.1
From Portal 3.0.8 to Portal 3.0.9
1) Rdbms 8.1.7
2) Set systemtrig_enable=FALSE in init.ora
3) Install patchset 1711240 for 8.1.7.1.1
4) Execute $oracle_home/rdbms/admin/catalog.sql &
catproc.sql scripts
5) Set systemtrig_enable=TRUE in init.ora
6) Execute the 9iAS 1.0.2.2.1 installation. An upgrade will
take place.
7) Stop the Apache HTTP Service
8) In referencing the 9iAS Migration Guide A90222-01
Section 5.2 Common Configuration Files:
Edit the $portal30_home/apache/jserv/conf/jserv.properties so
that it
Contains one occurrence of the following lines:
# Oracle Portal
wrapper.classpath=E:\portal30\portal30\bibeans\jewt-opt-4_1_2.zip
wrapper.classpath=E:\portal30\portal30\bibeans\share-opt-
1_1_7.zip
wrapper.classpath=E:\portal30\portal30\bibeans\utility.jar
wrapper.classpath=E:\portal30\portal30\bibeans\utilitygui.jar
wrapper.classpath=E:\portal30\portal30\bibeans\utilitypersist.jar
wrapper.classpath=E:\portal30\portal30\bibeans\utilityxml.jar
wrapper.classpath=E:\portal30\portal30\bibeans\swingall.jar
wrapper.classpath=E:\portal30\portal30\bibeans\graph.jar
wrapper.classpath=E:\portal30\portal30\bibeans\graphgui.jar
wrapper.classpath=E:\portal30\portal30\bibeans\LW_PfjBean.jar
wrapper.classpath=E:\portal30\portal30\bibeans\bivisbeans.jar
wrapper.classpath=E:\portal30\lib\http_client.jar
wrapper.classpath=E:\portal30\jlib\javax-ssl-1_2.jar
wrapper.classpath=E:\portal30\jlib\jssl-1_2.jar
wrapper.env=WV_GATEWAY_CFG=E:\portal30
\Apache\modplsql\cfg\wdbsvr.app
9) In referencing the 9iAS Migration Guide A90222-01
Section 5.2 Common Configuration Files:
Edit the $portal30_home/apache/jserv/conf/jserv.properties so
that it
Contains one occurrence of the following lines:
# Oracle BC4J
wrapper.classpath=E:\portal30\Apache\BC4J\lib\ordim817.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\ordvir817.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\ordhttp.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jndi.jar
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jbomt.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\javax_ejb.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jdev-rt.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jbohtml.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jboremote.zip
wrapper.classpath=E:\portal30
\Apache\BC4J\lib\connectionmanager.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jbodomorcl.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jboimdomains.zip
wrapper.classpath=E:\portal30\Apache\BC4J\lib\jboorasql.zip
wrapper.classpath=E:\portal30
\Apache\Apache\htdocs\onlineorders_html
#wrapper.classpath=E:\portal30
\Apache\Apache\htdocs\OnlineOrders_html\OnlineOrders.jar
9) In referencing the 9iAS Migration Guide A90222-01
Section 5.2 Common Configuration Files:
Edit the $portal30_home/apache/jservlets/zone.properties and
Remove the following line:
repositories=E:\portal30\Apache\Jserv\servlets\Parallel.jar
10) In referencing the 9iAS Migration Guide A90222-01
Section 5.2 Common Configuration Files:
Edit the $portal30_home/apache/jservlets/zone.properties and
Remove duplicates of the following line:
servlet.page.code=oracle.webdb.page.ParallelServlet
11) In referencing the 9iAS 1.0.2.2.1 Release Notes A92199-01
Section 1.5.4.1.4
Edit the $portal30_home/apache/jservlets/zone.properties and
Remove duplicates of the following lines:
repositories=E:\portal30\Apache\Jserv\servlets\Parallel.jar
(this line is actually removed completed per step 9)
repositories=E:\portal30\Apache\Jserv\servlets\ChartServlet.jar
repositories=E:\portal30\Apache\Jserv\servlets\AppLoader.jar
servlet.chart.code=oracle.webdb.chart.ChartServlet
servlet.apploader.code=oracle.webdb.apploader.AppLoaderServlet
servlet.ojsp.code=oracle.jsp.JspServlet
servlet.ojsp.initArgs=alias_translation=false
12) In referencing the 9iAS 1.0.2.2.1 Release Notes A92199-01
Section 1.5.1.36
Edit the $portal30_home/apache/jserv/conf/jserv.config
Insert:
# PTG 1.1.1 Begin
ApJservGroupMount /ptg balance://group1/root
# PTG 1.1.1 End
13) In referencing the 9iAS 1.0.2.2.1 Release Notes A92199-01
Section 1.5.2.9
Edit the $portal30_home/apache/apache/conf/httpd.config
Add the following directive:
Alias /soapdocs/ “c:/portal30/soap/”
14) Start the Apache HTTP serviceIn the web.xml you mapped the HelloServlet to the
/sampleapp url so you should call the servlet with the
url:
http://localhost:8080/<webapp>/sampleapp
The directory structure of sampleapp is as follows,
e:\sampleapp\WEB-INF\classes\
WEB-INF\lib
WEB-INF\sourcefiles
WEB-INF\web.xml
I dont have a webapp folder in my directory at all.
<servlet-mapping>
<servlet-name>HelloServlet</servlet-name>
<url-pattern>/sampleapp</url-pattern>
</servlet-mapping>As the below lines would suggest -
How to configure a second apache instance on the same machine?
Hello,
We are in the process of migrating our client server application to web. We are using 9iAS (release 1), forms and reports 6i.
We installed 9iAS (Rel. 1) on Solaris platform. This instillation is our development platform. We need to create a second instance on the same Solaris box. What steps are to be taken to create this new instance on the same box?
Any pointers or documentation are appreciated.
Thanks in advance.
Arun.You can create a 2nd service and copy all config files involved and change the contents of the files. E.g. create httpd_2.conf etc. etc. You will find that this is an endless process.
What I usually do is create another Oracle 9iAS home (iSuites only). The installer automatically assigns a new port number and creates new config files.
You do not have to install a 2nd Developer home. Instead, create a second environment file, e.g. (paths are clearly for Windows in my example):
<ORACLE_Dev6i_HOME>\Forms60\Server\Apptest2.env
Edit <ORACLE_9iAS_HOME>\Apache\Jserv\Servlets\zone.properties and add the following lines:
servlet.oracle.forms.servlet.ListenerServlet.initArgs=EnvFile=D:\Oracle\Dev6i\forms60\server\default.env
servlet.servletApptest2.code=oracle.forms.servlet.ListenerServlet
servlet.servletApptest2.initArgs=EnvFile=D:\Oracle\Dev6i\forms60\server\Apptest2.env
The alias �servletApptest2� is used in the serverURL parameter in the startup html file.
Do something similar for Reports server. Create a 2nd Reports service and add this services to tnsnames.ora with a different port, e.g.
RepserverTST2,RepserverTST2.world=(ADDRESS=(PROTOCOL=tcp)(HOST=myhost)(PORT=1951)) -
Hi,
I've been trying out the provider test tool available on the portalstudio/pdk home page.
When I run the tool, all it returns is an incomplete html page:
<HTML>
<head>
<meta name="Author" content="Binod Gupta">
</head>
<body>
<table BORDER=1 WIDTH="100%" >
<caption> </caption>
It does this even when I test the sample providers, which leads me to conclude that the problem is not caused by any bugs which may exist within my provider.
When I look in my oc4j http-web-access.log, I can see that the test tool did send a request, and that the response code was 200:
<ip address removed> - - [15/Apr/2004:12:15:17 +1000] "GET /servlet/testProvider?providerurl=http%3A%2F%2F<server name removed>%3A7779%2Fforum%2Fproviders%2Fforum&startportlet=1&endportlet=2 HTTP/1.0" 200 151
Has anyone seen this problem before?
thanks,
MichaelI have the same problem
1. Ive stopped all the service
2. Ive added the following entry in C:\ora9ias\j2ee\home\default-web-app\WEB-INF\web.xml(Ive installed Oracle 9i AS in C:\ora9ias)
<servlet>
<servlet-name>testProvider</servlet-name>
<servlet-class>testProvider</servlet-class>
</servlet>
3 Ive copied the following jar files in C:\ora9ias\j2ee\home/lib
* prohttp.jar
* testProvider.jar
4. Ive added the following repositories in C:\ora9ias\Apache\Jserv\servlets\zone.properties
repositories=C:\ora9ias\Apache\Jserv\servlets\prohttp.jar
repositories=C:\ora9ias\Apache\Jserv\servlets\testProvider.jar
servlet.testProvider.code=testProvider
5. Ive copied the following jar files in C:\ora9ias\Apache/Jserv/servlets
* prohttp.jar
* testProvider.jar
6. Ive restalled all the service
7. When I goto http://hostname:port/servlet/testProvider, there is a error: impossible find the page and http 404 file not find
Thanks for your help! -
Setting session timeout in servlet API 2.0 - based JSP (Apache/JServ)
I'm using Apache/JServ (servlet API 2.0) to run JSPs. At present, a session becomes invalid after 30 minutes of inactivity. How can I increase or decrease this time?
Thanks.You can set by using this command in JSP or servlet
session.setMaxInactiveInterval(1800);
replace 1800 (this is in seconds) with the number you want
Suresh -
Session Sharing between Portal and Baja servlet(UIX)
Hi guys,
I'm having real trouble trying to share a portal session with an external servlet session, in order to enable some file upload functionality. I found an older post (Re: cannot do a select on a table which mentioned a couple of pre-reqs for doing this, but they don't seem to work. I've enabled the the "Same Cookie Domain" checkbox. On checking the cookie values generated by portal, i noticed that none of them have a domain value:
Cookie name :ORA_DG2 cookie//domain : null//cooki val :mrlMP%2F8%2FMP%2F8
Cookie name :ORA_UCM_VER//cookie domain : null//cookie val :%2FMP%2F8pgqfg%2Cl_w_p%3Emp_ajc%2CamkMP%2F8neode*j%5Du%5Dn%3Ckn%5D_ha*_kiMP%2F80.3%2C005%2C21%2C%2F1MP%2F8.%2C1*..3*0%2F*-%2F
I tried setting my own cookie, but when I forward the request from portal to my (external) UIX servlet, a new session is created and all cookies are lost.
Dev env: ias102222, Jserv, with Portal 3.0.9.8
Any help will be much appreciated, I'm pretty much stuck on this one. The old post also mentioned a document to read (" See documents on session handling and Integrating Password Protected Applications into Oracle Portal - downloadable from portalstudio.oracle.com. "), but I've spent quite some time looking around on portalstudio, and haven't found it.
thanks,
rishiHi,
As you suggested, I took the issue up with the Cabo team, and the conclusion seems to be that either it may be a jserv bug, or something to do with JPDK. the UIX redirection code simply uses HttpServletResponse.sendRedirectURL()) for doing its work.
Sorry about the long post, thought I'd give some more info about what i'm seeing. I hope I'm doing everythng that is needed for session mgmt in PDK. I've got the "Once Per Session" box and "Same Cookie Domain" boxes checked. This is what the jserv.log looks like :
[01/05/2002 15:59:36:093 PDT] oracle.osf.UixServlet/Event = null
[01/05/2002 15:59:36:093 PDT] oracle.osf.UixServlet/Parameter portalid=24935
[01/05/2002 15:59:36:109 PDT] oracle.osf.UixServlet/Parameter [email protected]
I assume that the 'oracle.osf.UixServlet' above indicates the servlet zone, in which case the portlet UIX and the second UIX are both in the same zone. One thing i notice is that the domain cookie is always null. do it need to be explicitly set in order to have the correct value?
Here's the log from the time the first page is accessed, to the stuff printed out during the redirect. Note that 'sessid' changes after the redirect(revelent lines below are marked between '------'):
[02/05/2002 13:06:08:062 PDT] oracle.osf.UixServlet/Prov Msg : PortletPageBroker: ***********************************************************
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Requested page = Page[name=selfserv/reqUpload]
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Event = reqUpload.upload
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter rendermode=6
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter _portletid=20
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter _border=0
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter _action=showPortlet
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter [email protected]
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter authlevel=10
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter providerid=249353600001
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter backurl=http://dragon2-nt.us.oracle.com/servlet/page?pageid=553,555&_dad=portal30&_schema=PORTAL30
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter backurl=http://dragon2-nt.us.oracle.com/servlet/page?_pageid=553,555&_dad=portal30&_schema=PORTAL30
26_portletid%3D20%26_referencepath%3D938_PROCESS_2493536%26_backurl%3Dhttp%253A%252F%252Fdragon2-nt.us.oracle.com%252Fservlet%252Fpage%253F_pageid%253D553%252C555%2526_dad%253Dportal30%2526_schema%253DPORTAL30%26_mode%3D6%26_title%3DProcess%2524bjSt%253Dadb2b61d
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter 249353600001.20.938_PROCESS_2493536.next_page=reqUpload
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter [email protected]
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter portletid=20
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter _title=Process$bjSt=adb2b61d
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter [email protected]
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter _providerid=2493536
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter _logintime=2002-05-02-12:47:04
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter pageurl=http://dragon2-nt.us.oracle.com/servlet/page?_dad=portal30&_schema=PORTAL30&_type=portlet&_providerid=2493536&_portletid=20&_referencepath=938_PROCESS_2493536&_backurl=http%3A%2F%2Fdragon2-nt.us.oracle.com%2Fservlet%2Fpage%3F_pageid%3D553%2C555%26_dad%3Dportal30%26_schema%3DPORTAL30&_mode=6&_title=Process%24bjSt%3Dadb2b61d
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter portalid=24935
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter loginurl=https://dragon2-nt.us.oracle.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.fapp_process_login?p_app_id=
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter _type=portlet
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter instancename=938_PROCESS_2493536
[02/05/2002 13:06:14:250 PDT] oracle.osf.UixServlet/Parameter referencepath=938PROCESS_2493536
[02/05/2002 13:06:14:265 PDT] oracle.osf.UixServlet/Parameter hastitle=0
[02/05/2002 13:06:14:265 PDT] oracle.osf.UixServlet/Prov Msg : SelfServPageFlowEngine: SourcePage: selfserv/reqUpload
[02/05/2002 13:06:14:265 PDT] oracle.osf.UixServlet/Prov Msg : SelfServPageFlowEngine: getPage: redirectURL
[02/05/2002 13:06:14:265 PDT] oracle.osf.UixServlet/Prov Msg : SelfServPageFlowEngine: getPage sessid =7t9gjv18w1.qQvvsA5H/BjN/AXMmkbGngTxpQOUp6XxmkLCpRbOcxeRc3y-
[02/05/2002 13:06:14:265 PDT] oracle.osf.UixServlet/Rendering page = Page[name=redirectURL,state=cf6605c5,url=http://shazam.us.oracle.com:7778/servlet/oracle.osf.UixServlet/selfserv/requploadFile?accountId=9&sesid=7t9gjv18w1.qQvvsA5H/BjN/AXMmkbGngTxpQOUp6XxmkLCpRbOcxeRc3y-,islog=event=reqUpload.upload&_render_mode=6&_portletid=20&_border=0&_action=showPortlet&[email protected]&_auth_level=10&_provider_id=249353600001&_backurl=http://dragon2-nt.us.oracle.com/servlet/page?_pageid=553,555&_dad=portal30&_schema=PORTAL30&_back_url=http://dragon2-nt.us.oracle.com/servlet/page?_pageid=553,555&_dad=portal30&_schema=PORTAL30&_design_url=http://dragon2-nt.us.oracle.com/servlet/page?_dad=portal30&_schema=PORTAL30&_type=portlet&_providerid=2493536&_portletid=20&_referencepath=938_PROCESS_2493536&_backurl=http%3A%2F%2Fdragon2-nt.us.oracle.com%2Fservlet%2Fpage%3F_dad%3Dportal30%26_schema%3DPORTAL30%26_type%3Dportlet%26_providerid%3D2493536%26_portletid%3D20%26_referencepath%3D938_PROCESS_2493536%26_backurl%3Dhttp%253A%252F%252Fdragon2-nt.us.oracle.com%252Fservlet%252Fpage%253F_pageid%253D553%252C555%2526_dad%253Dportal30%2526_schema%253DPORTAL30%26_mode%3D6%26_title%3DProcess%2524bjSt%253Dadb2b61d&249353600001.20.938_PROCESS_2493536.next_page=reqUpload&[email protected]&_portlet_id=20&_title=Process$bjSt=adb2b61d&[email protected]&_providerid=2493536&_logintime=2002-05-02-12:47:04&_page_url=http://dragon2-nt.us.oracle.com/servlet/page?_dad=portal30&_schema=PORTAL30&_type=portlet&_providerid=2493536&_portletid=20&_referencepath=938_PROCESS_2493536&_backurl=http%3A%2F%2Fdragon2-nt.us.oracle.com%2Fservlet%2Fpage%3F_pageid%3D553%2C555%26_dad%3Dportal30%26_schema%3DPORTAL30&_mode=6&_title=Process%24bjSt%3Dadb2b61d&_portal_id=24935&_login_url=https://dragon2-nt.us.oracle.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.fapp_process_login?p_app_id=&_type=portlet&_instance_name=938_PROCESS_2493536&_referencepath=938_PROCESS_2493536&_has_title=0,islogged=true]
[02/05/2002 13:06:14:281 PDT] oracle.osf.UixServlet/Prov Msg : PortletPageBroker: PageName=redirectURL
[02/05/2002 13:06:14:281 PDT] oracle.osf.UixServlet/Prov Msg : PortletPageBroker: ***********************************************************
[02/05/2002 13:06:23:031 PDT] oracle.osf.UixServlet/Requested page = Page[name=selfserv/requploadFile]
[02/05/2002 13:06:23:031 PDT] oracle.osf.UixServlet/Event = null
[02/05/2002 13:06:23:031 PDT] oracle.osf.UixServlet/Parameter accountId=9
[02/05/2002 13:06:23:031 PDT] oracle.osf.UixServlet/Parameter sesid=7t9gjv18w1.qQvvsA5H/BjN/AXMmkbGngTxpQOUp6XxmkLCpRbOcxeRc3y-
[02/05/2002 13:06:23:078 PDT] oracle.osf.UixServlet/Prov Msg : SelfServPageFlowEngine: SourcePage: selfserv/requploadFile
getPage: selfserv/Login
[02/05/2002 13:06:23:078 PDT] oracle.osf.UixServlet/Prov Msg : SelfServPageFlowEngine: bc is oracle.cabo.servlet.BaseBajaContext@e1381b00
[02/05/2002 13:06:23:078 PDT] oracle.osf.UixServlet/Prov Msg : SelfServPageFlowEngine: getPage sessid =8cuavt19b1.qQvvsA5H/BjN/AXMmkbGngTxpQOUp6XxmkLCpRbOcxeRc3y-
Again, i don't know how helpful this log is, but any pointers would be much appreciated.
rishi -
Hi,
I have a servlet called Fileupdown.class that I have placed in the Apache/Jserv/servlets directory. When I call it from outside of Portals it works fine. I have made it into a Portlet by:
1) adding to the zone.properties file the following:
servlet.Fileupdown.code=oracle.portal.provider.v1.http.HttpProvider
servlet.Fileupdown.initArgs=provider_root=D:\providers\fileupdown, sessiontimeout=1800000, debuglevel=1.
2) creating the following provider.xml file and placing it in D:\providers\Fileupdown:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?providerDefinition version="2.0"?>
<!DOCTYPE provider [
<!ENTITY virtualRoot "/servlets/">
<!ENTITY physicalRoot "D:\Oracle\iSuites\Apache\Jserv\servlets">
]>
<provider class="oracle.portal.provider.v1.http.DefaultProvider">
<session>true</session>
<useOldStyleHeaders>false</useOldStyleHeaders>
<portlet class="oracle.portal.provider.v1.http.DefaultPortlet">
<id>1</id>
<name>Fileupdown</name>
<title>Fileupdown</title>
<description>Fileupdown Portlet</description>
<timeout>30</timeout>
<timeoutMessage>FileUpdown timed out</timeoutMessage>
<acceptContentType>text/html</acceptContentType>
<showEdit>false</showEdit>
<showEditToPublic>false</showEditToPublic>
<showEditDefault>false</showEditDefault>
<showPreview>false</showPreview>
<showDetails>false</showDetails>
<hasHelp>false</hasHelp>
<hasAbout>false</hasAbout>
<renderer class="oracle.portal.provider.v1.RenderManager">
<appPath>/servlets</appPath>
<appRoot>D:\Oracle\iSuites\Apache\Jserv\servlets</appRoot>
<contentType>text/html</contentType>
<charSet>UTF-8</charSet>
<renderContainer>true</renderContainer>
<renderCustomize>false</renderCustomize>
<showPage class="oracle.portal.provider.v1.http.Servlet20Renderer">
<servletClass>Fileupdown</servletClass>
</showPage>
</renderer>
<personalizationManager class="oracle.portal.provider.v1.FilePersonalizationManager" >
<dataClass>oracle.portal.provider.v1.NameValuePersonalizationObject</dataClass>
</personalizationManager>
</portlet>
</provider>
3) I registered the provider with Portal and place the portlet on a page. When I view the Portlet I am getting the providers test page appearing in the portlet.
What else do I need to do or what am I doing wrong?
Thanks for any help you can provide.
JAS
nullThere are a few differences between a servlet that runs on its own (in stand-alone mode), and a servlet that runs as a portlet.
Some of the changes you need to make to your original servlet: parameter passing, session handling, styles (CSS).
At the same time there are a number of services that the portal provides you: user management, security, caching, etc.
Peter -
I use the BC4J technology and I have the following problem:
I deploy a project and I declare the classpath in the Jserv properties file. Everything works perferctly. But when I deploy another application which has a different connection to the database I declare a different classpath in the Jserv properties file (under the first), it always takes the connection of the first declaration. If I change the order in the Jserv file then the first project works but the second no.
Does anybody know how I can solve this problem?
thanks in advanced
AntoniosI think, you could create new servlet zone. Then you may specify different .properties file for each zone.
See your JServ documentation for details how to do this. -
How do I get 9ias to recognize my servlets?
Hi,
How do I get my 9ias to recognize my servlets? I have modifed my jserv.properties to define the location of my properties file :
# Configuration file for each servlet zone (one per servlet zone)
# Syntax: [servlet zone name as on the zones list].properties=[full path to configFile] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
root.properties=/opt/app/oracle/product/9i/Apache/Jserv/etc/zone.properties
cmedia.properties=/opt/app/oracle/product/9i/Apache/Jserv/etc/cmedia.properties
Modified jserv.conf to mount my servlets:
ApJServMount /servlets /root
ApJServMount /servlet /root
ApJServMount /cmedia/servlets ajpv11://cmprod.md.essd.northgrum.com/cmedia
And created a zone properties file specifing the location of my repositories
repositories=/usr2/local/cmedia/servlets
What else do I have to do to get Apache/Jserv to recognize my servlets?
Is it necessary to stop/start apache/jserv for this to happen?
ArtIf these are new Servlets, check to make sure they are Jservlet Spec 2.0 and below. Any servlet developed in Jdev 3.2 will not work on iAS 1.0.x. If your servlet sticks to spec 2.0 and you are using iAS 1.0.2.2, you must use ApJServGroupMount rather than *Mount as 1022 has some new jserv balancing built in.
-
IFS very slow and giving error message in jserv.log
Getting the error message in jserv.log
=public
[05/06/2001 08:08:51:181] (EMERGENCY) ajp12[1]: cannot scan servlet headers (50
0)
[05/06/2001 08:08:51:182] (ERROR) an error returned handling request via protoco
l "ajpv12"
I have tried changing a lot of stuff in both the jserv.properties, jserv.conf, zone.properties and in IFS configuration files .If possible, connect to your router with Ethernet and turn off Wi-Fi. Any difference?
-
UNIX: problem running an DEV & QA environment using form/report servlets
UNIX: problem running an DEV & QA environment using form/report servlets
I am trying to setup on one server an DEV and QA environment using the Forms Servlet, Forms Listener Servlet and Report Servlet.
I think I have the Forms Servlet and Forms Listener Servlet running properly. The problem is setting up the DEV and QA environment for running reports.
For example, when in DEV environment I would like to run a report from a directory specified in the REPORTS60_PATH. This doesn't seem possible.
It might be easier if I describe my configuration first:
DEV: run all forms and reports from the directory /data/release/dev
QA: run all forms and reports from the directory /data/release/qa
---DEV & QA Settings Forms Listener Servlet:
zone.properties:
# DEV
servlet.fl60dev.code=oracle.forms.servlet.ListenerServlet
servlet.fl60dev.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev.env
# QA
servlet.fl60qa.code=oracle.forms.servlet.ListenerServlet
servlet.fl60qa.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/qa.env
---DEV & QA Settings Forms Servlet:
servlet.f60servlet.code=oracle.forms.servlet.FormsServlet
--- Settings for Reports Servlet:
servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
Custom Env files since we are using Developer 6i Patch 7
dev.env and qa.env
Here I specify FORMS60_PATH and REPORTS60_PATH,
eg: DEV -> FORMS60_PATH=/data/release/dev
REPORTS60_PATH=/data/release/dev
likewise for QA ../qa
In the formsweb.cfg file i have something like:
[dev]
serverURL=/servlet/fl60dev
form=test.fmx
[qa]
serverURL=/servlet/fl60dev
form=test2.fmx
I have tested the following and they work without problems:
1. forms listener test page, eg: http://webserver:7777/servlet/fl60dev
2. running forms from the 2 environments
eg: http://webserver:7777/servlet/f60servlet?config=dev
this runs the form in the FORMS60_PATH (/data/release/dev)
Now my problems start with Reports.
When I run a report from forms (using run_report_object) it will not run any reports
as specified in the REPORTS60_PATH
Even using this url:
http://webserver:7777/servlet/RWServlet?server=rep60&report=test.rdf&destype=cache&desformat=html&
userid=scott/tiger@test9i
It NEVER seems to pickup and use the REPORTS60_PATH. I have tried nearly everything.
I have gone throught the instructions in "Integrating Oracle9iAS Reports in Oracle9iAS Forms -
White Paper"
(http://otn.oracle.com/products/forms/pdf/277282.pdf)
and Forms6i Patch 7: Oracle Forms Listner Servlet for Deployment of FOrms on the Internet
(http://otn.oracle.com/products/forms/pdf/p7listenerservlet.pdf)
plus any other documents in metalink relating to forms, or report servlets. I am
totally confused, please help.
I have tried setting the REPORTS60_PATH in the following files without success:
custom.env (as specified by initArgs=EnvFile in zone.properties)
jserv.properties
in the zone.properties I have tried to set a custom env file for the report servlet:
servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
servlet.RWServlet.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev_rep.env
NO LUCK.
The only place that I can set the REPORTS60_PATH
is in "[6iserver home]/reports60_server" file when I start the reports server (did I even
get this right - I do have to have a reports server running don't I?)
Does this meaan I have to run multiple report servers for each of my environments?
Based on all the documentation I thought that REPORTS60_PATH as specified in the files relating
to the forms servlet would be the place to specify the path.
As you will understand I am getting really fustrated with this and it seems to
me that the reports servlet configuration in 6i is really half baked and since 9i
is coming out it will never be fixed.I am even not able to run forms servlets from two different forms60_path, Is there any configuration do you make other than what you have mentioned in this post.
I already open a TAR in this regard, I am still waiting reply from ORACLE.
Thanks,
Shaik Ather Ahmed -
Demo servlet IsItWorking doesn't work after fresh install
Hello,
We did a fresh install of Oracle 9iAS 1.0.2.2 on Hp-ux 11i
The installation completed succesfully, but
when trying to run the demo servlet IsItWorking, we get error 'The page cannot
be displayed'
The apache error_log file contains following lines:
[Thu Apr 18 17:12:03 2002] [notice] FastCGI: process manager initialized (pid
9809)
[Thu Apr 18 17:12:03 2002] [warn] OPM: ADM: process 9810 created server process
9811 (group group1, module JServ), and inserted in proctable as entry 0
[Thu Apr 18 17:12:03 2002] [emerg] OPM: Watcher starts with an id=9810
[Thu Apr 18 17:12:03 2002] [warn] OPM: ADM: process 9810 created server process
9812 (group group2, module JServ), and inserted in proctable as entry 0
[Thu Apr 18 17:12:04 2002] [notice] Oracle HTTP Server Powered by Apache/1.3.19
(Unix) mod_fastcgi/2.2.10 mod_perl/1.25 mod_oprocmgr/1.0 configured -- resuming
normal operations
[Thu Apr 18 17:12:18 2002] [warn] OPM: EW process rp5400:0 (pid:9811) died,
restarting.
[Thu Apr 18 17:12:18 2002] [warn] OPM: ADM: process 9810 created server process
9819 (group group1, module JServ), and inserted in proctable as entry 0
[Thu Apr 18 17:12:18 2002] [warn] OPM: EW process rp5400:0 (pid:9812) died,
restarting.
[Thu Apr 18 17:12:18 2002] [warn] OPM: ADM: process 9810 created server process
9820 (group group2, module JServ), and inserted in proctable as entry 0
[Thu Apr 18 17:12:21 2002] [warn] OPM: EW process rp5400:0 (pid:9819) died,
restarting.
[Thu Apr 18 17:12:21 2002] [warn] OPM: ADM: process 9810 created server process
9821 (group group1, module JServ), and inserted in proctable as entry 0
[Thu Apr 18 17:12:21 2002] [warn] OPM: EW process rp5400:0 (pid:9820) died,
restarting.
[Thu Apr 18 17:12:21 2002] [warn] OPM: ADM: process 9810 created server process
9822 (group group2, module JServ), and inserted in proctable as entry 0
[Thu Apr 18 17:12:23 2002] [error] OPM:Can not find one alive process
[Thu Apr 18 17:12:23 2002] [error] OPM:Can not find one alive process
[Thu Apr 18 17:12:24 2002] [warn] OPM: EW process rp5400:0 (pid:9821) died,
restarting.
[Thu Apr 18 17:12:24 2002] [warn] OPM: ADM: process 9810 created server process
9824 (group group1, module JServ), and inserted in proctable as entry 0
Any idea?
ThanksHi -
I was wondering if you solved this problem. I had the exact same issue on Win2K after I installed the Java Portlet Development Kit. Now my Apache JServ does not work.
This is a sample of my error_log:
[Fri Jun 07 10:48:01 2002] [notice] FastCGI: process manager initialized
[Fri Jun 07 10:48:08 2002] [error] OPM:Can not find one alive process
[Fri Jun 07 10:48:08 2002] [error] [client 127.0.0.1] File does not exist: /servlet/IsItWorking
[Fri Jun 07 10:51:22 2002] [warn] OPM: ADM: Process 380 terminated using SIGTERM successfully
I have re-checked my jserv.properties, jserv.conf, zone.properties several times and I can't see the problem. I tried to manually remove the entire PDK and go back to my original state (I saved a copy of all my config files) but it still doesn't work.
Did you find a way to fix this?
Thanks!!!
Heather
Maybe you are looking for
-
is it possible to change the hard drive in a macbook pro, if so where from? and how?
-
Need to declare GUID in Class to use in Workfloq
Hi Guys! I created a new class (via SE24) with two attributes as its key - but its lenght exceeded 32 charaters. I went thru the blogs posted by Jocelyn where she mentions to use GUID to declare the key. Can someone please explain how do the go about
-
How to run a simple program with main?
I have a simple class with main, something like the following: public static void main(String[] args) { Is it possible to run / execute this main from within workshop?
-
Deactivation of license after deinstallation of Adobe Photoshop CS6
Hiya, I had to format my computer and it deleted all my apps including Photoshop CS6, i didnt deactivate my license before doing that and now ive got problems with reinstallation because creative cloud doesnt show 'photoshop cs6' in options, theres o
-
Hello I'm having a issue with displaying the results of my query output. When I cfloop over the results.. the part number is being output on 3 different rows... when I want it on one row querying multiple tables.. and you cant use the group option wi