.jsp deployment in orabpel
In 10.1.2 we had a .jsp page as an attachment to the Human task workflow. We deployed it when we run from the BPEL console it says no page found error.
We are trying to do the deployment in 10.1.3.
Please could someone give me the steps for attaching the.jsp page for the human workflow and run the page in jdev 10.1.3
Thanks in advance.
hima Bidnu
I think you want to do something very similar to what I did. I needed to alias some .jsps.
You can do it by using a <servlet> entry to give a .jsp a servlet name, putting the path to your .jsp in <jsp-file>.
Then in a <servlet-mapping> under <servlet name> you put the name you've just given to your .jsp file and map incoming requests to it or alias it using <url-pattern>
Like this:
<servlet>
<servlet-name>WordFinder</servlet-name>
<display-name>Word Finder</display-name>
<description>You can write as long a description as you like here</description>
<jsp-file>/finderFolder/WordFinder.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>WordFinder</servlet-name>
<url-pattern>/someKindOfPattern/*</url-pattern>
</servlet-mapping>
Similar Messages
-
Guys:
I saw your names posted in the weblogic jsp news group. I thought you
might be able to help me with a jsp deployment problem. A number of our
jsps take a long time to compile. As a result, the first user who
accesses our jsps after deployment pays a significant latency penalty.
To get around this problem, we manually "touch" each jsp as part of
deployment. That way when users access the site, they get reasonalble
response time.
The problem we face is that we are now in a clustered environment in
production and staging. As a result, it can take a long time to
manually "touch" each jsp. There is also a secondary issue. Our
staging and production environments are hosted by an extenal service
provider. We are uncomfortable with deploying source code -- e.g., jsps
-- in these environments.
Here is what I have done to date:
I have written a unix script that invokes the weblogic.jspc compiler for
each jsp. The intent is to pre-compile the JSPs ahead of time. In our
testing this script we still notice that Weblogic (e.g., 4.5.1) still
attempts to recompile the jsps on-demand when they are first accessed
from the browser by the first user after jsp deployment. (This defeats
the purpose of pre-compiling the jsps.)
What are we doing wrong and what can we do so that the jsp-s are
pre-compiled and not re-compiled on demand. Again, at a minimum we want
to avoid the latency problems associated with the first user. Best case
scenario, we would like to ship a jar file that contains the compiled
jsp servlet classes.
Your recommendations are most appreciated.
Mark C. Berman
Javelin Solutions
[email protected]
I've never tried this, but I don't see any reason why it wouldn't
work... Don't even register the JSPServlet. Build the JSPs (servlets)
and deploy them like any other servlet. You can register them with a
.jsp extension or you could give them a different alias altogether.
The WL JSP compiler (weblogic.jspc) may be used to compile the jsps
into servlets during the normal build process and there are options
that may be used to modify the package, install dir, etc.
Hope that helps.
Jason
On Tue, 26 Dec 2000 17:09:25 -0600, mark berman
<[email protected]> wrote:
>Guys:
>
>I saw your names posted in the weblogic jsp news group. I thought you
>might be able to help me with a jsp deployment problem. A number of our
>jsps take a long time to compile. As a result, the first user who
>accesses our jsps after deployment pays a significant latency penalty.
>To get around this problem, we manually "touch" each jsp as part of
>deployment. That way when users access the site, they get reasonalble
>response time.
>
>The problem we face is that we are now in a clustered environment in
>production and staging. As a result, it can take a long time to
>manually "touch" each jsp. There is also a secondary issue. Our
>staging and production environments are hosted by an extenal service
>provider. We are uncomfortable with deploying source code -- e.g., jsps
>-- in these environments.
>
>Here is what I have done to date:
>
>I have written a unix script that invokes the weblogic.jspc compiler for
>each jsp. The intent is to pre-compile the JSPs ahead of time. In our
>testing this script we still notice that Weblogic (e.g., 4.5.1) still
>attempts to recompile the jsps on-demand when they are first accessed
>from the browser by the first user after jsp deployment. (This defeats
>the purpose of pre-compiling the jsps.)
>
>What are we doing wrong and what can we do so that the jsp-s are
>pre-compiled and not re-compiled on demand. Again, at a minimum we want
>to avoid the latency problems associated with the first user. Best case
>scenario, we would like to ship a jar file that contains the compiled
>jsp servlet classes.
>
>Your recommendations are most appreciated.
>
>Mark C. Berman
>Javelin Solutions
>[email protected]
>
-
Error while accessing JSP deployed on Oracle AS
Hi,
I have developed an application and deployed in on the oracle AS 10.1.2
In my application i have a Jsp on which i have the following code
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page import="javax.servlet.*"%>
<%@ page import="javax.servlet.http.*"%>
<%@ page import="java.io.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.net.*"%>
<% String strFileName = request.getParameter("prmFileName");
//String strFileName = "d:\\Report.xls";
response.setContentType( "application/vnd.ms-excel; charset=ISO-8859-1");
PrintWriter out1 = response.getWriter();
//System.out.println(strFileName);
FileReader fread = new FileReader (strFileName);
BufferedReader bfd = new BufferedReader(fread);
String inputLine;
while ((inputLine = bfd.readLine()) != null)
out1.println (inputLine);
bfd.close();
out1.close();
%>
When i access this jsp through the application i get this error..
during developement i had tested this jsp by deploying it on jboss and it worked properly but now i am faced with this error
500 Internal Server Error
java.lang.IllegalStateException: OutputStream already retrieved at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getWriter(EvermindHttpServletResponse.java:1001) at ReportXlsOpen.jspService(_ReportXlsOpen.java:57) [SRC:/ReportXlsOpen.jsp:12] at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
Thanks & Regards,
MadhurYou don't need to get the output writer "out1". you can use "out" in your scriplets the same way as "request" and "response".
-
FtpAdapter deploy problem ORABPEL-09903
Hi,
What's wrong with my configuration of the FtpAdapter ???
I've configured the FTP Adapter in the following files :
* $ORACLE_HOME/j2ee/OC4JINT/application-deployments/default/FtpAdapter/oc4j-ra.xml
* $ORACLE_HOME /j2ee/OC4JINT/connectors/FtpAdapter/FtpAdapter/META-INF/oc4j-ra.xml
* and also via the console of OEM : application-defaut / connexion
factories (an other question : where is this file on the system ???)
Stop and restart the application server.
Then I've tried to deploy under Jdev a process with an adapter which reference the entry I've just specified in oc4j-ra.xml (the default one : eis/Ftp/FtpAdapter)
I've tried the ftp under unix session, it's working.
Environment
HP-UX PA-RISC (64-bit)
Oracle BPEL 10.1.3.1.0
Here is the message from Jdev
BUILD FAILED
C:\Workspace\Application1\Fli_FTP\build.xml:79: Problème détecté lors de la connexion au serveur "frqpux08" sur le port "7778" : bpel_Fli_FTP_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
Could not initialize activation agent.
An error occured while initializing an activation agent for process "Fli_FTP", revision "1.0".
Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:354)
at ...
Here is some parts of the domain.log in debug mode, my process is called Fli_FTP and FTP_douanes is the partner link FTP Adapter
<2008-07-17 16:42:45,090> <INFO> <default.collaxa.cube.engine.deployment> Process "Fli_FTP" (revision "1.0") successfully loaded.
<2008-07-17 16:42:45,158> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
process='bpel://localhost/default/Fli_FTP~1.0/'
domain='default'
WSDL location='FTP_douanes.wsdl'
portType='Get_ptt'
operation='Get'
activation properties={portType=Get_ptt}
<2008-07-17 16:42:45,164> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Locating Resource Adapter for jca:address.. {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/Ftp/FtpAdapter'
<2008-07-17 16:42:45,164> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JNDI lookup of 'eis/Ftp/FtpAdapter' failed due to: eis/Ftp/FtpAdapter not found
javax.naming.NameNotFoundException: eis/Ftp/FtpAdapter not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.tip.adapter.fw.jca.AdapterLocator.findResourceAdapter(AdapterLocator.java:148)
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:341)
<2008-07-17 16:42:45,171> <ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Error while performing endpoint Activation: ORABPEL-12510
Unable to locate the JCA Resource Adapter via WSDL port element jca:address.
The Adapter Framework is unable to startup the Resource Adapter specified in the WSDL jca:address element: {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/Ftp/FtpAdapter'
The reason for this is most likely that either
1) the Resource Adapters RAR file has not been deployed successfully to the OC4J Application server or
2) the 'location' attribute in $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has not been set to eis/Ftp/FtpAdapter. In the last case you might have to add a new 'connector-factory' entry (connection) to oc4j-ra.xml.
Please correct this and then restart the BPEL/OC4J Application Server
Here is the part of the oc4j-ra.xml, of course with correct entries for host, username and password
<connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
<config-property name="host" value="<The name of my server>"/>
<config-property name="port" value="21"/>
<config-property name="username" value="<the username>"/>
<config-property name="password" value="<the password>"/>
<config-property name="keepConnections" value="true"/>
<config-property name="serverType" value="unix"/>
<config-property name="serverLocaleLanguage" value=""/>
<config-property name="serverLocaleCountry" value=""/>
<config-property name="serverLocaleVariant" value=""/>
<config-property name="serverEncoding" value=""/>
<config-property name="useFtps" value="false"/>
<config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
<config-property name="walletPassword" value="welcome1"/>
<config-property name="channelMask" value="both"/>
<config-property name="securePort" value="990"/>
<config-property name="keyStoreProviderName" value=""/>
<config-property name="keystoreType" value=""/>
<config-property name="keystoreAlgorithm" value=""/>
<config-property name="enableCipherSuits" value=""/>
<config-property name="proxyHost" value=""/>
<config-property name="proxyPort" value=""/>
<config-property name="proxyUsername" value=""/>
<config-property name="proxyPassword" value=""/>
<config-property name="proxyType" value=""/>
<config-property name="proxyDefinitionFile" value=""/>
<config-property name="useProxy" value="false"/>
<config-property name="useSftp" value="false"/>
<config-property name="authenticationType" value="password"/>
<config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
<config-property name="preferredCompressionAlgorithm" value="none"/>
<config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
<config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
<config-property name="privateKeyFile" value=""/>
<config-property name="preferredCipherSuite" value="blowfish-cbc"/>
<config-property name="transportProvider" value="socket"/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>
</connector-factory>
Many thanks for your time,
FrancisHi,
OC4JInt : the OC4J for integration in our system.
I've already done that : see the first line of the blog :
"and also via the console of OEM : application-defaut / connexion
factories (an other question : where is this file on the system ???)"
One thing is strange, here, I can't see what I create...
I create a connexion pool, used by a connexion factory (jndi name : eis/Ftp/FtpAdapter), I try also with other names like eis/Ftp/FtpAdapter2, 3...
I receive an error :
Unable to add connection factory at eis/Ftp/FtpAdapterFliLast via JMX MBean
Masquer les autres informations de trace
oracle.oc4j.admin.jmx.shared.exceptions.JMXException: Unable to add connection factory at eis/Ftp/FtpAdapterFliLast via JMX MBean at oracle.oc4j.admin.management.mbeans.JCAConnectionDefinition.addConnectionFactory(JCAConnectionDefinition.java:244) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953) at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke
I can't see them after in the panel
but I see the entry in OEM, open node OC4J / default link / FtpAdatper link / Admin tab / access on link for the proprietary deployment descriptor
Many thanks -
Location of java servlet (not jsp) deployed on Java Stack
Hello,
Why this forum? this post is related to the way of calling a java servlet deployed on the java stack, so it's related to the structure of the stack than to real java programming.
Usually, I develop JSP servlets which are easily called either with a mapping or not. I have deployed now a java servlet and added a mapping to it by modifying the xml source itselft in its descriptor, but after deployement I am not able to reach the resource.
In the windows explorer of the java stack I find in j2ee>cluster>server>apps my application as follows:
app_ear>servlet_jsp>app>root>WEB-INF>classes>my class files
app_ear>servlet_jsp>app>root>app.jsp
This time it's not a jsp that I want to call: app/app.jsp but my java servlet which lies in the classes subdir.
Could someone help my to achieve this or is it the wrong way, we can only request jsp applications?
Kind regards,
Tanguy MezzanoHi Vladimir,
here's my web.xml code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>WEB APP</display-name>
<description>WEB APP description</description>
<servlet>
<servlet-name>SSORedirect3.jsp</servlet-name>
<jsp-file>/SSORedirect3.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>AuthenticatorServlet</servlet-name>
<url-pattern>/SSOredirect3</url-pattern>
</servlet-mapping>
<security-constraint>
<display-name>SecurityConstraint</display-name>
<web-resource-collection>
<web-resource-name>WebResource</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>DefaultSecurityRole</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>DefaultSecurityRole</role-name>
</security-role>
</web-app>
And in my jsp file, I have a form with this kind of code:
<form name="xyz" method="GET" action="http://j2eeserver:50000/SSOredirect3/SSOredirect3">
I get this error in my logs:
com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Requested resource [SSOredirect3/servlet/AuthenticatorServlet] not found.
Exception id: [000C299F469E00650001D8E900000CCC000458E27823275B]#
Best regards,
Tanguy Mezzano -
NEWBIE JSP Deployment Problems
I know this is will probly bore to some of you but I'm trying to evalutate this software.
I created a test JSP via the wizard and ran it in Jdev ok. Deployed and Copied the files to the Apache web server provided with 8.1.7. Ran on browser and got this error:
java.lang.RuntimeException: JSP Registry could not locate runtime property file:....
I included the business classes but apparently I'm still missing something...
I have been searching for documentation on this error but not much luck so far...I have deployed a JSP with BC4J Application on an Oracle IAS and it works fine, but to do it i had to include a path to the .jar file that contains my classes in Jserv.properties
When i need to change, add or manipulate something in the jar file or include a new jar file, i have to shut down the service because while active, the files that are being pointed by the conf file become locked... I have read something about "zones" and i have no idea about apache or OracleJSP configuration. I began yesterday to read the JavaServer Pages Developer4s Guide and Reference... But it has 420 pages and i will last a lot till i find what i4m looking for.
If you can explain me the way you make your jar file accesible by the system in a correct way or the pages in which it is explained, please, make me know. -
JSP Deployment:Tomcat:Oracle Prepared Statement error
I'm deploying my BC4J JSP application to Linux/Tomcat 4.0.1.
The html and basic jsp (Query form display) work but whenever I try to hit the database (i.e. display a browse or execute a query), I get the following in the Browser window:
Application Error
Return
Error Message: oracle.jdbc.driver.OraclePreparedStatement
There are no other messages. Everything works in the JDeveloper IDE.
I'm sure I've done something wrong in the configuration.
Can anyone point me in the right direction?
TIA
Thanks, GeorgeThanks for the info Sung.
We solved the problem late yesterday. The Tomcat documentation indicates that .jar files shared by the application and the server must reside in <Tomcat_home>/common/lib/. However, we went by the JDeveloper document which stated that most of the library files belong in <Tomcat_home>/lib/.
When we moved classes12.jar to /common/lib/ the problem was resolved.
In order to resolve other problems that arose, we had to move all of the indicated .jar files for JDeveloper into /common/lib/.
One of the JDeveloper documentation folks should probably evaluate this for a change to the documentation.
Thanks for your help!
Thanks, George -
HI,
This may not be appropriate question on this discussion forum. But in case if
somebody has answer for this, please let me know:
Problem:
I am trying to open some documents in my JSP(JSPs are deployed on Weblogic5.1)
where a BLOB will be streamed and written to ServletOutputStream. Some piece of
code which does this, I have pasted below:
// start attachmentviewer.jsp
<% BufferedInputStream is = null;
BufferedOutputStream os = null;
response.setContentType(mimeType.trim()); // say application/msword for word document
response.setHeader("Content-Disposition","attachment; filename=\""+attachmentViewBean.getAttachmentName()+
"\";"); //bean method gets attachment name
is = new BufferedInputStream(attachmentViewBean.getAttachment().getBinaryStream());
// gets blob
os= new BufferedOutputStream(response.getOutputStream());
byte[] buff = new byte[6500];
int bytesRead;
out.clearBuffer();
while(-1 != (bytesRead = is.read(buff, 0, buff.length)))
os.write(buff, 0, buff.length);
%>
// end attachmentviewer.jsp
I am closing handles etc. after this.
This works fine in Netscape6.0 in which
a dialog box prompts user to open/save
document once and does correspondigly
after user action.
In IE 6.0 first file open dialog comes
informing its open/saving
attachmentviewer.jsp. Upon clicking open it
again opens another dialog box
informing to open/save for actual file
name put in response's setHeader method.
I observed this to happen in IE6.0, but
works fine in IE5.5 prompting user once.
If anyone has any idea/suggestions/tips
about this, please lemme know.
Thanks,
Yogesh
i was able to solve it by clearing the output stream (jsp page - out.clear() ) before using it, even resetting the jsp response does the trick..
thanks,
prakash.m
Edited by message2prakash at 02/08/2008 10:35 AM
Edited by message2prakash at 02/08/2008 10:36 AM -
I can't get a jsp to be served up from a managed server. It works from the
admin server however.
I created a new domain (FooDomain) and ran an admin server with
a jsp copied into the default web app dir:
C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooAdminServe
r
I can bring this jsp up in the browser AND when I update the
jsp it redeploys just fine.
Then I do the same the thing with a managed server, putting the
jsp in:
C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooManServer1
This does not work at all. I can't see the jsp and I get the
following error from the dos screen running the FooManServer:
<Jan 7, 2001 11:24:38 PM EST> <Error> <HTTP> <HttpServer(4899834,null
default ct
x,fooManServer1) found no context for "GET /hello.jsp?name=bike HTTP/1.1".
This
should not happen unless the default context failed to deploy.>
Right after the managed server boots it gives me this error:
<Jan 7, 2001 11:40:30 PM EST> <Error> <J2EE> <Error deploying application
Defaul
tWebApp_fooManServer1: error retrieving component [Caching Stub]Proxy for
FooDom
ain:Name=DefaultWebApp_fooManServer1,Location=fooManServer1,Type=WebAppCompo
nent
Config,ApplicationConfig=DefaultWebApp_fooManServer1>
I get a 400 error on the browser! Not a 404!
Any ideas on what is going on here?
It looks like the default web app is not being loaded on your managed
server. Two things to check are
1. that DefaultWebApp_fooManServer1 is targeted to your managed server
2. that it is deployed.
I think that this is something we should do automatically for the default
web app, but currently, we don't so its possible to have the system
configured such that the default app is not acutally loaded for a particular
server.
mark
Mike Sprague wrote:
> I can't get a jsp to be served up from a managed server. It works from the
> admin server however.
>
> I created a new domain (FooDomain) and ran an admin server with
> a jsp copied into the default web app dir:
>
> C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooAdminServe
> r
>
> I can bring this jsp up in the browser AND when I update the
> jsp it redeploys just fine.
>
> Then I do the same the thing with a managed server, putting the
> jsp in:
>
> C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooManServer1
>
> This does not work at all. I can't see the jsp and I get the
> following error from the dos screen running the FooManServer:
>
> <Jan 7, 2001 11:24:38 PM EST> <Error> <HTTP> <HttpServer(4899834,null
> default ct
> x,fooManServer1) found no context for "GET /hello.jsp?name=bike HTTP/1.1".
> This
> should not happen unless the default context failed to deploy.>
>
> Right after the managed server boots it gives me this error:
> <Jan 7, 2001 11:40:30 PM EST> <Error> <J2EE> <Error deploying application
> Defaul
> tWebApp_fooManServer1: error retrieving component [Caching Stub]Proxy for
> FooDom
> ain:Name=DefaultWebApp_fooManServer1,Location=fooManServer1,Type=WebAppCompo
> nent
> Config,ApplicationConfig=DefaultWebApp_fooManServer1>
>
> I get a 400 error on the browser! Not a 404!
>
> Any ideas on what is going on here?
-
JDEV 3.1 (JSP) deployment on iPlanet
Hello JSP developers,
We receive the following message when deploying JSP app. on Netscape iPlanet webserver
Error Message: JBO-26002: Error Parsing the XML file "/vanilla_package/ReportView" .
The JSP app. works as expected in Jdev31 env.
and I have the deployment jar file with ALL
the necessary JSP and XML files.
Cheers
Kedar
nullHi Juan,
Thanks. Now Jrun is recognizing Oracle jdeveloper zip-jar files.
What I did was -
I moved .property file (unzipped from zipped-deployed file) to a folder other than the app. folder of JRun. And put that folder in the classpath. I started working. I don't know why? But it works.
One more thing. Why have you moved PoolMgr from ampPool? Your jbohtmlsrc.zip still contains its java file
IMPORTANT THING:
I am now getting this error whenever I run JSP page which fetches some data.
Error Message: JSP Page threw a non-Exception Throwable.
I have generated a default application using wizards and simply deployed it. But I get the above error. WHY?
HOW to trouble shoot it? I am using Oracle 8.1.5. (jdeveloper 3.2)
null -
Web.xml + jsp deployment problem
Hi people,
I have an eclipse project that has 1 servlet and 1 jsp page. I'm having problem in deployment. The servlet works fine but jsp is not accessible. The structure of my web.xml file is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>IBNSubscriberServlet</display-name>
<servlet>
<description></description>
<display-name>SubscriberServlet</display-name>
<servlet-name>SubscriberServlet</servlet-name>
<servlet-class>com.ibn.servlets.SubscriberServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SubscriberServlet</servlet-name>
<url-pattern>/SubscriberServlet</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>MonitoringG7</servlet-name>
<jsp-file>/com.ibn.view.MonitoringG7.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>MonitoringG7</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>On requesting this JSP url, http://localhost:8080/IBNSubscriberServlet/MonitoringG7.jsp the http 404 status message comes which says the resource is not found. Cn someone please check the above jsp mappings in the web.xml file?
Inside my "src", folder I have "com.ibn.view" which contains jsp file.
thanks.this is how my web.xml looks like now.
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>IBNSubscriberServlet</display-name>
<servlet>
<description></description>
<display-name>SubscriberServlet</display-name>
<servlet-name>SubscriberServlet</servlet-name>
<servlet-class>com.ibn.servlets.SubscriberServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SubscriberServlet</servlet-name>
<url-pattern>/SubscriberServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>If there is a mapping problem then the JSP should not work in tomcat as well, but it is. And i have just one servlet in the project and that is mapped my eclipse as above. -
Simple jsp deployment - does it need weblogic.xml ?
Hi,
I am a newbie and trying out a very simple jsp application which connects to Oracle
for a simple db lookup. This app used to work with Tomcat/ Apache.
I am trying to deploy it on WLS7.0 . It does not use servlets - only JSPs.
Could someone tell me what is the minimum level of configuration I need to deploy
these JSPs to WLS7.0 ?
Do I need both web.xml and weblogic.xml ?
Do I need all the parameters in both these files ?
Thanks a lot !
WLS7.0 Does use servlet you have to register the servlet inside the
web.xml file for a web application. It looks like this:
<servlet>
<servlet-name>testservlet</servlet-name>
<servlet-class>
com.mypackage.MyTestServlet
</servlet-class>
<init-param>
<param-name>EnvironmentFile</param-name>
<param-value>/WEB-INF/config/webstore.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>testservlet</servlet-name>
<url-pattern>/mytestservlet</url-pattern> <!-- this is the
name on the url-->
</servlet-mapping>
Abraham wrote:
> Hi,
>
> I am a newbie and trying out a very simple jsp application which connects to Oracle
> for a simple db lookup. This app used to work with Tomcat/ Apache.
>
> I am trying to deploy it on WLS7.0 . It does not use servlets - only JSPs.
>
> Could someone tell me what is the minimum level of configuration I need to deploy
> these JSPs to WLS7.0 ?
> Do I need both web.xml and weblogic.xml ?
>
> Do I need all the parameters in both these files ?
>
> Thanks a lot !
-
How do i Deploy JSP files?. do i have to use only Tomcat or Can I use Java Web Server?.
Tomcat is a free JSP/Servlet Engine. To deploy ur applications please refer to the tom-cat docs .
You can deploy or JSP pages/applications on any of the webserver which support JSP/Servlet.
Amoung them are Weblogic from BEA Websphere from IBM , and also u can use the servlet /JSP engine provided by SUN . But all of them come with a considerable price tag as they are used to deploy Enterprice level applications.
So u can choose!!!
Thanks,
Gautham -
Hi,
I am trying to upgrade JDeveloper from 3.1 to 3.2. My JSP application is developed by 3.1. I have no problem compiling and runing my 3.1 JSP application locally under JDeveloper. But when I depolyed it to tomcat 3.1. I got the error:
java.lang.IllegalStateException: Response has already been committed
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at java.lang.IllegalStateException.<init>(IllegalStateException.java:45)
at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157)
at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299)
at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
at org.apache.tomcat.core.ContextManager.service(Compiled Code)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled Code)
at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Does anyone have idea what's wrong? My JSP are pretty simple except I implementd a custom domain for Date, which is introduced in this discussion group. I deployed all the libraries still can not figure it out. Could anyone helping if you have idea of this.
Thanks,I am not sure about Oracle JSP, But I have faced similar problem in Apache Web server, the problem is JSP compiler is not recognized by the Web. After making the classpath and other required Jar files to the web it works fine.
-
BIB-14820 Calling BI Beans JSP deployed to iAS 10g
Hello,
I have deployed a jsp-bi beans application to iAS 10g Release 2.
When I try to access the jsp page I get this error:
javax.servlet.jsp.JspException: BIB-14122: The specified StorageManager could not be created.
BIB-14820 The root path does not exists.
Is there something that needs to be set up so that my xml config file for bi beans connection
can be accessed properly?
This jsp works from jdeveloper.
The .xml file with the bi beans connection configuration has a root path that I am pretty sure
needs to be changed. How do I change that (my application is not based on OLAP and does not contain a BI Designer object) ? And what does it need to be changed to in order to work from my iAS?
Thanks in advance.There are three scripts provided with BI Beans for managing the catalogue:
AddGroup.sql
AddUser.sql
AddUsertoGroup.sql
Once you have created the catalog owner and installed the catalog then from SQLPlus execute the above commands as required. Each script prompts you for any arguments it requires. This will allow you to authorise users and setup groups to manage privileges within the catalog.
The scripts can be found in $ORACLE_JDEV_HOME/bibeans/bin
You can check the status of the items within the catalog via the Catalog Viewer within the JDev BIBeans project, the option is on the BIDesigner object (I think) which should launch a GUI catalog viewer.
Hope this helps
Keith Laker
Oracle EMEA Consulting
OLAP Blog: http://oracleOLAP.blogspot.com/
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
DM Blog: http://oracledmt.blogspot.com/
OWB Blog : http://blogs.oracle.com/warehousebuilder/
OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html
Maybe you are looking for
-
Top 1/2 inch of screen not displaying
Made a dumb mistake today leaving my touchpad on top of my car and drove off. The It flew off when I made a turn. Everything seems to be working except for top 1/2 inch of the screen isn't displaying, but touch function still works. I am wondering
-
Getting error related to Purchasing organisation in Enterprise buyer
Hi experts, I have created one user in the SRM server, i have given him a sufficient roles in the system, But when i am logging on to the Enterprise buyer i am getting following two errors when i click on "Carry out sourcing". 1.User data was not fou
-
How to import words document to photoshop?
I just bought photoshop Cs5. I would like to use the program to create my restaurant menu but my old menu was created in Words document . Is there a way to convert Words document to a format in photoshop so I can just edit them? need help from a begi
-
Internet not working after installing "StarTech Thunderbolt Docking Station" driver
My Internet is not working after installing "StarTech Thunderbolt Docking Station" driver although "Ethernet" and "wireless" say they're connected, still there is no internet. I have bought a "StarTech Thunderbolt Docking Station" as I need to use 2
-
Using windows 7 home premium svc pack 1 64 bit. After my last windows update the above question pops up when first starting firefox. I can close the error msg box and it seems everything works okay. It's annoying but my big concern is security. Any s