Weblogic Test Browser
Weblogic Test Browser is not able to handle miltiple windows. When javascript is used to open a new window, the test browser passes the control to the default browser of the machine but the session object is lost.
Can we expect support for Multiple browser windows in the future version?
BTW am running WebLogic Server 8.1 SP4.
Krish
Hi manjunath,
I had the same error on a similar config (win2k, ie 5). We tried several
other configuration (with newer browsers) and didn't have the same
experience.
I'm almost sure that the problem is the browser, which is too old and
doesn't support some featrue used by the webapp. If you can do it I
suggest to upgrade to a newer version.
BR,
don
manjunath wrote:
Hi all
whenever i run any portal sample through Workshop Test Browser ,i get following
error.
a dialogue window "Internet Explorer script error" with following texts
An error has occured in the script on this page
Do you want to continue running scripts on this page ?
I am running Win2K professional, weblogic platform 8.1.1.0 and IE 5.0
But this problem does not appear in WinXP & IE6.0
ANy idea what is missing ?
thx
manjunath
Similar Messages
-
Weblogic workshop test browser script error
Hi all
whenever i run any portal sample through Workshop Test Browser ,i get following
error.
a dialogue window "Internet Explorer script error" with following texts
An error has occured in the script on this page
Do you want to continue running scripts on this page ?
I am running Win2K professional, weblogic platform 8.1.1.0 and IE 5.0
But this problem does not appear in WinXP & IE6.0
ANy idea what is missing ?
thx
manjunathHi manjunath,
I had the same error on a similar config (win2k, ie 5). We tried several
other configuration (with newer browsers) and didn't have the same
experience.
I'm almost sure that the problem is the browser, which is too old and
doesn't support some featrue used by the webapp. If you can do it I
suggest to upgrade to a newer version.
BR,
don
manjunath wrote:
Hi all
whenever i run any portal sample through Workshop Test Browser ,i get following
error.
a dialogue window "Internet Explorer script error" with following texts
An error has occured in the script on this page
Do you want to continue running scripts on this page ?
I am running Win2K professional, weblogic platform 8.1.1.0 and IE 5.0
But this problem does not appear in WinXP & IE6.0
ANy idea what is missing ?
thx
manjunath -
Error in test browser while running a JPD
anyone plzzz help me..i'm getting this error while trying to run a jpd ...this error is coming in test browser
Service Request getContractLineResourceId
Submitted at Wed Sep 07 17:54:35 IST 2005
clResourceId = 102950
Context Event context_onCreate on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.bea.control.ServiceBrokerControlImpl.context_onCreate
Event source: context
CallStack:
callback.context_onCreate()
callback:context.onCreate()
callback:context.onAcquire()
Returned from context_onCreate on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Context Event context_onAcquire on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.bea.control.ServiceBrokerControlImpl.context_onAcquire
Event source: context
Arguments:
CallStack:
callback.context_onAcquire()
callback:context.onAcquire()
Returned from context_onAcquire on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Operation setTargetService on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.pwc.us.ept.process.businessLogic.manageContractLine.MyContractLineRescJpd$Callback.setTargetService
Arguments:
Arg 0 : Service[http://TESTUI]
CallStack:
callback.setTargetService()
Returned from setTargetService on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Operation setEchoConversationID on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.pwc.us.ept.process.businessLogic.manageContractLine.MyContractLineRescJpd$Callback.setEchoConversationID
Arguments:
Arg 0 : null
CallStack:
callback.setEchoConversationID()
Returned from setEchoConversationID on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Operation setProtocol on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.pwc.us.ept.process.businessLogic.manageContractLine.MyContractLineRescJpd$Callback.setProtocol
Arguments:
Arg 0 : http-soap
CallStack:
callback.setProtocol()
Returned from setProtocol on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Operation setRecipientCertificate on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.pwc.us.ept.process.businessLogic.manageContractLine.MyContractLineRescJpd$Callback.setRecipientCertificate
Arguments:
Arg 0 : null
CallStack:
callback.setRecipientCertificate()
Returned from setRecipientCertificate on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Operation getContractLineResourceId
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.pwc.us.ept.process.businessLogic.manageContractLine.MyContractLineRescJpd.getContractLineResourceId
Arguments:
clResourceId : 102950
CallStack:
getContractLineResourceId()
Operation findByCtrlLineResourceId on Control dbContractLineControl
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.pwc.us.ept.control.customDBControl.MyTestControl.CustomContractLineResc.findByCtrlLineResourceId
Arguments:
contractLineRescId : 102950
CallStack:
dbContractLineControl.findByCtrlLineResourceId()
getContractLineResourceId()
Returned from findByCtrlLineResourceId on dbContractLineControl
Submitted at Wed Sep 07 17:54:35 IST 2005
Return value: com.pwc.us.ept.app.dto.StateHolder@dfa0aa
Process Completed
Submitted at Wed Sep 07 17:54:35 IST 2005
Returned from getContractLineResourceId
Submitted at Wed Sep 07 17:54:35 IST 2005
Return value: com.pwc.us.ept.app.dto.StateHolder@dfa0aa
Context Event context_onRelease on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.bea.control.ServiceBrokerControlImpl.context_onRelease
Event source: context
Arguments:
CallStack:
callback.context_onRelease()
callback:context.onRelease()
Returned from context_onRelease on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Context Event context_onReset on Control callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Method: com.bea.control.ServiceBrokerControlImpl.context_onReset
Event source: context
CallStack:
callback.context_onReset()
callback:context.onReset()
Returned from context_onReset on callback
Submitted at Wed Sep 07 17:54:35 IST 2005
Service Response
Submitted at Wed Sep 07 17:54:35 IST 2005
<error>
<faultcode>JWSError</faultcode>
<faultstring>java.lang.RuntimeException: Protocol 'form-get' not available on this operation.</faultstring>
<detail>
com.bea.wlw.runtime.core.request.ResponseValidationException: java.lang.RuntimeException: Protocol 'form-get' not available on this operation.
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:275)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:593)
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:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: java.lang.RuntimeException: Protocol 'form-get' not available on this operation.
at com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:363)
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
</detail>
</error>Hi,
When Explorer quits, does any file gets generated automatically on your desktop?
Regards,
Soumyajit -
Test browser to test secure webservice
Hi,
I have a secure webservice that accepts username/password token and expects client to encrypt SOAP requests. How do I test it using Workshop's test browser? I get exception saying the message needs to be encrypted. The same webservice from a client application works fine.
Thanks.We have been able to resolve the problem. The setup we did was correct, but there was a problem with the java keystore. The keystore should not only contain the private key and the certificate used for authentication, but also the full certificate chain up to the root CA for it to work.
You should see a message like this in the log:
####<Mar 2, 2011 1:25:17 PM CET> <Debug> <SecuritySSL> <XX> <XX> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <4b6c0032292e8f22:-558fda9e:12e7663d32b:-7ff3-00000000000001ea> <1299068717879> <BEA-000000> <Returning chain of 2 certificates.>
If you get this message:
####<Mar 1, 2011 8:01:43 PM CET> <Debug> <SecuritySSL> <XX> <XX> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>>
<1299006103215> <BEA-000000> <No suitable identity certificate chain has been found.>
It indicates that weblogic can not find the chain in the store and that you need to check the JKS file.
@atheek1, thanks for the replies!
Cheers,
Hugo -
HotSpot JVM error running JWS Test Browser
While when running the JWS Test Browser I get the attached JVM exception. It's
intermittent. When it happens, I’m stuck. I have to remove my WebService and rebuild
it to get past the problem.
OS - XP SP1
WL 8.1 SP2
JVM – java version "1.4.1_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
Java HotSpot(TM) Client VM (build 1.4.1_05-b01, mixed mode)
[jvm_errror.txt]Michael -
JDK 1.4.1_05 has TONS of bugs. I would strongly recommend upgrading to JDK
1.4.2 early in your project, to save you a lot of potential problems.
Kunal
"Michael Moran" <[email protected]> wrote in message
news:40c0b1f7$1@mktnews1...
Okay, it appears I don't have to rebuild the WebService, I can alsoshutdown
Workshop and recompile before starting the server and it fixes the problem
most of the time. However, I have to try a few times before it works.
Any ideas?
"Michael Moran" <[email protected]> wrote in message
news:40c0a614$1@mktnews1...
While when running the JWS Test Browser I get the attached JVM
exception.
It's
intermittent. When it happens, I'm stuck. I have to remove my WebServiceand rebuild
it to get past the problem.
OS - XP SP1
WL 8.1 SP2
JVM - java version "1.4.1_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
Java HotSpot(TM) Client VM (build 1.4.1_05-b01, mixed mode) -
WebLogic Test Client, throws java.lang.NoSuchMethodException
In weblogic server 10.3, the WebLogic Test Client, throws java.lang.NoSuchMethodException for “any” soap fault message from the web service.
In Detail:
Our web services uses JAX-WS spec and are deployed in WebLogic server 10.3.The web service ear file is generated using standard ant utility. We are using “WebLogic Test Client” available through WebLogic server administration console .The issue is, for “any” soap fault message from the web service, the test client generates “java.lang.NoSuchMethodException:” . The key point is we are creating this class. We are not using our own client. WebLogic Test Client 's service response section has the following stack trace.
S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Server</faultcode>
<faultstring>java.lang.NoSuchMethodException: our.custom.package.name.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)</faultstring>
<detail>
<ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" class="com.sun.xml.ws.encoding.soap.SerializationException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
<message>java.lang.NoSuchMethodException: our.custom.package.name.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)</message>
<ns2:stackTrace>
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="328" method="createDetailFromUserDefinedException" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="306" method="getFaultDetail" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="170" method="createSOAPFaultMessage" />
<ns2:frame class="com.sun.xml.ws.server.sei.EndpointMethodHandler" file="EndpointMethodHandler.java" line="265" method="invoke" />
<ns2:frame class="com.sun.xml.ws.server.sei.SEIInvokerTube" file="SEIInvokerTube.java" line="93" method="processRequest" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="598" method="__doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="557" method="_doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="542" method="doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="439" method="runSync" />
<ns2:frame class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="243" method="process" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="444" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="244" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="134" method="handle" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke" file="HttpServletAdapter.java" line="272" method="run" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter" file="HttpServletAdapter.java" line="185" method="post" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="180" method="doPost" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="727" method="service" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="64" method="service" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="820" method="service" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction" file="StubSecurityHelper.java" line="227" method="run" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper" file="StubSecurityHelper.java" line="125" method="invokeServlet" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="292" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="175" method="execute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction" file="WebAppServletContext.java" line="3498" method="run" />
<ns2:frame class="weblogic.security.acl.internal.AuthenticatedSubject" file="AuthenticatedSubject.java" line="321" method="doAs" />
<ns2:frame class="weblogic.security.service.SecurityManager" line="unknown" method="runAs" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2180" method="securedExecute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2086" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletRequestImpl" file="ServletRequestImpl.java" line="1406" method="run" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="201" method="execute" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="173" method="run" />
</ns2:stackTrace>
<ns2:cause class="java.lang.NoSuchMethodException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
<message>our.custom.package.name.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)</message>
<ns2:stackTrace>
<ns2:frame class="java.lang.Class" file="Class.java" line="1605" method="getMethod" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="323" method="createDetailFromUserDefinedException" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="306" method="getFaultDetail" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="170" method="createSOAPFaultMessage" />
<ns2:frame class="com.sun.xml.ws.server.sei.EndpointMethodHandler" file="EndpointMethodHandler.java" line="265" method="invoke" />
<ns2:frame class="com.sun.xml.ws.server.sei.SEIInvokerTube" file="SEIInvokerTube.java" line="93" method="processRequest" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="598" method="__doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="557" method="_doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="542" method="doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="439" method="runSync" />
<ns2:frame class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="243" method="process" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="444" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="244" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="134" method="handle" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke" file="HttpServletAdapter.java" line="272" method="run" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter" file="HttpServletAdapter.java" line="185" method="post" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="180" method="doPost" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="727" method="service" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="64" method="service" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="820" method="service" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction" file="StubSecurityHelper.java" line="227" method="run" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper" file="StubSecurityHelper.java" line="125" method="invokeServlet" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="292" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="175" method="execute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction" file="WebAppServletContext.java" line="3498" method="run" />
<ns2:frame class="weblogic.security.acl.internal.AuthenticatedSubject" file="AuthenticatedSubject.java" line="321" method="doAs" />
<ns2:frame class="weblogic.security.service.SecurityManager" line="unknown" method="runAs" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2180" method="securedExecute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2086" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletRequestImpl" file="ServletRequestImpl.java" line="1406" method="run" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="201" method="execute" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="173" method="run" />
</ns2:stackTrace>
</ns2:cause>
</ns2:exception>
</detail>
</S:Fault>
</S:Body>
</S:Envelope>Thanks for your assistance. Here is the log from weblogic. You may find "xxx" and "yyy" terms. these are given to our specific project oriented names. If you need any further info please let me know. Again a brief about the issue. when the service returns a fault soap message, the server trying to set the error code in a class generated by it's own where the method is not avilable. this happens for all fault soap message. In case of right response from the service no issues. all are working fine.
Note: Max 3000 characters are allowed to post. so truncating initial stack trace.
Thanks, ganesh.
<xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@2e0bd8e
Bound datums[Lxxx.sql.STRUCT;@1b2d059
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@1aa0f36
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@191d9ba
Bound datums[Lxxx.sql.STRUCT;@1dc70ec
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@1def11c
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@2683f76
Bound datums[Lxxx.sql.STRUCT;@197400e
Caused by: our.package.name.integration.services.exception.IllegalStateWSFaultException: Service Provider API did not return any object back.
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:576)
at sun.xxxlect.GeneratedMethodAccessor763.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingxxxlection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.invokeJoinpoint(xxxlectiveMethodInvocation.java:187)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:154)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy188.findxxxxxx(Unknown Source)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService_n3bi9u_WSOImpl.__WL_findxxxxxx_WS(xxxService_n3bi9u_WSOImpl.java:75)
at sun.xxxlect.GeneratedMethodAccessor762.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at weblogic.wsee.server.ejb.WsEjb.invoke(WsEjb.java:50)
at weblogic.wsee.jaxws.WLSEjbInstanceResolver$WLSEjbInvoker.invoke(WLSEjbInstanceResolver.java:187)
... 30 more
Caused by: java.lang.IllegalStateException: Service Provider API did not return any object back.
at our.package.name.soa.enabler.service.provider.engine.ServiceInvoker.invoke(ServiceInvoker.java:156)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:545)
... 56 more
Nov 21, 2008 9:38:27 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke
INFO: Service Provider API did not return any object back.
our.package.name.integration.services.exception.IllegalStateWSFaultException: Service Provider API did not return any object back.
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:576)
at sun.xxxlect.GeneratedMethodAccessor763.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingxxxlection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.invokeJoinpoint(xxxlectiveMethodInvocation.java:187)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:154)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy188.findxxxxxx(Unknown Source)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService_n3bi9u_WSOImpl.__WL_findxxxxxx_WS(xxxService_n3bi9u_WSOImpl.java:75)
at sun.xxxlect.GeneratedMethodAccessor762.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at weblogic.wsee.server.ejb.WsEjb.invoke(WsEjb.java:50)
at weblogic.wsee.jaxws.WLSEjbInstanceResolver$WLSEjbInvoker.invoke(WLSEjbInstanceResolver.java:187)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:71)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:272)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:185)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.IllegalStateException: Service Provider API did not return any object back.
at our.package.name.soa.enabler.service.provider.engine.ServiceInvoker.invoke(ServiceInvoker.java:156)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:545)
... 56 more
com.sun.xml.ws.encoding.soap.SerializationException: java.lang.NoSuchMethodException: xxx.xxx.yyy.integration.services.xxxservice.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createDetailFromUserDefinedException(SOAPFaultBuilder.java:328)
at com.sun.xml.ws.fault.SOAPFaultBuilder.getFaultDetail(SOAPFaultBuilder.java:306)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createSOAPFaultMessage(SOAPFaultBuilder.java:170)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:265)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:272)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:185)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NoSuchMethodException: xxx.xxx.yyy.integration.services.xxxservice.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)
at java.lang.Class.getMethod(Class.java:1605)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createDetailFromUserDefinedException(SOAPFaultBuilder.java:323)
... 30 more -
Can weblogic test client be used in weblogic 8.1 version
Can anyone confirm whether we can use weblogic test client in weblogic server 8.1 version
We figured out that Oracle SQL Flavor can be used with WebLogic, but only with DB connections created from JDBC URL, not work with DB connections from WebLogic connection pool.
-
WebLogic Test & Development server
We are about to start a web service and have been considering a number of enviroments
including .net, lotus and BEA. We have decided on BEA because of its market share,
openness and scalability. Our .net trained programmers think it is S____ Hot.
However as I am paying the licence fees I am a little confused about one element
(involves more money)
Our development time to our first production service is only 12 weeks
My question is Do we need to purchase the Test & Development Licence and subsequent
support fees with such a short lead time to first production.
Can we not do every thing we would need to develop and test with a full Server
liscence."Joel Nylund" <[email protected]> wrote in message
news:3cee46b8$[email protected]..
I have the same question if anyone from weblogic is out there? It lookslike
I can just copy the files from the ldap directory over.
Does the embeded server support regular ldap protocol from other clients.Yes. You can use either the listen port or the SSL listen port. You can set
the
credentials for the Admin server in the Embedded LDAP tab off the security
tab off the domain (they are generated on the first boot). The admin
principal
is cn=Admin
Can I browse the ldap entries from other tools?Yes.
Can I add additional attributes to entries for users?
That would not be supported as adding new attributes may cause problems
at upgrade times if we change the schema.
thanks
Joel
"Andy Kim" <[email protected]> wrote in message
news:[email protected]..
I am using the embedded LDAP server to store users, groups and roles. I
have a development server and nowI want to import the security settingsfrom
the development server to the test servers. Both servers are running
WebLogic 7. How do I export users, groups and roles from the
development
server and import to the test server.
Thanks,
Andy -
Crystal Reports in Java with BEA Weblogic (test drive)
Hello,<br/>
<br/>
The question is: What is wrong with Crystal Reports or BEA Weblogic, when they are working together? And how can it be repaired?<br/>
<br/>
I have a project working with reports. Tried to implement it for crystal reports and found an interesting problem. Crystal Reports didn't work with BEA Weblogic as well as with other servers. 1-2 years ago we just took Tomcat and worked with it. Right now we are interested in working with BEA.<br/>
<br/>
Everything works, but much slower than other servers. The best explanation is just a my tries in the end of the post. I hope some clever man helps me to option Weblogic or at least explains what is wrong.<br/>
<br/>
Test results are:<br/>
<br/>
- Apache Software Foundation - Tomcat 6.0:<br/>
~3 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
~1 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
- OC4J - Oracle Containers for J2EE 10g (10.1.3.3.0):<br/>
~4 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
~1 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
- Jetty 7.0.0.pre5:<br/>
~2 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
~0 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
- BEA Weblogic 9.2:<br/>
<b>~30 sec</b> for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
<b>~8 sec</b> for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
simple_cr_webapp.war (30 MB) can be downloaded [here|http://rapidshare.com/files/221096566/simple_cr_webapp.war.html] or [here|http://math.ut.ee/~a30858/simple_cr_webapp.war]:<br/>
crystalreportviewers //all viewers for 2.0
WEB-INF
classes
CRConfig.xml //see WAR - without key, only sets timeout and report location
lib //all libraries for Eclipse plugin's web-app + j2ee.jar
web.xml //see WAR - generated by Eclipse plugin
sample.jsp //see WAR - generated by Eclipse plugin
sample.rpt //"Consolidated Balance Sheet.rpt" from Eclipse plugin's web-app samples
<br/>
P.S. It is also suites if someone gives a simple project with CR, that works well. I really need to get solution for this problem, so any advises are expected.<br/>I also tried for different java vendors on BEA Weblogic 9.2.
Results for Jrockit are above: 30 sec and 8 sec
Results for Sun are worse than JRockit: 50 sec and 10 sec
JRockit:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
BEA JRockit(R) (build R26.0.0-189_CR269406-59389-1.5.0_04-20060322-1120-win-ia32, )
JAVA Memory arguments: -Xms500m -Xmx1000m
Sun:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=256m -
Applet testing / browser cache clearing
The applet forum returns nil. Google returns misinformation. Here's a Duke a browser.
I test an applet. Bug. Fix. Retest shows old result because browser cached applet and doesn't know that I've a newer version. Looking for a better solution than closing/reopening browser.
Netscape (Mozilla/Firefox)?
Opera?
Solved IE: Tools / Internet Options / General / Delete Fileseminformatics:
Have a duke! Wish it was both dukes, but Opera (which has its own console) doesn't handle an 'x' in the java console. So this is the Netscape/Mozilla solution.
all:
The shift+reload trick is Google's favorite answer, but doesn't work in my browsers.
This is serious progress - there are a lot of reasons why I prefer to develop with Netscape and now it's working for me with applets. Too bad for me that I happen to like Opera best. Where are all the "mouse gesture" fans? -
Hi,
I'm trying to test a call RMI in WebLogic 10.3.6 but an error is generated...
String serviceAddress = "rmi://localhost:7001/BeanRemoteService";
Naming.lookup(serviceAddress);
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
... 7 more
javax.naming.ServiceUnavailableException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
I have a wlfullclient lib in the classpath...
Can anybody help me?If Naming.lookup() works, then you muist be binding the server using Naming.bind(). To lookup under the JNDI tree, you must bind the using JNDI, too.
jay allen wrote:
This test case uses the example classes in weblogic/examples/rmi/hello:
The rmi.hello classes are deployed on WL and the following code can connect
from a remote node and get a reference to the remote object.
try {
Hello_WLStub obj = ( Hello_WLStub )
Naming.lookup("t3://192.32.239.58:7511/HelloServer");
catch (Throwable t){
t.printStackTrace();
The following code, using WLInitialContext however, throws a
javax.naming.NameNotFoundException
Hashtable env = new Hashtable(5);
env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFacto
ry");
env.put(Context.PROVIDER_URL,"t3://192.32.239.58:7511");
Context ctx = new InitialContext(env);
Hello_WLStub obj = ( Hello_WLStub )ctx.lookup("HelloServer");
here's the exception
javax.naming.NameNotFoundException: 'HelloServer'; remaining name
'HelloServer'
at
weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.java:76)
at
weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.jav
a:246)
at
weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
at javax.naming.InitialContext.lookup(InitialContext.java:349)
at client2.main(client2.java:61)
Note, there hasn't been any security set up for weblogic.rmi or
weblogic.jndi, or the HelloImpl class. That is, 'everyone' has access.
Thanks,
Jay -
IPhone Webpage Tester/Browser For PC!
Hey Everyone, I just found this great app and thought I'd share, I'm not sure how many people use Windows so as to use it but anyway:S. Haha I dual boot:D
Well its called iPhone Drift, its from Aviassin, and it is a web browser for your pc which display pages exactly as they would be seen on an iPhone (pixel perfect, rotated view etc). I use it to test my designed web pages when I'm using Windows.
Download From Here (For Windows):
http://aviassin.wikidot.com/iphonedrift
Thanks! Hope someone finds it as useful as I do:)djlukas777 wrote:
i'v try this and it's not saving dinamicly content
If you mean "Dynamic content", no it may not, depending on how the website delivers that content. -
Template view fine in test browser but not when a page is created from it
I'm trying to recreate a template page from my site using different code for the drop down menu at the top. The template behaves properly when i test it in Safari vs. 5.0.6 but when i test a page made from that template (using the File>New> Page from Template) it dosen't present with styles. Can anyone see anything wrong with the code? I checked both the code and the CSS using the validators.
haworth.org/TEST2.htmlI put your HTML page (TEST2.html) and CSS file (body_new.css) on my server and it looks OK.
http://www.ossiningdesignguild.com/TEST2.html
It's possible your web server is not properly configured and sends a Content-Type HTTP header that says text/plain instead of text/css for your style sheet file.
If you're using Apache, have your server admin check the httpd.conf file for MIME type settings.
Should they need assistance, send them here:
http://httpd.apache.org/docs/2.2/configuring.html
This is not a problem with your main site since the CSS is embedded, rather than remote.
I'll call you after lunch.
Ken -
IPhone: Testing Browser (HTTP Headers)
I am trying to write a short application that handles logging into a 3rd-party website automatically and then open's Safari. I mimic a submission of the form on the login page and send an NSURLRequest with the POST method and all the variables url-encoded in the body. This works on one website. Now, I want to do the same for a different website. So I plugged in a different URL and the different POST variables. It doesnt seem to work on this site. I even modified the code to capture any cookies that were being returned in the NSHTTPURLResponse and to add them to the NSHTTPCookieStorage shared by all applications before I launch Safari. It would be useful to see exactly the responses from the server in order to figure out what is going on, but I want Safari to handle the responses. Any way someone can think of accomplishing this?
Here is the code i am currently using:
@implementation SubmitAndLaunch
@synthesize postVariables;
@synthesize postDestination;
@synthesize redirectedURL;
- (void)connectAndSubmit {
if (postVariables == nil | postDestination == nil) {
// Die
[NSException raise:@"InvalidVarsDest" format:@"The Variables or Destination were not defined"];
NSData *postData = [postVariables dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES];
NSString *postLength = [NSString stringWithFormat:@"%d", [postData length]];
NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];
[request setURL:[NSURL URLWithString:postDestination]];
[request setHTTPMethod:@"POST"];
[request setValue:postLength forHTTPHeaderField:@"Content-Length"];
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];
[request setHTTPShouldHandleCookies:YES];
[request setValue:@"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8" forHTTPHeaderField:@"Accept"];
[request setHTTPBody:postData];
NSURLConnection *conn=[[NSURLConnection alloc] initWithRequest:request delegate:self];
[conn start];
- (id)initWithVariables:(NSString *)vars Destination:(NSString *)dest {
self = [super init];
if (self != nil) {
postVariables = vars;
postDestination = dest;
[self connectAndSubmit];
return self;
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
redirectedURL = [response URL];
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response;
NSDictionary *header = [httpResponse allHeaderFields];
NSMutableArray *ourCookieArray = [NSHTTPCookie cookiesWithResponseHeaderFields:header forURL:redirectedURL];
NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
[storage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
for (int i=0; i< [ourCookieArray count]; i++) {
[storage setCookie:[ourCookieArray objectAtIndex:i]];
- (void)connectionDidFinishLoading:(NSURLConnection *)connection {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[redirectedURL absoluteString]]];
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
- (void)dealloc{
[redirectedURL dealloc];
[postVariables dealloc];
[postDestination dealloc];
[super dealloc];
@endi wouldnt really know where to begin with curl. is it available on iPhone? how would i go about simulating the login part from a browser with curl and then opening up the page in safari?
-
Just deployed to external weblogic test server with oid
I am getting errors for the beans that have to do with progress bars. It says these objects are not serializable.
When I try to implement serializable I still get that error. What do I need to do?
I have 3 progress bars in view scope.
SEVERE: ADFc: Scope object serialization failed (object not serializable), scope='viewScope[page.jsf]', objectKey='progressBarSampleBean',
Edited by: veena pandit on May 2, 2012 3:39 PMSEVERE: ADFc: Scope object serialization failed (object not serializable), scope='viewScope[page.jsf]', objectKey='progressBarSampleBean',
Maybe you are looking for
-
I've been trying to update my version of Itunes for ages now and I keep getting an error message. When I get the automatic alerts for the upgrade this also won't work or the upgrade to Quicktime & I'm getting a bit miffed now. I've bought an iphone
-
Old Iphone mgs on screen restore needed wont turn up pls help. If i press restore i will lose all my contacts list and notes pls pls pls pls helpppppppppp
-
Hello All, We are upgrading from 4.7 to ECC 6.0. We are trying to upload a GL text file into one of custom transactions in Dev system which is ECC 6.0, custom code program is SAPLSLVC_FULLSCREEN. There is a extra character in between word
-
Balloon message without action listener.
Hi all, I want to add a balloon message without a action performed. I mean when the icon is loaded to the tray want to display it. Check the displayMessage() in tray icon class in several way, but no luck. Can you give me a hint that how to do it. th
-
Phone reseting and deleting things
has anyone else had the problem with their phone pretty much reseting? mine did it today and i lost my messages even ones that were saved, my contacts and everything i had on my memory card, does anyone know how and if i can recover what i lost, im