ADF deployment on WebSphere 5.1
Hi!
My application (TopLink + ADF Faces) runs smoothly on Tomcat 4.3 and WebSphere 5.1. I am considering a possibility to use further features of ADF (specifically ADF BC).
Unfortunately it is stated, that ADF is supported only on Tomcat 5 and WebSphere 6.
Is it a severe problem or can I still deploy on WS 5.1 with some additional manual hacks?
Thanks,
Alexandre.
Hi Alexandre
JDev supports only the latest edition of WebSphere, but I cannot see why this will not work on WebSphere 5.1
Please follow the Deploy guidelines for WebSphere outlined in the ADF Dev Guide:
http://download-west.oracle.com/otn_hosted_doc/jdeveloper/1013/adfdevguide.pdf
Also ensure that the Deployment Descriptor XMLs conform to the J2EE 1.3 spec.
Thanks
Prasanth
Similar Messages
-
does anyone deploy 10.1.3 applications (adf & toplink) in websphere 6.0?
We are migrating the Jdev code to 10.1.3 and make some more development.
do any of you deploy 10.1.3 in websphere 6.0?
ThanksI am not using the ADF or Toplink.
Just a simple welcome page. I followed the steps from metalink and downgrade
Jdeveloper JDK 1.4.2 still doesn't work. any Idea? -
Install Oracle ADF Runtime on WebSphere Application Server 7.x
Hi everyone,
I am trying to install ADF on a WAS server, but i don't find much information about it... I intall WAS 7 and upgrade to 7.0.0.19 with no problem, but i don't now how to install the ADF libraries in the server, i want to install the ADF libraries and deploy de "Tag Guide Demo" on the WAS...
Can anyone help me ?
Ty
Alberto TapiaHi,
I am trying to install Oracle ADF runtime for Websphere. I downloaded the installer from this link http://download.oracle.com/otn/nt/middleware/11g/ofm_appdev_generic_11.1.1.2.0_disk1_1of1.zip
When I extract and run the installer, I do not see the option for "Application Server Screen" where I am supposed to be able to select websphere option.
Am I using the right installer? Is there any other way to enable the websphere option?
Thanks,
Neha -
"Closed Connection" occurs too much After deployment on WebSphere
"oracle.adf.controller.faces.lifecycle.Utils buildFacesMessage ADF: Adding the following JSF error message: Closed Connection
java.sql.SQLRecoverableException: Closed Connection"
"Closed Connection" message appears to the user too much after deploying on Websphere. How to disable this message.FYI, I followed the steps listed in Administrator's Guide for Oracle Application Development Framework
at http://docs.oracle.com/cd/E35521_01/admin.111230/e16179/monitor.htm#CHDEGIAH
and that resolved my Closed Connection issue.
3.8.1 How to Configure WebSphere to Allow Reuse of Query Result Sets
WebSphere Application Server closes shared database connections between application generated requests. You need to set two properties in WebSphere to allow reuse of result sets.
Use the WebSphere Application Server administrative console to set the non-transactional datasource and DisableMultiThreadedServletConnectionMgmt properties.
To set properties in WebSphere to reuse results sets:
Start WebSphere Application Server administrative console.
Navigate to Data sources > DB2 Universal JDBC Driver XA DataSource > WebSphere Application Server data source properties and set Non-transactional data source to enabled.
Save the configuration.
Navigate to Application servers > server_name > Web Container > Custom Properties and set DisableMultiThreadedServletConnectionMgmt to true.
Save the configuration.
Restart WebSphere Application Server.
Setting these two properties will enable your deployed application to reuse result sets across requests. -
CMC does not work after deploying to Websphere
Description of Problem or Question:
We have an installation of BO XI R2 SP2 on Tomcat (default installation).
Now we installed Websphere Application Server 6.0 on the same server and deployed BO war files on it.
The existing installation of Infoview & CMC on Tomcat works as it did before.
But, CMC that runs on Websphere does not work.
Product\Version\Service Pack\Fixpack (if applicable):
Business Objects XI R2 - Service Pack 2
Tomcat 5.0.27 (installed by default)
Websphere Application Server 6.0.0.2
Relevant Environment Information (OS & version, java or .net & version, DB & version):
Windows 2003 Server R2, Enterprise Edition, SP2
Sporadic or Consistent (if applicable):
Consistent
Steps to Reproduce (if applicable):
Followed all the steps mentioned in "Deploying on WebSphere" section of "xir2_bip_install_en.pdf"
Deployed the following war files from the following location in the order mentioned with context roots as listed.
C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\java\applications\sp2updates
webcompadapterSP2.war /businessobjects
jsfadminSp2.war /jsfadmin
jsfplatform.war /jsfplatform
adminSP2.war /businessobjects/enterprise115/adminlaunch
desktopSP2.war /businessobjects/enterprise115/desktoplaunch
stylesSP2.war /styles
http://localhost:9080/businessobjects/enterprise115/desktoplaunch
Infoview works as expected.
http://localhost:9080/businessobjects/enterprise115/admin
CMC doesnot work. IE Says "HTTP 500 Internal Server Error".
What has already been tried (where have you searched for a solution to your question/problem):
On searching the web-forums, I found this:
http://www.forumtopics.com/busobj/viewtopic.php?t=112151
So, I tried to install WCA for Websphere. The scenario mentioned in that article deals with new installation of BO.
But, since ours is an existing installation, I cannot install WCA for websphere.
I do not want to re-install BO.
Please advise.
Thanks,
ChrisHi,
The following is the log created when I try to open CMC.
com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[wccontroller]: java.lang.NoClassDefFoundError: javax.servlet.http.HttpServletRequestWrapper
at com.ibm.oti.vm.VM.findClassOrNull(Native Method)
at com.ibm.oti.vm.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:633)
at java.lang.ClassLoader.loadClass(ClassLoader.java:635)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:363)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:635)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:90)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:466)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:466)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at com.businessobjects.enterprise.wca.servlets.WCAControllerServlet.init(Unknown Source)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:325)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:165)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:628)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527) -
How to call EJB deployed on websphere from JSP running on Tomcat?
I am trying to establish communication between two app servers. I have a sample EJB deployed on Websphere and wish to call its business methods from a JSP page which is running on Apache Tomcat server. (ie) Tomcat is client to websphere. Is it possible to do? If so, what are the client Jar files of websphere that I should make available to JSP page on Tomcat? Do I need to set any Jars in Tomcat environment variables? Lood forward for your immediate help. Thanks in advance
Please see the thread
http://forum.java.sun.com/thread.jspa?threadID=514536.
Hope that helps.. -
Workspace manual deployment on Websphere 6.1
We installed Hyperion Reporting and Analysis S9. We selected to make Deployment to Application Server MANUAL when we tried to make Workspace deployment on Websphere 6.1
We get the following error:
EJPPC0006E: Portlet and Servlet names must be different within portlet.xml and web.xml.
Any ideas about why we are getting this error and how to fix it?This is a Websphere issue. You might have to install the websphere fix packs for this. Check this out :
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PK31467 -
Application connection help in Jdev for ADF deployment
Hi,
I have installed OAS 10.1.3.1 in my local machine to test the ADF deployment. My application is in C: with jdev version 10.1.3.2 and the server is installed in C:\Product\10.1.3.1\OracleAS_1.
Could you please guide me in creating the applciation server connection in jev to this OAS?
And before deploying it to OAS, do i have to install the ADF libraries or it is already available?
Thanks,
VenkatThanks Frank. I do have a doubt while making the application server connection.
I installed OAS by giving Instance name as xyz and password as xyz. So when it askes for the username and password in the connection wizard, do i have to supply these?
If I do I get an error message. I tried with oc4jadmin and same as password too.
But I get the connection error.
Could you please help me in solving this issue?
This is the connection error that I get.
Error getting OC4J Process for: opmn-home+oc4j-PDC-ALA-CTX40-6003-default:
Error connecting to OPMN (is it running?): Connection refused: connect
Is there any thing I need to so before making the connection?
Thanks,
Venkat -
Problem Web Services for Identity Manager deployed on WebSphere
Hi, I've a problem with the Web Services. I'm tryng to lunch a JAVA class that execute this called: "http://localhost:9080/idm/servlet/rpcrouter2". This error return me: "No registered SPML handler".
Identity Manager 5.0 sp4 is deployed on WebSphere 5..1
I've just configured the SPML importing the spml.xml file and I've added tha jar package "openspml.jar" to WEB-INF/lib directory. I've also added to the CLASSPATH the link to this jar and the link to WEB-INF\lib.
How can I do??You will have to include the servlet(SPML Handler) in your web.xml.
-
ServiceUnavailableException from client of an EBJ deployed with WebSphere
Good evening,
I have a very simple stateless EJB deployed under WebSphere and a simple Java program to use it and call a method in it.
I use the following code to get the context :
Hashtable parms = new Hashtable();
parms.put(Context.INITIAL_CONTEXT_FACTORY,
"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
Context ctx = new InitialContext(parms);
and I get a javax.naming.ServiceUnavailableException ....
Seems that I can't open an initial context with JNDI. the problem is that a servlet using a pool works with the same code as shown here .....
Does anybody can help ??????? It would be great !!!!
Thanks a lot. Pierre-Yves ([email protected])
PS : Stack trace :
javax.naming.ServiceUnavailableException. Root exception is java.lang.ClassCastException: com.sun.corba.se.internal.io.FVDCodeBaseImpl
at com.ibm.rmi.corba.ClientDelegate.getServantIOR(ClientDelegate.java:653)
at com.ibm.rmi.corba.ClientDelegate.getServiceContexts(ClientDelegate.java:305)
at com.ibm.CORBA.iiop.GIOPImpl.createRequest(Unknown Source)
at com.ibm.CORBA.iiop.GIOPImpl.createRequest(Unknown Source)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(Unknown Source)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve(Unknown Source)
at com.ibm.CORBA.iiop.InitialNamingClient.cachedInitialReferences(Unknown Source)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(Unknown Source)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references(Unknown Source)
at com.ibm.ejs.ns.jndi.CNInitialContextFactory.initRootContext(CNInitialContextFactory.java:428)
at com.ibm.ejs.ns.jndi.CNInitialContextFactory.getInitialContext(CNInitialContextFactory.java:212)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)
at ejb.demo.DemoClient.main(ejb/demo/DemoClient.java:41)hi, i am trying to run a cliente EJB, but in the classpath don{t see the next class
error : java.lang.NoClassDefFoundError:
"com.ibm.CORBA.iiop.GlobalORBFactory"
someone can tell me what is the name of the jar that contins this class.
Thanks. -
Getting error while deploying in WebSphere
i developed the Bean file in Weblogic, and when i am trying to deploy that bean class in WebSphere i am getting this error
java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.AbstractMethodError: com.orbi.orbicollect.query.beans.EJSRemoteStatelessEWFollowup_7d58f28c.buildEditContactScreen(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap;Check all the dimensions to see if any one of them is enabled for WF. Also, please paste the exact error message that you receive. Have you deployed this app before?
-
How to include page fragment for JSF application deployed on WebSphere?
Hi all,
I have the following urgent JSF problem, I hope that you can support me in solving it;
- I have JSF application need to be deployed on IBM WebSphere 6.0.1 Application Server.
- I have the tag:
<jsp:directive.include file="Actions.jspf"/>
which includes a page fragment.
- This is working file with Tomcat 5.5 & Sun Application Server 9, but it didn't work on WebSphere and each time the page fragment contents rendered as text, I mean that the JSF components in the fragment doesn't converted to html controls.
Please help...
Message was edited by:
AHmadQWe use:
<%@ include file="../WEB-INF/jspf/head.jspf" %>where the head.jspf is a jsp fragment like:
<% response.addHeader("Cache-Control", "no-cache"); %>
<% response.addHeader("Pragma", "no-cache"); %>
<% response.addIntHeader("Expires", -1); %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<title><%= pageTitle %></title>
<link href="../style/style.css" rel="stylesheet" type="text/css" />
</head>Cheers,
Illu -
ADF deployment to WLS 1.3
Hi,
how can I deploy ADF to a linux box that runs without xwindows?
As far as I understand the only option is oracle installer for jdeveloper 11g?
I know I can use X forwarding, but is there really no other way?It seems I'm almost there. Have no idea what was with the stalled server - it started to work now.
I have another problem (last one I hope):
when the application is trying to open a database connection, I see the folowing error in console:
WARNING: Incomplete connection information
Oct 13, 2008 11:50:30 PM oracle.adf.share.security.providers.jps.CSFCredentialStore fetchCredential
WARNING: Unable to locate the credential for key psa in /srv/oracle/middleware/user_projects/domains/test1/config/oracle.
Oct 13, 2008 11:50:30 PM oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResultException
WARNING: Incomplete connection information
oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
Truncated. see log file for complete stacktrace
java.sql.SQLException: ORA-01005: null password given; logon deniedI created a data surce in weblogic, as described in ADF guide chapter 32.7. I used the same name for data source as connection name in jdeveloper. -
ADF deployment to distributed environment
Hi,
we've been developing an application for the last few months with ADF 11g, but now we need to start work on the deployment procedure to our staging and production environments.
So far, we've been deploying the application to the integrated or local WLS instance. However, our external systems are distributed; The web tier has no access to the DB, and we don't want to have to proxy HTTP requests the whole app on the middle tier.
Is there any 11g documentation that describes a best-practice for deploying the ViewController and Model projects (with a dependant 'common' project) to seperate machines?
Thanks,
Barry.Same problem here.
Right now it seems, that you are forced to use EJB2.1 if you use custom methods, in order to get a Configuration for bc4j. But in Jedeveloper there seems no real support for this, because the configs can't be fully edited.
Next problem is that you can`t use the service interfaces with sdos this way, because you need JEE 5 for this. So you can't use the ViewObjects support etc. remotely.
So I don't get a satisfiying solution to use 1) custom methods in a ApplicationModule where the Params are not from type oracle.jbo.domain.* and 2) use the whole service interface / sdo stuff the same time.
I also have a problem with deploying / configuring the EJB 2.1 DataControl solution for AppModules. Found no documentation, that is up to date and the Jdeveloper seems to have minimal support for this at best.
So is there another solution for this case, where you hav to get your application with custom methods an AppModules running in a Multi-Client-Tier ?
Thanks -
ADF deployment Cach expiration
Hi,
I have an ADF application and to improve performance I am testing improving the use of local web browser cash.
I have deployed the application with following additional settings in the deployment plan:
<expiration-setting expires="never" url-pattern="*.gif"> </expiration-setting>
<expiration-setting expires="never" url-pattern="*.png"> </expiration-setting>
After deployment I can see in the OCO4J console, using System Mbean browser, I can see this has been applied.
I test the application with firefox and looking at cache (using CacheViewer) and http header (using Live HTTP Headers), I can see expiration date is always set to 01/01/1970 (see below).
Is there anything wrong with the expiration-setting. Or is there an other way to enable web browser caching for ADF applications.
thank you for any help and info,
Yves
GET /appname/faces/images/graphLegend/LEG6.png HTTP/1.1
Host: domain:port
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Accept: image/png,*/*;q=0.5
Accept-Language: nl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://domain:port/appname/faces/app/fc/dpr_work_screen.jspx
Cookie: JSESSIONID=...; oracle.uix=0^^GMT+2:00; OHS-domain-port=...
HTTP/1.x 200 OK
Date: Thu, 27 Sep 2007 11:08:46 GMT
Server: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server
Pragma: no-cache
Cache-Control: no-store
Surrogate-Control: no-store
Expires: Thu, 01 Jan 1970 12:00:00 GMT
Content-Length: 181
Set-Cookie: JSESSIONID=...; path=/appname
Content-Location: /images/graphLegend/LEG6.png
Last-Modified: Thu, 27 Sep 2007 10:57:58 GMT
Keep-Alive: timeout=15, max=94
Connection: Keep-Alive
Content-Type: image/pngHi,
I want to try expiration-settings in our application and see how it improves the performance of our application. To which file did you add the below settings?
<expiration-setting expires="never" url-pattern="*.gif"> </expiration-setting>
<expiration-setting expires="never" url-pattern="*.png"> </expiration-setting>
Thanks
Maybe you are looking for
-
Mac-format to PC-format: How can I get my music off an external hard drive?
I had a mac-formatted iPod for years, and all of my music is on an external hard drive that is hooked up to that computer. When I got a new iPod after mine was stolen, I had to get a PC-formatted iPod. How can I get my music off of the hard drive and
-
How to run the runallocation function with following scenario
the cost center 123 has the following property and value property name CC_PER CC1 CC1_PER CC2 CC2_PER value 80 456 60 789 40 CC_per contain
-
Hi, In our IC webclient, when we enter a business partner, if nothing is entered in the address fields it creates ok but when we come back to change the partner again, the address fields are output only, so we can't enter anything in them. If we do e
-
A dataset is about a join query for multiple tables. For each record in the dataset we need to show related records from another query. trans# is the link to get linked records. The sub-report used will show all linked records in one table while we
-
SDHC extreme or SDXC card work in Portege R600
Does the R600 support the sandisk "extreme 30 MB" or the SDXC card? I ask because they seem to the only ones with 64Gb capacity. I need the maximum additional capacity possible TIA/gary