Fai;ure t deploy a spring appliucation in web logic 10
We have a simple spring application developed using eclipse. We ha ve been able to deploy the application to TOMCAT 6 on a local PC ising a war file that was generated by ANT script. The deployment to TOMCAT had no issues. When deploying the war file to an instance of BEA Weblogic 10 running on a unix box we get the following error.
The Deployment has not been installed
java.llang.StringIndexOutOfBoundsException: String index out of range: -42
Any help will be appreciated
Hi Zack, thanks for the answer.
I've cleaned the code below.
Our problem is the following: we wan't to use many keystores, in function the user who is connected in the application. For that reason, we wan't to give the keyStore from Java Client, because we've saw that, in WebLogic, you can select one keystore, but only one. For that reason, we wantto change the keystore in run time execution, dinamically.
The problem we have found are the following:
1) If we configure WebLogic with the correct keystore and trustore, we are not able to change keysotre and trustore in runtime execution, so we have to us always the same keystore and we don't want this.
2) Also, I'm trying now to use JaxWS instead Apache Cxf, and I've tried to put the ssl properties of the system with the following code:
System.setProperty(JAVAXNETSSLTRUST_STORE, trustore);
System.setProperty(JAVAXNETSSLTRUST_STORE_PASSWORD, trustStorePassword);
System.setProperty(JAVAXNETSSLKEY_STORE, keyStore);
System.setProperty(JAVAXNETSSLKEY_STORE_PASSWORD, keyStorePassword);
System.setProperty(JAVAXNETSSLKEY_STORE_TYPE, keyStoreType);
Thanks in advance,
Jaime.
Similar Messages
-
Failure to deploy a spring appliucation in web logic 10
We have a simple spring application developed using eclipse. We ha ve been able to deploy the application to TOMCAT 6 on a local PC ising a war file that was generated by ANT script. The deployment to TOMCAT had no issues. When deploying the war file to an instance of BEA Weblogic 10 running on a unix box we get the following error.
The Deployment has not been installed
java.llang.StringIndexOutOfBoundsException: String index out of range: -42
Any help will be appreciatedWhat version of the server are you using?
parvej khan wrote:
> hi all,
> can anybody have any idea that how jsp page will be deployed by
> using WebLogic Server.
>
>
> ------------------------------------------------------------------------
> Name: mess1.txt
> mess1.txt Type: Plain Text (text/plain)
> Encoding: base64
-
Deploying Shared Services manually through Web Logic Error
Hi,
Can someone help me out of this error. I'm trying to deploy shared services through weblogic. I'm getting this following error:
Status: start Failed
Description: [Deployer:149026]start application interop on SharedServices.
Begin Time: Sat Sep 10 13:29:16 PDT 2011
End Time: Sat Sep 10 13:29:54 PDT 2011
Exception: [HTTP:101216]Servlet: "WorkflowEngine" failed to preload on startup in Web application: "interop". javax.servlet.ServletException: Cannot initialize Hyperion DSF. Error: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00942: table or view does not exist at com.hyperion.cesdsf.server.framework.DsfServer.init(DsfServer.java:52) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:278) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1723) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1700) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1620) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2761) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104) at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Thanks.OS: Windows server 2003 server Sp2
Installed: Foundation services... Financial Mgmt..
Trying to configure Shared Services manually thorugh Weblogic 9.2 .
But while deploying the application I'm getting an error saying "Failed" and above error. -
Changes not showing in other instance of web logic server after deployment
Hi Everyone,
My Jdev version is 11.1.2.3.0.
I have developed one ADF application and deployed into web logic server from Jdev itself and is working fine with the URL.
Now the same EAR file is deployed into other instance of web logic server. it was working fine too.
NOw i have modified some columns in the table in ADF page and modified the URL of the page in Controller project properties Java EE Application tab and deployed the page in first instance through Jdeveloper only and is working very fine with the new URL and with the new changes.
But when i deploy this EAR file into other instance of the web logic server i got following problems:
1. URL is not being changed. --> page is running with the old URL only.
2. Changes to the ADF page is not reflected.
3. Test point for this application is blank in web logic server.
What can be the issues with this?
Any suggestions will be really useful.
Thanks.....About the context URL:
There are 2 ways to change the context URL, 1 for design time (the one you used) and 1 for deploy time.
All info here: http://one-size-doesnt-fit-all.blogspot.be/2010/12/adf-changing-your-applications-url-or.html -
Help Needed compile, deploy Web Service with Annotations on Web Logic 9.2
Hi,
I am new web logic and need some help in compiling, creating deployment file i.e. war, ear on Web Logic 9.2. I have the following sample web service with annotations code code but need help in compiling, creating deployment file (war,ear), creating proxy for testing etc. How to compile and create deployment files in WebLogic 9.2. Any help is really appreciated.
package sample_ws;
import java.rmi.RemoteException;
import javax.jws.*;
import javax.jws.soap.SOAPBinding;
import org.w3c.dom.Document;
@WebService
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class EchoService {
public EchoService() {
@WebMethod(action="echo")
@WebResult(targetNamespace="http://exa.org", name="echoResult")
public Document echo(@WebParam(targetNamespace = "http://exa.org",
name = "echoMsg")
Document doc) throws RemoteException{
return doc;
}ThanksI am using Oracle Jdeveloper as an IDE and created a war file and deployed on Oracle App. Server it works fine. Now if I deploy the same war on Web Logic it gives me the following error:
java.lang.IllegalStateException: could not find schema type named {{http}//exa.org}>>echoResult
Errors were encountered while performing this operation. Here is the code I have:
package webservice2 ;
import java.rmi.RemoteException;
import javax.jws.*;
import javax.jws.soap.SOAPBinding;
import org.w3c.dom.Document;
@WebService
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class EchoService {
public EchoService() {
@WebMethod(action="echo")
@WebResult(targetNamespace="http://exa.org", name="echoResult")
public Document echo(@WebParam(targetNamespace = "http://exa.org",
name = "echoMsg")
Document doc) throws RemoteException{
return doc;
}And here is the wsdl file I have:
<definitions
name="EchoServiceService"
targetNamespace="http://webservice2/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://webservice2/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns1="http://exa.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://exa.org" elementFormDefault="qualified"
xmlns:tns="http://exa.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<element name="echoMsg" nillable="true">
<complexType>
<sequence>
<any/>
</sequence>
</complexType>
</element>
<element name="echoResult" nillable="true">
<complexType>
<sequence>
<any/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="EchoServicePortType_echo">
<part name="echoMsg" element="ns1:echoMsg"/>
</message>
<message name="EchoServicePortType_echoResponse">
<part name="echoResult" element="ns1:echoResult"/>
</message>
<portType name="EchoService">
<operation name="echo">
<input message="tns:EchoServicePortType_echo"/>
<output message="tns:EchoServicePortType_echoResponse"/>
</operation>
</portType>
<binding name="EchoServiceSoapHttp" type="tns:EchoService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="echo">
<soap:operation soapAction="echo"/>
<input>
<soap:body use="literal" parts="echoMsg"/>
</input>
<output>
<soap:body use="literal" parts="echoResult"/>
</output>
</operation>
</binding>
<service name="EchoServiceService">
<port name="EchoServiceSoapHttpPort" binding="tns:EchoServiceSoapHttp">
<soap:address location="http://localhost:8888/EnableSrc-WebService2-context-root/EchoServiceSoapHttpPort"/>
</port>
</service>
</definitions>Any ideas what might be wrong. -
Web services - web logic 10.3.3.0 - spring
I have an application which is implemented with spring and uses web services.
I am trying to deploy it on Web Logic 10.3.3.0 but I get the error:
:com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:6 counts of IllegalAnnotationExceptions
I deploy the same application(war file) on web logic 10.3.0.0 and it works fine.
I can not figure it out what is so different in the new version of the web logic.
I use in the applicationContext.xml of the Spring:
<wss:binding url="/webService/documentB" >
<wss:service>
<ws:service bean="#webService.documentB" impl="moi.DocumentsService" />
</wss:service>
</wss:binding>
<!-- simplest definition only needs the class name -->
<bean id="webService.documentB" class="moi.DocumentsService">
<property name="publicDocumentDao" ref="publicDocumentDao"></property>
</bean>
In web.xml file:
<!-- JAX-WS RI dispatcher servlet -->
<servlet>
<servlet-name>jaxws-servlet</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSSpringServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>jaxws-servlet</servlet-name>
<url-pattern>/webService/*</url-pattern>
</servlet-mapping>
DocumentsService.java is:
@WebService
public class DocumentsService {
private PublicDocumentDao mPublicDocumentDao;
// Injected with spring
public void setPublicDocumentDao(PublicDocumentDao aDao) {
mPublicDocumentDao = aDao;
//constructor
public DocumentsService() {
@WebMethod
public DocumentInfoResult requestDocumentInfo(@WebParam(name = "documentInfoRequest")
DocumentInfoRequest aDocumentInfoRequest) {
return mDocument;
I am using Spring 2.0 , Hibernate 3, Struts 1.
The log file of the weblogic 10.3.3.0 is:
weblogic.application.ModuleException: :com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:6 counts of IllegalAnnotationExceptions
at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:448)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:297)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:73)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:265)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:514)
at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:333)
at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:45)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFromFactoryBean(AbstractBeanFactory.java:1246)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:221)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener.contextInitialized(Unknown Source)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Edited by: user5165836 on 14-Jul-2011 05:41Hi,
I solved the problem with adding an extra jar file to the project:
com.springsource.org.jvnet.jax_ws_commons.spring-1.8.0.jar. -
hi,
We have a Browser based InfoPath Form deployed on a Claims based Web Application. We are tyring to call WCF Services that are secure using Certificates via the Data Connections on Infopath Form.
Earlier we used to get the Data in BCS External List via the WCF Services and the Data Connections used to get the Data from the BCS External List. Due to Performance Issues, we want to remove the BCS External List and straightaway call the secure WCF Services
via the Data Connections.
Have anyone implemented this scenario.
Thanks
Ram
Thanks RamHi Ram,
As these are browser based InfoPath forms, you have two options
1) Deploy as sandboxed forms
In this case you have to create a secure store application id and then set the credentials for that account.
You then have to export the data connection to Data connections library and modify the .udcx file to utilize the newly created secure store application id.
This may sometime give issues related to sandboxed code service. You have to give permissions on the secure store for the user account which the sandboxed code service is running.
2) Deploy as administrator approved forms
This would be ideal way of doing things as you have full control over the web request if you write code behind InfoPath forms.
3) Deploy as a Hybrid solution
a) Write a full trust proxy solutions (extend SPProxyOperation class and override execute method) and make the web request call inside this and return the response
b) Invoke above operation from the sandboxed InfoPath form's code behind by SPUtility.RegisteredProxyOperation(four part assembly name, operation args)
Hope this helps.
Thanks,
Srikanth -
Unable to deploy a form on the Web!!
Hi,
I am unable to deploy my form onto the web.
The following is the error message :
Oracle Forms Web CGI: Error detected
Your request cannot be serviced at this time due to the following error:
ERROR: Cannot open baseHTML file %FORMS60%\server\tester.htm.
Pls help me out in solving the problem.
Thanks in advance
Vishant<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vishant Shenoy ([email protected]):
Hi,
I am unable to deploy my form onto the web.
The following is the error message :
Oracle Forms Web CGI: Error detected
Your request cannot be serviced at this time due to the following error:
ERROR: Cannot open baseHTML file %FORMS60%\server\tester.htm.
Pls help me out in solving the problem.
Thanks in advance
Vishant<HR></BLOCKQUOTE>
The most likely thing is that the file tester.htm is not in the directory %FORMS60%\server\
null -
Error deploying entity bean on web logic server
i am trying to deploy a container managed persistence entity bean on web logic server when i run the command ejbc which generates the final jar file ready to deploy having its stub and skeleton it gives me the error that the return type of create(int) method should have a type of bean home interface while in accordance with ejb1.1 specicication it should be the type of primary key and a null value should be returned.
plz let me know where i am doing it wrong.thanks for ur quick response sir i am using this services provided by sun microsystem first time and
am really thankful to Sun Microsystem for this great deal of help to the new commers but sir my problem is still there.
following is the method which i have written in the code
public InvoicePK ejbCreate(int id)
this.id=id;
return null;
and here it is the error generated by the server deployment tool.
[9.2.8] In EJB Invoice, the return type for the create method create(int) must be the bean's remote interface type.
[9.2.8] In EJB Invoice, the findByPrimaryKey method must return the Entity bean's remote interface type.
[9.2.8] In EJB Invoice, the return type for the method findByPrimaryKey(com.swi.InvoicePK) must be the entity bean's remote interface type (for a single-object finder) or a collection thereof (for a mult-object finder).
the detail of files created by me are as follows.
1. Invoice (Entity Bean)
2. InvoicePK (Primary Key file)
3. MyRemoteInterface (remote interface for entity bean)
4. MyHomeInterface (home interface for entity bean)
plz let me know where i am doing wrong and oblige. -
Single Sign on for 2 Web Applications deployed on Web Logic Server
We want to implement single sign on for our application.
We want to deploy 2 applications(JSF/ADF) on web logic server say
webapp1 and webapp2.
If user already logged into webapp1 with valid userid and password and
then he access the link for webapp2 he should not be asked to provide
the credential details userid and password.
How we can implement this
1. If user credentials are maintained/authenticated against LDAP
2. If user maintained/authenticated are from databaseyou are in the wrong forum. This one is related to Oracle forms. Try the ADF-forum instead.
-
Forms , Reprots10g Deployment on Web Logic Server
Currently, I am hosting my Forms and Reports 10g on Oracle Application Server 10g on Redhat Linux AS 4.
How would I host Forms and Reports 10g on Web Logic Server?
regards>
bhupinder singh wrote:
> Do you have a clustered deployment? ( of CMS?)
No, my scenario did not involve clustered CMSs.
>
Is your CMS on the same machine as WebLogic?
No, my scenario was with 2 servers. CMS on Server 1, WebLogic on Server 2.
>
I have two environments.
>
> One is two machine ( cms on both and Weblogic is on the same servers as CMS)
>
> Another one ( Pro) have three servers only dedicated to Weblogic, 4 cms's but on different machines.
>
> This solution didn't worked at my end.
As you have a BOE cluster running, try setting the domain value in the dsws.properties file to @clustername or clustername. -
Servlet class not found error deploying a WAR on Web Logic Server 8.1
I'm re-deploying an updated web application to a web logic server, but when I navigate to the login page of the web application to test it, I get a class not found error for my login servlet. I have both the web.xml and the weblogic.xml descriptors in my WEB-INF directory, and all of my compiled classes are in the WEB-INF/classes directory, is there something else I'm missing? Any help would be much appreciated.
Thanks for the response. Here's the web.xml file:
<?xml version="1.0" ?>
<!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 Forms</display-name>
<servlet>
<servlet-name>LoginServlet</servlet-name>
<display-name>LoginServlet</display-name>
<servlet-class>LoginServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ChangePasswordServlet</servlet-name>
<display-name>ChangePasswordServlet</display-name>
<servlet-class>ChangePasswordServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>LogoutServlet</servlet-name>
<display-name>LogoutServlet</display-name>
<servlet-class>LogoutServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>PageServlet</servlet-name>
<display-name>PageServlet</display-name>
<servlet-class>PageServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>UploadServlet</servlet-name>
<display-name>UploadServlet</display-name>
<servlet-class>UploadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/LoginServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ChangePasswordServlet</servlet-name>
<url-pattern>/ChangePasswordServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LogoutServlet</servlet-name>
<url-pattern>/LogoutServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>UploadServlet</servlet-name>
<url-pattern>/UploadServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PageServlet</servlet-name>
<url-pattern>/PageServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>Login.jsp</welcome-file>
</welcome-file-list>
</web-app>
None of the classes are in a package (I know it's not the best idea, but I didn't write these, I'm just doing some updates). So the file structure is pretty much just WEB-INF/classes/
At the moment I've got a fix by just putting the entire project (not in any sort of archive) on the server itself instead of deploying it as a WAR, any thoughts on why the WAR isn't working would be much appreciated though. -
Deploying war files on iplanet web server 6.0
Hello All,
I tried to deploy an war file on iplanet web server 6.0 using both command line wdeploy and iplanet webserver browser based admin tool. Both the times it did say successfully deployed. I checked the WEB-INF files and it does contain all class files..But the problem is when I try to post a form to one of the class files the error log says as if it cannot find the class file.(I tried the sample app HelloWorld supplied by vendor)
=========
05/Mar/2002:13:19:14] config (13777): for host xx.xx.xx.xx trying to POST /samples/helloworld/GreeterServlet, handle-processed reports: The request method is not applicable to this requested resource.
=================
any help in this regards is appreciated
Thanks
sudhirHello,
I got few steps to deploy the WAR file, if you followed the same steps and got the error then ignore this else try with this steps.
a) Set your environment variable IWS_SERVER_HOME to your server_root directory.
b) Add the server_root/bin/https/httpsadmin/bin directory to your classpath.
c) Configure your virtual server for web applications.
From the Server Manager page, select the VirtualServerClass tab, select a Class, and click the Manage button.
Select a Virtual Server and go to the Java Web Apps Settings page for that virtual server. Make sure that the virtual server has Web Apps State turned On, and web-apps.xml is the name of Web Apps File.
To extract the sample WAR file HelloWorld.war in server_root/plugins/servlets/examples/web-apps/HelloWorld, use the wdeploy command as follows:
wdeploy deploy -u /hello -i server.iplanet.com -v testvs -d
/iws60/https-server.mydomain.com/testvs/web-apps/hello
/iws60/plugins/servlets/examples/web-apps/HelloWorld/HelloWorld.war
The syntax for the command is as follows:
wdeploy deploy -u uri_path -i instance -v vs_id [-d directory] war_file
uri_path Specify the URI prefix (a path to access the web application from the browser).
instance Specify the server instance name. (Note: Do not include "https" in the front.)
vs_id Specify the Virtual Server name as it appears on the Manage Virtual Servers page.
directory Specify a directory to extract WAR files. If this directory doesn't exist already, it will be created for you now.
war_file Specify the name of the WAR file.
If the WAR file is extracted successfully, the message "web application deploy successful" appears at the command line.
For verification, go to the /iws60/https-server.iplanet.com/testvs/web-apps/hello directory. It should have the following contents:
colors
index.jsp
META-INF
WEB-INF/
web.xml
/classes/
HelloWorldServlet.class
HelloWorldServlet.java
SnoopServlet.class
SnoopServlet.java
In the server_instance/config directory, the web-apps.xml file should have the following entry:
<vs>
<web-app uri="/hello"
dir="/iws60/https-server.iplanet.com/testvs/web-apps/hello"/>
</vs>
Restart the server instance from the command line or go to the admin GUI and apply configuration changes to the server instance.
Now when you access the webserver instance in your browser, the Error log of that server instance will record successful initialization of the web application environment(web-apps.xml) for the virtual server(vs name). You can access the web application from a browser as follows:
http://server.Mydomain.com:80/hello/index.jsp
or:
http://server.Mydomain.com/hello/
The syntax is as follows:
http://vs_urlhost[:vs_port]/uri_path/[index_page]
Thanks
Selva -
Deploying Developer Application on to Web Site
Hi Guys
Presently I am working on Developer/2000 1.6.1 release. I would like to deploy my application on to Web Site, I would be very glad any one tell me how to go about this. what all the softwares I would be required and will the same application can be deployed on to the WEB Server
Thanks in advance
Karan
nullFollw the path
Application Builder > Your Application - 101 > Export/Import > Application
there if you are selecting DOS, you will get a sql file.
then you can on the server side...
Import this file as application
_Smith -
Deploy forms and reports on web
i want to implement three tier archi. using oracle9i app.server.i want to build a project in which i want to
reside my application on middle tier and do want to install forms and report runtime environment on my company network at client side.
can any my friend tell me how i can do this.
whether i will use forms 6i. server or oracle 9i app.server.All the information on deploying Oracle Forms on the Web is at the Forms Upgrade Center http://otn.oracle.com/formsupgrade
Forms 6i means you need Oracle9iAS V1.0.2
Oracle9i Forms means you need Oracle9iAS v2
Both of them are web enabled.
Maybe you are looking for
-
0x80004005 error when printing SSRS rdlc report
Hi there I have a small app that is published in MS azure with RDLC integrated reports. The application runs using IE and the system asks me to install the SQL Server Report Service 2012 add-in. I added with no issues but I am getting a 0x80004005 er
-
I have been trying to find an e-mail address for Apple problems that are not on your list of questions usually asked. Could you therefore let me have an e-mail address for being able to sort a problem I have with i-tunes purchasing for audo books as
-
Please can someone help me -before I get carted off to the funny farm! I recently bought a 7000 wide format and as I live in Spain, I had it sent out from Amazon to me. No problem there - I installed it and started to print. I was well pleased.....
-
Hello everybody, can I put a picture slideshow into my iWeb page? Are there any different possibilities? I just found some specific discussions here so I started this one to get an allround-information. Best regards
-
BPM build for asyc to sync to async scenario
Hi , I have a scenario where 1. abap proxy triggers and sends no of records and sequence id... 2. i'l update the JDBC recvr 3.the JDBC sends an acknowledgement no of records updated. kindly help how to build a BPM for this scenario to compare the n