JWS Error on localhost
Hi,
I have an interlan IP address, so 192.168.30.165, and on this machine i have installed Tomcat last version and JRE 1.4_rc, i have developed a chat, and configured the server for JWS.
when i click on the link in html page, JWS start, but this error message appear:
Si � verificato un errore durante l'avvio/l'esecuzione dell'applicazione.
Titolo: chat
Fornitore: gerasimone
Categoria: Errore di scaricamento
Impossibile caricare la risorsa: http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.JNLPServlet/j2se/javaws-1_0_1-j2re-1_4_0-inst-win-i.jar
what is this?
my pc is not a very server, and I'm conncted to internet behind firewall...
please help me!
thanks
Simone Gerardiello Computime srl, Roma,Italia
I believe this is because the JWS is trying to download a new JRE. This is because it cannot find a JRE as specified in the JNLP file. Make sure you have added all your JRE's in the JWS application managers preferences and that you have the JRE specifed in the JNLP file. If you have added all your JRE's to the JWS preferences, you can circumvent the bug by setting proper <j2se version> tags. Add a tag for every major JRE that can run your app. For example, if your app needs minimum 1.3, but also works with 1.4, then write this in your JNLP file:
<resources>
<j2se version="1.4"/>
<j2se version="1.3"/>
<jar href="MyApp.jar"/>
</resources>I encountered the same problem like you are having when I ommitted the <j2se version="1.4"/> and thought that <j2se version="1.3+"/> was enough.
- Daniel
Similar Messages
-
ERROR partner 'localhost:sapgw00' not reached
Hi,
i have BI system with portal. when i am trying to connetct portal with url http://<hostnaem>/<ip>:<portnumber>/irj/portal ---it is displaying as 500 internel server error with java.lang.NullPointerException: null .
i am keeping here two logfiles 1.dev_jrfc.trc 2.defaulttrace.trc here under for your reference.
1..dev_jrfc.trc --log
Error> occured >Tue Feb 17 04:52:46,483<
RfcException:
message: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner 'localhost:sapgw00' not reached
TIME Tue Feb 17 04:52:46 2009
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2513
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 10
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
Error> occured >Tue Feb 17 04:52:46,503<
RfcException:
message: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner 'localhost:sapgw00' not reached
TIME Tue Feb 17 04:52:46 2009
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2513
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 12
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
2.DefaultTrace.trc --log
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[./log/defaultTrace.trc]/>
<!PATTERN[defaultTrace.trc]/>
<!FORMATTER[com.sap.tc.logging.ListFormatter]/>
<!ENCODING[UTF8]/>
<!FILESET[14, 20, 10485760]/>
<!PREVIOUSFILE[defaultTrace.13.trc]/>
<!NEXTFILE[defaultTrace.15.trc]/>
<!LOGHEADER[END]/>
#1.5 #00144FAC097C006C000000550000723800045E43F3A75D87#1229545850494#com.sap.engine.services.security#sap.com/tcjetrace~app#com.sap.engine.services.security#J2EE_GUEST#0##n/a##2f24ad50cc6c11dd974500144fac097c#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Security#Java#security_3031##Cannot get run_as identity for the security role "admnistrator".#1#admnistrator#
#1.5 #00144FAC097C006C000000560000723800045E43F3A776EC#1229545850500#com.sap.engine.services.security#sap.com/tcjetrace~app#com.sap.engine.services.security#J2EE_GUEST#0##n/a##2f24ad50cc6c11dd974500144fac097c#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.security.exceptions.BaseSecurityException: Cannot get run_as identity for the security role "admnistrator".
at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getRunAsIdentity(SecurityRoleContextImpl.java:662)
at com.sap.engine.services.security.roles.SecurityRoleReference.getRunAsIdentity(SecurityRoleReference.java:183)
at com.sap.engine.services.servlets_jsp.server.runtime.context.SessionServletContext.getSubject(SessionServletContext.java:598)
at com.sap.engine.services.servlets_jsp.server.runtime.context.ApplicationContext.getSubject(ApplicationContext.java:893)
at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.destroyServlets(WebComponents.java:720)
at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadDestroyer.run(ApplicationThreadDestroyer.java:62)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.security.api.PrincipalNotAccessibleException: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner 'localhost:sapgw00' not reached
TIME Wed Dec 17 15:30:50 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2513
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 16
at com.sap.security.core.imp.AbstractPrincipal.getPrincipalDatabagValues(AbstractPrincipal.java:1787)
at com.sap.security.core.imp.Principal.setDirectChildrenInternal(Principal.java:501)
at com.sap.security.core.imp.AbstractPrincipalSet.getUserMembersInternal(AbstractPrincipalSet.java:393)
at com.sap.security.core.imp.AbstractPrincipalSet.getUserMembers(AbstractPrincipalSet.java:210)
at com.sap.security.core.imp.AbstractPrincipalSet.getUserMembers(AbstractPrincipalSet.java:129)
at com.sap.security.core.imp.GroupWrapper.getUserMembers(GroupWrapper.java:29)
at com.sap.security.core.server.userstore.GroupInfoUME.engineGetUsersInGroup(GroupInfoUME.java:181)
at com.sap.security.core.server.userstore.GroupContextUME.engineGetUsersOfGroup(GroupContextUME.java:379)
at com.sap.engine.services.security.userstore.context.GroupContext.getUsersOfGroup(GroupContext.java:191)
at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getUserFromGroup(SecurityRoleContextImpl.java:775)
at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getUserFromRole(SecurityRoleContextImpl.java:763)
at com.sap.engine.services.security.roles.SecurityRoleContextImpl.generateValidRunAsPrincipal(SecurityRoleContextImpl.java:719)
at com.sap.engine.services.security.roles.SecurityRoleContextImpl.getRunAsIdentity(SecurityRoleContextImpl.java:610)
... 9 more
#1.5 #002128049C66006D00000049000023EF0004631BF918D17E#1234871701262#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/irj#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##ce792bd0fce911dda3de002128049c66#SAPEngine_Application_Thread[impl:3]_12##0#0#Error##Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error. The error is: java.lang.NullPointerException
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
#1.5 #002128049C66006D0000004B000023EF0004631BF918E565#1234871701267#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/irj#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0##n/a##ce792bd0fce911dda3de002128049c66#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/Server/WebRequests#Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [002128049C66006D00000049000023EF0004631BF918D17E]#
#1.5 #002128049C66007200000033000023EF0004631BFBCDBE0A#1234871746674#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/irj#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##e98aa520fce911ddb1ff002128049c66#SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error. The error is: java.lang.NullPointerException
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
#1.5 #002128049C66007200000035000023EF0004631BFBCFAC76#1234871746800#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/irj#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0##n/a##e98aa520fce911ddb1ff002128049c66#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#/System/Server/WebRequests#Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [002128049C66007200000033000023EF0004631BFBCDBE0A]#
#1.5 #002128049C66006700000026000023EF0004631DEA2AFCFF#1234880040729#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/irj#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##392f0090fcfd11ddbd79002128049c66#SAPEngine_Application_Thread[impl:3]_26##0#0#Error##Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error. The error is: java.lang.NullPointerException
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
#1.5 #002128049C66006700000028000023EF0004631DEA2B0507#1234880040731#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/irj#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0##n/a##392f0090fcfd11ddbd79002128049c66#SAPEngine_Application_Thread[impl:3]_26##0#0#Error#1#/System/Server/WebRequests#Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [002128049C66006700000026000023EF0004631DEA2AFCFF]#
please help on this issueHi,
Somewhere the address is not getting resolved. I would suggest you to enter IP address instead of the hostname in the RFC (SM59).
Hope this helps.
Manoj Chintawar -
Below are the error messages that are being returned to me upon opening a linke to a .jnlp file on my Tomcat server. The JWS will load everything perfectly fine by clicking on a local copy of the .jnlp file, however, if I click a URL from the server pointing to the file that resides on the server (identical to the local copy in every way), it will give me this slew of messages.
Anybody have any clue?? This is my first deployed JWS application so it's possible I'm overlooking something obvious, but I've done some reading and haven't come up with anything so far.
***********Exception*************
JNLPException[category: Download Error : Exception: java.io.IOException: Server returned HTTP response code: 502 for URL: http://fmssql:8080/fms.jnlp : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
*********Wrapped Exception*************
java.io.IOException: Server returned HTTP response code: 502 for URL: http://fmssql:8080/fms.jnlp
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:238)
at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
**********Launch File*************
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="0.2 1.0"
codebase="http://fmssql:8080/ "
href="fms.jnlp">
<information>
<title>FMS App</title>
<vendor>xxxxx</vendor>
<homepage href="http://xxxxx.com "/>
<description>xxxxx</description>
<description kind="short">fms</description>
<--<icon href="images/draw.jpg"/>
<offline-allowed/>
</information>
<resources>
<j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se"/>
<j2se version="1.3+"/>
<jar href="fms.jar" main="true" download="eager"/>
</resources>
<application-desc main-class="com.fms.source.FMSApplicationMenu"/>
</jnlp>In my reading I've uncovered that apparantly I need to add the .jnlp extensions to my webserver (Tomcat). Is this the right path or is it added by default? I'm using version 4.1.x.
Thanks,
David -
DNS error for localhost:8080 with Tomcat
jdk1.2.2 is up and running and then I installed Tomcat on my Windows2000 PC.
Then in a DOS window I did this:
C:\Program Files\Apache Group\Tomcat 4.1\bin>startup
And this display resulted:
Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1\
Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1\
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\\temp
Using JAVA_HOME: C:\jdk1.2.2
But I get "Cannot find server or DNS error" when I try
http://localhost:8080/ or http://127.0.0.1:8080/admin
Any suggestions would be appreciated.
Thanks!Apparently the problem was caused by incompatibility between jdk1.2.2 and Tomcat4 as discussed in another topic on this forum.
When I switched to a Tomcat3 version, everything worked fine. -
Apache can't start with " error resolving localhost ..."
Hi,
I have Oracle 9.2.0.4 installed on a White Box Linux. This installation for some reason shows an Apache problem:
When I try to start Apache then I have an error message stating the following
"date and time [error] OPM: PRIV: error resolving host name localhost"
then a message saying that httpd could not be started.
This error is not added to the log file but displayed instead on the screen. Morever, files with names mm.*.sem and mm.*.mem are created in $ORACLE_HOME/Apache/Apache/logs.
When I try "ping localhost" on this machine I have no problem and the name is correctly resolved!
Can any one please tell me what could it be?Michel -
Any time. That's quite odd. And has your /etc/hosts
file changed at all? Is the first line setup
correctly to only include localhost and
localhost.localdomain?Yes it is.
Are you calling apachctl from
$ORACLE_HOME/Apache/Apache/bin? Well, I copy the file to /etc/init.d and launch Apache from there at startup. The reason is that I have changed the ports on which Apaceh will listen to 80.
You said you could
ping localhost successfully, but have you been able
to ping the localhost by name?Yes. I did. Note please that the name of the machine is lx_26_100.
ping localhost
ping 127.0.0.1
ping lx_26_100
ping 10.26.1.100
All of that works fine!
Have you tried
changing the value of the ServerName parameter from
the localhost's name to its IP address?
Well I didn't try this. I'll try it. However, the error message doesn't speak about lx_26-100 but instead it speaks about localhost not beeing resolved.
By the way, what are the files mm.*.mem and mm.*.sem in the logs of Appache?
-shawnThanks Shawn. -
Hi guys,
I'm newbie in EJB and Webservices, and I got the following error when I run the project:
<faultcode>JWSError</faultcode>
<faultstring>com.bea.xml.marshal.XmlEncodingException: Encountered an object of unrecognized type. Type 'com.provider1.HospitalEJB_5mt8s3_ELOImpl' should be added to include-java-types.</faultstring>
<detail>
com.bea.wlw.runtime.core.request.ResponseValidationException: com.bea.xml.marshal.XmlEncodingException: Encountered an object of unrecognized type. Type 'com.provider1.HospitalEJB_5mt8s3_ELOImpl' should be added to include-java-types.
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:40)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:261)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:54)
at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:160)
at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:100)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Dispatcher.java:49)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.exploreExec(HttpServerHelper.java:285)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:603)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: com.bea.xml.marshal.XmlEncodingException: Encountered an object of unrecognized type. Type 'com.provider1.HospitalEJB_5mt8s3_ELOImpl' should be added to include-java-types.
at com.bea.xml.marshal.MarshalContext.error(MarshalContext.java:148)
at com.bea.xml.marshal.PolymorphicMPlan.marshal(PolymorphicMPlan.java:30)
at com.bea.xml.marshal.MarshalContext.writeElementObjectOrHref(MarshalContext.java:436)
at com.bea.xml.marshal.BaseMPlan.writeValueUsingStrategy(BaseMPlan.java:307)
at com.bea.xml.marshal.BaseMPlan.marshal(BaseMPlan.java:358)
at com.bea.xml.marshal.MethodMPlan.marshal(MethodMPlan.java:261)
at com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:377)
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.writePart(MimeXmlResponse.java:106)
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:98)
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:36)
... 21 more
So, I don't know how to fix this error... anyone can help me?
Thanks,
FolleyHave you fixed this error. I am getting a same error...
<faultstring>com.bea.xml.marshal.XmlEncodingException: Encountered an object of unrecognized type. Type 'com.gm.gsip.domain.dto.VehicleDataDTO' should be added to include-java-types.</faultstring>
<detail>
com.bea.wlw.runtime.core.request.ResponseValidationException: com.bea.xml.marshal.XmlEncodingException: Encountered an object of unrecognized type. Type 'com.gm.gsip.domain.dto.VehicleDataDTO' should be added to include-java-types.
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.setReturnValue(Ljava.lang.Object;)V(MimeXmlResponse.java:40)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:259)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:54)
at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(SyncDispatcherBean.java:168)
at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(SyncDispatcher_k1mrl8_EOImpl.java:46)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Lcom.bea.wlw.runtime.core.dispatcher.DispFile;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(Dispatcher.java:161)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Lcom.bea.wlw.runtime.core.dispatcher.DispFile;Lcom.bea.wlw.runtime.core.request.Request;Ljavax.servlet.http.HttpServletResponse;Ljavax.servlet.ServletContext;)V(Dispatcher.java:49)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.exploreExec(Lcom.bea.wlw.runtime.core.dispatcher.DispUnit;Lcom.bea.wlw.runtime.core.dispatcher.HttpRequest;Ljavax.servlet.http.HttpServletResponse;Ljavax.servlet.ServletContext;)Ljava.lang.String;(HttpServerHelper.java:285)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Ljavax.servlet.ServletContext;Ljavax.servlet.ServletConfig;)V(HttpServerHelper.java:603)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServer.java:81)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6722)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
Caused by: com.bea.xml.marshal.XmlEncodingException: Encountered an object of unrecognized type. Type 'com.gm.gsip.domain.dto.VehicleDataDTO' should be added to include-java-types.
at com.bea.xml.marshal.MarshalContext.error(Ljava.lang.String;)Lcom.bea.xml.marshal.XmlEncodingException;(MarshalContext.java:148)
at com.bea.xml.marshal.PolymorphicMPlan.marshal(Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalContext;)V(PolymorphicMPlan.java:30)
at com.bea.xml.marshal.MarshalContext.writeElementObjectOrHref(Ljavax.xml.namespace.QName;Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalPlan;ZZ)V(MarshalContext.java:436)
at com.bea.xml.marshal.ArrayMPlan.marshal(Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalContext;)V(ArrayMPlan.java:122)
at com.bea.xml.marshal.MarshalContext.writeElementObjectOrHref(Ljavax.xml.namespace.QName;Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalPlan;ZZ)V(MarshalContext.java:436)
at com.bea.xml.marshal.BaseMPlan.writeValueUsingStrategy(Ljava.lang.Object;Lcom.bea.xml.marshal.BaseMPlan$ElementStrategy;Lcom.bea.xml.marshal.MarshalContext;)V(BaseMPlan.java:307)
at com.bea.xml.marshal.BaseMPlan.marshal(Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalContext;)V(BaseMPlan.java:349)
at com.bea.xml.marshal.MarshalContext.writeElementObjectOrHref(Ljavax.xml.namespace.QName;Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalPlan;ZZ)V(MarshalContext.java:436)
at com.bea.xml.marshal.BaseMPlan.writeValueUsingStrategy(Ljava.lang.Object;Lcom.bea.xml.marshal.BaseMPlan$ElementStrategy;Lcom.bea.xml.marshal.MarshalContext;)V(BaseMPlan.java:307)
at com.bea.xml.marshal.BaseMPlan.marshal(Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalContext;)V(BaseMPlan.java:349)
at com.bea.xml.marshal.MethodMPlan.marshal(Ljava.lang.Object;Lcom.bea.xml.marshal.MarshalContext;)V(MethodMPlan.java:251)
at com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml([Ljava.lang.Object;Ljavax.xml.soap.SOAPMessage;Lcom.bea.jws.Protocol;Ljava.util.Map;)Ljava.lang.String;(DispMessage.java:377)
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.writePart(Lcom.bea.wlw.runtime.core.dispatcher.DispMessage;[Ljava.lang.Object;)V(MimeXmlResponse.java:106)
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.writeOutputPart(Ljava.lang.Object;)V(MimeXmlResponse.java:98)
at com.bea.wlw.runtime.jws.request.MimeXmlResponse.setReturnValue(Ljava.lang.Object;)V(MimeXmlResponse.java:36)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:259)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:54)
at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(SyncDispatcherBean.java:168)
at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(SyncDispatcher_k1mrl8_EOImpl.java:46)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Lcom.bea.wlw.runtime.core.dispatcher.DispFile;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(Dispatcher.java:161)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Lcom.bea.wlw.runtime.core.dispatcher.DispFile;Lcom.bea.wlw.runtime.core.request.Request;Ljavax.servlet.http.HttpServletResponse;Ljavax.servlet.ServletContext;)V(Dispatcher.java:49)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.exploreExec(Lcom.bea.wlw.runtime.core.dispatcher.DispUnit;Lcom.bea.wlw.runtime.core.dispatcher.HttpRequest;Ljavax.servlet.http.HttpServletResponse;Ljavax.servlet.ServletContext;)Ljava.lang.String;(HttpServerHelper.java:285)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Ljavax.servlet.ServletContext;Ljavax.servlet.ServletConfig;)V(HttpServerHelper.java:603)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServer.java:81)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6722)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121) -
Infrastructure.jws error
HI OTN
I encounter this error: C:\Infrastructure\DBSchema\build.xml:334: C:\Infrastructure\Ant\modules\oracle.javacache_11.1.1 not found.
in my infrastructure.jws project. I have specify my jdeveloper home and I have also check that the file is in my jdeveloper home.
Please helpTimmie -
Shay's correct, if you are using the Bulldog release of JDeveloper 11.1.1.0.0 (Help > About: JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156), use this version of FOD:
http://www.oracle.com/technology/products/jdev/samples/fod/fod_11.zip
If you are using the R1 release of JDeveloper 11.1.1.1.0 (Help > About: JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407), use this version of FOD:
http://download.oracle.com/otn/java/jdeveloper/111/extensions/FusionOrderDemo_R1.zip
These versions of FOD are not interchangeable with different versions of JDev.
Also, make sure that you specify the jdeveloper.home entry properly in the build.properties file, including the 'jdeveloper' entry. My jdeveloper.exe is located at:
c:\jdev\r1\jdeveloper\jdeveloper.exe, so I specify the jdeveloper.home property as follows:
jdeveloper.home=C:/jdev/r1/jdeveloper
Hope this helps,
Lynn Munsinger
Oracle JDeveloper & ADF Product Management -
JWS error: 503 Service Unavailable
Ifs is running, i can map it in Windows Explorer or acces it via ftp.
But when trying to connect via WEB, i get the message: 503 Service Unavailable.
I checked The Java Web Server administration on port 1717 and it reports that JWS is running.
We have on the same machine Apache Web server which runs on port 80, so we use port 81 for JWS.
Any idea?We've worked it out.
Thanks to Oracle Metalink...
"If other protocols come up fine, this usually means that one of the following
is not set correctly in the IfsDavServletParameters.properties file (in
$IFSHOME/settings/oracle/ifs/protocols/dav/impl/properties):
ifs.dav.guestusername=username
ifs.dav.guestpassword=password
Change the password in the IfsDavServletParameters.properties file and restart
iFS"
null -
[SOLVED] Apache Access forbidden Error 403 localhost
Hello,
I believe this should be some thing very stupid, but I can't find it... so here I am.
I have just installed apache (# pacman -S apache)
Configured httpd.comf, and created 2 virtual hosts with extra/httpd-vhosts.conf
When I believed every thing was ok, I have started Apache as root (# apachectl start)
Started ok, no errors (also tried start it as user with sudo, and /etc/init.d/httpd start)
So when I go to http://localhos (or the virtual host) I allways get Access forbidden Error 403
I have set 777 permissions to /srv/http and the virtual host (/home/username/local-web/site1.dev)
I have tried every thing , changed dir owners to "http:http" ...
At the Apache error log I get:
"[Thu Oct 29 02:39:48 2009] [error] [client 127.0.0.1] (13)Permission denied: access to / denied"
There is a very simple plain index.html file at /srv/http and the virtual host, all file/dir permissions very permisive... so that can't be the problem.
Am I missing some thing? Do I need to manually create the "http" user and/or add it to some group?
Last edited by iopo (2009-10-29 22:06:59)Ok, here's the code:
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
# with ServerRoot set to "/etc/httpd" will be interpreted by the
# server as "/etc/httpd//var/log/httpd/foo_log".
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
ServerRoot "/etc/httpd"
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80
Listen 80
# Dynamic Shared Object (DSO) Support
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
# Example:
# LoadModule foo_module modules/mod_foo.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule substitute_module modules/mod_substitute.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule log_forensic_module modules/mod_log_forensic.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule ident_module modules/mod_ident.so
LoadModule usertrack_module modules/mod_usertrack.so
# LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule cgid_module modules/mod_cgid.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User http
Group http
</IfModule>
</IfModule>
# 'Main' server configuration
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. [email protected]
ServerAdmin [email protected]
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
# If your host doesn't have a registered DNS name, enter its IP address here.
#ServerName www.example.com:80
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "/srv/http"
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# First, we configure the "default" to be a very restrictive set of
# features.
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
# This should be changed to whatever you set DocumentRoot to.
<Directory "/srv/http">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
# Options Indexes FollowSymLinks
Options Indexes All
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride None
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
<Directory "/home/gral/web-sit/local">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
# this was just a test
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog "/var/log/httpd/error_log"
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
<IfModule log_config_module>
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
CustomLog "/var/log/httpd/access_log" common
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#CustomLog "/var/log/httpd/access_log" combined
</IfModule>
<IfModule alias_module>
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
</IfModule>
<IfModule cgid_module>
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#Scriptsock /var/run/httpd/cgisock
</IfModule>
# "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "/srv/http/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
DefaultType text/plain
<IfModule mime_module>
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
TypesConfig conf/mime.types
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#AddType application/x-gzip .tgz
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#AddHandler cgi-script .cgi
# For type maps (negotiated resources):
#AddHandler type-map var
# Filters allow you to process content before it is sent to the client.
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#MIMEMagicFile conf/magic
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#EnableMMAP off
#EnableSendfile off
# Supplemental configuration
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.
# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf
# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule> -
MySQL error on localhost, but not remote!!
I am getting an error of:
Warning: mysql_free_result() expects parameter 1 to be resource, null given in /Users.... line 848
But I am only getting this on my dev machine. It doesn't show on the remote site. I have taken the remote DB and put it inplace of my local one just in case I had inadvertantly deleted something, but still no joy.
I have closed the recordset using:
mysql_free_result($rs_reg_domain);
But have had to use the following to hide the error:
//if (is_resource($rs_reg_domain)) mysql_free_result($rs_reg_domain);
and finally this is the recordset:
mysql_select_db($database_conn_mrs, $conn_mrs);
$query_rs_domain = "SELECT * FROM tbl_settings WHERE fld_settingsNAME = 'domain'";
$rs_domain = mysql_query($query_rs_domain, $conn_mrs) or die(mysql_error());
$row_rs_domain = mysql_fetch_assoc($rs_domain);
$totalRows_rs_domain = mysql_num_rows($rs_domain);
'domain' has a value.
What's wrong?
ThanksThe reason you get an error locally, but not on the remote server is almost certainly because the remote server has the PHP display_errors configuration setting turned off. The error still occurs, but it's not displayed. Most hosting companies turn off the display of errors for security reasons.
Looking at the code you have given here, it looks as though the error is caused by using the wrong variable name for the recordset. The recordset is $rs_domain, but you're passing $rs_reg_domain to mysql_free_result(). -
Hi All,
*Environment:
Weblogic Server: 10.0.1.0
Workshop Studiio: 1.1.0.0
Aqualogic Service Bus: 3.0.0.0.0
Linux: 2.6.18-53.e15 x86_64
ANT: org.apache.ant_1.6.5
JDK: jdk150_11
All my services are JMS based, so all the JMS destinations has already been created and tested using a different utlity written in java which sends a messages to the jms queues and recieve those messges, so i am sure my jms destinations are already there.
*Problem:
1 - I can use alsb console to import the config.jar without any problem, even though the jms destinations are reflecting older addresses i.e. jms:localhost:7001/connfact/queue (my dev)environment, where as my to be environment is different physical host with address like jms://abdhost:7099/connfact/queue.
2 - When i try to apply customisation using a customisation file i generated from my dev environment and changes the jms locations according to the to be host. the customisation operation failed complaining about 'Failed to lookup connection factory <factory name>'.
in the weblogic console the error is
[JAM] Warning: failed to resolve class com.bea.wli.sb.transports.ejb.Jws
<ERROR> <ConfigFwk> <BEA-390109> <Failed to notify session listener com.bea.wli.sb.transports.WLSArtifactDeployerImpl for operation beforeSessionActivate on session weblogic
com.bea.wli.sb.transports.TransportException: Failed to lookup connection factory <factory name>
*Same Problem using ANT on hudson:
I am also running same process using ANT build script on hudson to kick off build which imports alsb configuration, using already created config.jar, into alsb 3.0.0.0 already running on linux. The ANT script runs WLST import.py and export.py script, copied from the weblogic tutorial, to import configuration into alsb 3.0.0.0, but failed with same error.
I am not sure if this error is only related to missing jar which is missed during weblogic startup and in my ant script. If so, can someone tell which jar to use unless its a BUG and already been addressed as this is pretty old version i am using.
PS: dev and tobe environments have same weblogic build so i had already checked that.
Many thanks for your help!
salHi,
Is there any update on the above issue?
we are also facing the same issue. please provide solution if you have something.
Regards,
Bhaskar. -
Error while creating planning application through workspace
Hi,
I am getting the following error when i am trying to create the classic planning application through workspace.
Invalid or could not find module configuration.
Required application module HyperionPlanning.AppWizard is not configured. Please contact your administrator.
Communication Error.
http://localhost:45000/HyperionPlanning/conf/HspJSConfig.xml?LOCALE_LANGUAGE=en
Please suggest me how to resolve this error. Also please share the order in which services to start.
Thanks in Advance,
Naveen SuramHi John,
I am facing the same issue. Reconfiguring Web server did not help. It is still not coming up and the link to planning that you have shared here is also not working. I am doing it on RHEL and facing issue with the same. Any help will be greatly appreciated. I checked the mod_jk log which has the following:
*[Tue Jan 31 20:17:01 2012] [info] ajp_send_request::jk_ajp_common.c (1186): Error connecting to the Tomcat process.*
*[Tue Jan 31 20:17:01 2012] [info] ajp_service::jk_ajp_common.c (1665): Sending request to tomcat failed, recoverable operation attempt=2*
*[Tue Jan 31 20:17:01 2012] [error] ajp_service::jk_ajp_common.c (1673): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=Workspace failed errno = 111*
*[Tue Jan 31 20:17:01 2012] [info] jk_handler::mod_jk.c (1875): Service error=0 for worker=Workspace*
I don't know what to do now.
Thanks in advance.
Saurabh -
While running servlets getting errors 404 or 505 resource not found
Hi all,
I'm novice to J2EE.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
Now let me elaborate what i've done till now.
My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
My servlet is ServExamp.java
I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
The source code is :
package Sai;
import javax.servlet.;*
import javax.servlet.http.;*
import java.io.;*
public class ServExamp extends HttpServlet
public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
PrintWriter out=res.getWriter();
java.util.Date today=new java.util.Date();
out.println("<html>"+"<body>"+
*"<h1 align=center>HF\'s Chapter1 Servlet </h1>"*
+"<br>"+today+"</body>"+"</html>");
Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
The web.xml file source is :
*<!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>Hello World Web Application</display-name>*
*<description>Test Servlet</description>*
*<servlet>*
*<servlet-name>ServExamp</servlet-name>*
*<servlet-class>Sai.ServExamp</servlet-class>*
*</servlet>*
*<servlet-mapping>*
*<servlet-name>ServExamp</servlet-name>*
*<url-pattern>/Suresh</url-pattern>*
*</servlet-mapping>*
*</web-app>*
Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
*1) clicked on deployments, then navigated to "Web Application Modules" .*
*2) Clicked "Deploy new Web Application Module"*
*3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a valid web application.*
*4) I Clicked that radio button and clicked "Target Module".*
*5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"*
I clicked Deploy.
*6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.*
I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
It was not showing my servlet (showed a 403 error)
Error - 403
This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
I think so it came b'coz I don't have an index.html or index.jsp page.
*7)Instead,I added my servlet on to the URL it provided.*
http://localhost:7001/Suresh-2/Suresh
It is showing these error code: Http: 505 resource not allowed
The page cannot be displayed
The page you are looking for cannot be displayed because the address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the localhost:7001 home page and then look for links to the information you want.
Click Search to look for information on the Internet.
when i just type : http://localhost:7001/ -> Error 404 not found error
it's showing
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
*10.4.5 404 Not Found*
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
I want to run my web application & any help would be appreciated.
Thanks in advance.
with regards,
S.SayeeNarayanan.
Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
Then executed my webapplication it is showing
error-505 resource not allowed.
--------------------------------------------------------------------------------------------nammathamizhan wrote:
Hi all,
I'm novice to J2EE.
You're also a novice to this forum.
First, turn off the bold font.
Second, post your question once and only once to a single forum. You only waited an hour before reposting your question. That's not the way this works. Asking your question multiple times will not increase the likelihood that you''ll get an answer. As a matter of fact, you're guaranteed nothing at all. Give it your best effort and hope for success. This isn't a paid consultancy - we're volunteers.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
If you're correct, and it's deployed, that would suggest that the URL you gave is incorrect.
>
Now let me elaborate what i've done till now.Good info - almost too much.
% -
edit file :/etc/profile,add content:
JAVA_HOME="/usr/local/jdk1.5.0"
JRE_HOME="/usr/local/jdk1.5.0/jre"
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$JRE_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/:$JRE_HOME/lib/
export JAVA_HOME JRE_HOME PATH CLASSPATH
[oracle@localhost linux_i386]$ ./setup.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Error redirecting stderr. Output will be placed into 'err.txt' instead.
IAResourceBundle: create resource bundle: en
seaFilename = setup
Default properties location = /home/oracle/odi/setup/linux_i386/
UI Mode set to Default - SWING.
InstallAnywhere 7.1 Enterprise
Mon Feb 19 16:20:31 CST 2007
Free memory = 14420 kB
Total memory = 16320 kB
No arguments.
java.class.path:
/tmp/install.dir.3711/InstallerData
/tmp/install.dir.3711/InstallerData/installer.zip
/usr/local/jdk1.5.0/lib/
/usr/local/jdk1.5.0/jre/lib/
ZGUtil.CLASS_PATH:
/tmp/install.dir.3711/InstallerData
/tmp/install.dir.3711/InstallerData/installer.zip
/usr/local/jdk1.5.0/lib/
/usr/local/jdk1.5.0/jre/lib/
sun.boot.class.path:
/tmp/install.dir.3711/Linux/resource/jre/lib/rt.jar
/tmp/install.dir.3711/Linux/resource/jre/lib/i18n.jar
/tmp/install.dir.3711/Linux/resource/jre/lib/sunrsasign.jar
/tmp/install.dir.3711/Linux/resource/jre/lib/jsse.jar
/tmp/install.dir.3711/Linux/resource/jre/lib/jce.jar
/tmp/install.dir.3711/Linux/resource/jre/lib/charsets.jar
/tmp/install.dir.3711/Linux/resource/jre/classes
java.ext.dirs:
/tmp/install.dir.3711/Linux/resource/jre/lib/ext
java.version == 1.4.2_08 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.4.2_08-b03
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.4
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 48.0
java.compiler == null
java.home == /tmp/install.dir.3711/Linux/resource/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == i386
os.version == 2.4.21-47.EL
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == oracle
user.home == /home/oracle
user.dir == /tmp/install.dir.3711
user.language == en
user.region == null
System's temporary directory = /tmp
Installer: InstallAnywhere 7.1 Enterprise Build 2763
Loading externalized properties
Command.run(): process completed before monitors could start.
MODE: -rwxr-xr-x 1 root root 65076 Oct 13 02:29 /usr/local/jdk1.5.0/bin/java
Command.run(): process completed before monitors could start.
MODE: -rwxr-xr-x 1 root root 65076 Oct 13 02:29 /usr/local/jdk1.5.0/jre/bin/java
AAMgr: running jump action
AAMgr: running jump action
JumpAction: no Jump Label target specified
RepositoryManager: Trying fallback repository location...
XMLScriptWriter: No Installation Objects were skipped
ZGFile.copy: The requested files were not found.
EditEnvironmentVariable: error editing global UNIX Bourne shell config files.Trying user oracle UNIX Bourne shell config files.
EnvironmentFileWriter: Creating /etc/.login.
EditEnvironmentVariable: error editing global UNIX C shell config files.Trying user oracle UNIX C shell config files.
Ignoring attempt to edit csh config files.
EditEnvironmentVariable: error editing global UNIX zsh config files.Trying user oracle UNIX zsh config files.
Ignoring attempt to edit zsh config files.
Retrying Installables deferred in pass 0
Deferral retries done because:
There were no deferrals in the last pass.
RepositoryManager: repository successfully written to stable storage
RepositoryManager: repository successfully written to stable storage
Execute Custom Code
class RefreshEnvironment.install() Unexpected Fatal Error:
java.lang.UnsatisfiedLinkError: no refresh in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at RefreshEnvironmentJNI.<clinit>(RefreshEnvironmentJNI.java:33)
at RefreshEnvironment.install(RefreshEnvironment.java:57)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA8113)
at com.zerog.ia.installer.actions.PlugInAction.installSelf(DashoA8113)
at ZeroGx1.run(DashoA8113)
Did not match to message method
SHUTDOWN REQUESTED
REGISTRY ALREADY STORED!
cleanUp()
calling cleanUpUNIX()
[oracle@localhost linux_i386]$
[oracle@localhost oracledi]$ tail Oracle_Data_Integrator_InstallLog.log
Status: SUCCESSFUL
Set Environment Variable: ODI_JAVA_HOME = /usr/local/jdk1.5.0
Status: SUCCESSFUL
Custom Action: RefreshEnvironment
Status: ERROR
Additional Notes: ERROR - class RefreshEnvironment.install() Unexpected Fatal Error:
[oracle@localhost oracledi]$
need help to solve this problem.
thanksHello FX, thank you for your reply.
My OS is CentOS3.8
[oracle@localhost oracle]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
[oracle@localhost oracle]$ uname -a
Linux localhost.localdomain 2.4.21-47.EL #1 Tue Aug 1 08:56:24 EDT 2006 i686 i686 i386 GNU/Linux
[oracle@localhost oracle]$
Are you root to perform this operation on the Linux box?
No.oracle user.
It's installed successful
last step
http://amd.streamload.com/psaux/Hosted/odi.png
I can use it,but i want to know how to solve this install error. -
Compilation error when deploying EAR file on standalone OC4J...
Hi All,
I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
==========================================================
Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
Unpacking JavaWebServiceEmp-GetDates-WS.ear
Done unpacking JavaWebServiceEmp-GetDates-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
Starting application : JavaWebServiceEmp-GetDates-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : JavaWebServiceEmp-GetDates-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
Operation failed with error:
Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
Deployment failed
Elapsed time for deployment: 1 minute, 50 seconds
==========================================================
Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.Initially I followed the following steps to start up OC4J:-
Settings :-
1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
Steps followed to run oc4j and deploy application
1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
to include the following:-
<shared-library name="global.libraries" version="1.0" library-compatible="true">
<code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
</shared-library>
AND
<java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
--> java -jar oc4j.jar
4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
6) Steps 4 and 5 went through without error.
7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
http://localhost:8888/docws/prime
This was before I tried deploying the web service through jdeveloper IDE.
I had tried the document web service given at the following link:-
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
from the web services how to links
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
Message was edited by:
Lester N
Maybe you are looking for
-
Webi report on top of dervied tables
Hi Team, We are going to work on a migration work from Discoverer to BO 4.1. As per my understanding in discoverer each tab in a report has a SQL query (We have oracle as DB) which will be used to build that tab. Same for the next tab, it will have i
-
Wrong message type while sending response from TP
Hi, We are simulating a scenario in which the host is sending a Rosetta over RNIF request to TP. The request is getting completed and acknowledgement is reaching the host properly. Now we are trying to send back a response from TP for the above reque
-
Manual Planning with MS Analysis (BO 4.0) and BW 7.3
Hi, I am working with MS Analysis (BO 4.0), I want an Analysis Grid. I create a Real Time Infocube, a query with an input - ready key figure. When I insert this query in MS Analysis, the planning ribbon is not activated. I need to do something else
-
Why do we have to activate individually all third party apps!!! There should be as easier way! Apple TV is not Apple anymore...
-
I receive error 148:3 when trying to open Design Premium CS4
Help: I cannot open my Design Premium CS4, error 148:3