Java.lang.IllegalStateException: Connection to failed service.

help me ! thanks
I hava a problem, In the windows server 2008 R2 ,I installed LiveCycle Generator ES2 to convert files, I use Single-threaded to convert,File conversion are all normal.
when I use the Multi-threaded ,
Part of the file conversion failed .
file not convert success,and report the error:
Failure Time----Thu Oct 28 03:22:43 CST 2010
source location ---- Reason of failure is-----ALC-PDG-001-000-Conversion of the input file failed because of an exception.
Connection to failed service.
ALC-PDG-001-000-Conversion of the input file failed because of an exception.
Connection to failed service.
ALC-PDG-1000-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-001-000-Conversion of the input file failed because of an exception.
Connection to failed service.
Caused by: java.lang.IllegalStateException: Connection to failed service.
at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java:96)
at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceFromPool(ConnectionFa ctoryManagerPeer.java:79)
at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactor yManagerPeerImpl.java:103)
at com.adobe.service.ConnectionFactoryRmiAdapter.getConnection(ConnectionFactoryRmiAdapter.j ava:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:611)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:607)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1159)
at $Proxy34.getConnection(Unknown Source)
at com.adobe.service._ConnectionFactoryRemote_Stub.getConnection(_ConnectionFactoryRemote_St ub.java:59)
at com.adobe.pdfg.callbacks.NativeToPDFTransactionCallback.convertToPdf(NativeToPDFTransacti onCallback.java:208)
at com.adobe.pdfg.callbacks.NativeToPDFTransactionCallback.doInTransaction(NativeToPDFTransa ctionCallback.java:186)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doRequiresNew(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
at com.adobe.pdfg.BMCCaller.invokeInSMT(BMCCaller.java:789)
at com.adobe.pdfg.Native2PdfCaller.callNativeBMC(Native2PdfCaller.java:1012)
at com.adobe.pdfg.Native2PdfCaller.createPDF(Native2PdfCaller.java:382)
at com.adobe.pdfg.GeneratePDFImpl.createPDFInternal(GeneratePDFImpl.java:501)
at com.adobe.pdfg.GeneratePDFImpl.createPDFCommon(GeneratePDFImpl.java:280)
at com.adobe.pdfg.GeneratePDFImpl.createPDF(GeneratePDFImpl.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
at com.adobe.idp.dsc.workmanager.adapter.websphere.J2WA_Work.run(J2WA_Work.java:34)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:268)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:768)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java: 222)
at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:159)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
at com.adobe.pdfg.Native2PdfCaller.callNativeBMC(Native2PdfCaller.java:1253)
at com.adobe.pdfg.Native2PdfCaller.createPDF(Native2PdfCaller.java:382)
at com.adobe.pdfg.GeneratePDFImpl.createPDFInternal(GeneratePDFImpl.java:501)
at com.adobe.pdfg.GeneratePDFImpl.createPDFCommon(GeneratePDFImpl.java:280)
at com.adobe.pdfg.GeneratePDFImpl.createPDF(GeneratePDFImpl.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
at com.adobe.idp.dsc.workmanager.adapter.websphere.J2WA_Work.run(J2WA_Work.java:34)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:268)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:768)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java: 222)
at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:159)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

Bonjour,
Je serai absent du 6 aout au 16 aout 2010.
Merci,
Michel Desjardins

Similar Messages

  • Connection to Failed Service or Not Serializable Errors

    Hi. I'm getting connection to failed service errors or not serializable errors when I run a production sized load for my project.  I'm trying to generate 100,000 PDFs one at a time on each thread against the Output web service.  I'm running custom code that makes the Output web service call on individual thread.  I run up to 40 threads against my vertical cluster and occasionally I see a not serializable error or connection to failed service on my code.  Any ideas on what could be the cause of the errors?  Thank you for any insight you can provide.
    I'm running a WebLogic vertical cluster on one box.  1 admin server of WebLogic 9.2 MP3 with 10 managed WebLogic servers on the same physical box in a cluster.  I have enough RAM to support all these JVMs and the GDS is on the local drive on the box.
    Environment details:
    Software: Windows 2003 R2 SP2 (32-bit), WebLogic 9.2 MP3, Adobe LC 8.2.1 SP3 + QF 3.19, Oracle 10.2.0.4, BEA Jrockit 1.5.0_12 (32-bit)
    Hardware: 2 CPU 2.8GHz * 4 cores * Hyper-Threading = makes it look like 16 CPUs in Task Manager, Performance tab, 16 GB RAM, 50+ GB HD space free
    Error Message:
    + com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
    IVS Error Message that happens randomly when the errors are occurring.  I can resubmit the same IVS test where this error shows up on the managed WL instance and it :
    java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.FormServerException
    Exception in Output Service
    Stack Trace
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:210)
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:257)
    at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:483)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:157)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:94)
    at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:175)
    at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:155)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
    at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:519)
    at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:223)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:247)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:347)
    at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:313)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
    at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:308)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(OutputServiceImpl.ja va:289)

    Hi. I'm getting connection to failed service errors or not serializable errors when I run a production sized load for my project.  I'm trying to generate 100,000 PDFs one at a time on each thread against the Output web service.  I'm running custom code that makes the Output web service call on individual thread.  I run up to 40 threads against my vertical cluster and occasionally I see a not serializable error or connection to failed service on my code.  Any ideas on what could be the cause of the errors?  Thank you for any insight you can provide.
    I'm running a WebLogic vertical cluster on one box.  1 admin server of WebLogic 9.2 MP3 with 10 managed WebLogic servers on the same physical box in a cluster.  I have enough RAM to support all these JVMs and the GDS is on the local drive on the box.
    Environment details:
    Software: Windows 2003 R2 SP2 (32-bit), WebLogic 9.2 MP3, Adobe LC 8.2.1 SP3 + QF 3.19, Oracle 10.2.0.4, BEA Jrockit 1.5.0_12 (32-bit)
    Hardware: 2 CPU 2.8GHz * 4 cores * Hyper-Threading = makes it look like 16 CPUs in Task Manager, Performance tab, 16 GB RAM, 50+ GB HD space free
    Error Message:
    + com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
    IVS Error Message that happens randomly when the errors are occurring.  I can resubmit the same IVS test where this error shows up on the managed WL instance and it :
    java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.FormServerException
    Exception in Output Service
    Stack Trace
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:210)
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:257)
    at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:483)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:157)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:94)
    at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:175)
    at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:155)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
    at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:519)
    at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:223)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:247)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:347)
    at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:313)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
    at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:308)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(OutputServiceImpl.ja va:289)

  • Getting error:  java.lang.IllegalStateException: Service has been started by a different configurable cache factory.

    We are trying to implement host name based security for our Coherence cluster. This is mainly to prevent processes running in one environment (UAT for example) connecting to the Coherence cluster running in another environment (PROD for example).
    We wanted to ensure that 1) Only Coherence nodes running on specific machines can join the cluster as members. To accomplish this, we added the list of authorized hosts to the override file (see marketrisk-coherence-override.xml) This works as expected with no issues
    We also want to ensure that we allow client connections from some specific machines. All of our clients connect to the cluster through the proxy. So, we added added a host filter to the cache config file (see marketrisk-cache-config.xml) to control the list of client machines that can are allowed to connect to the cluster. The host filter is pretty simple. If the incoming host address is found in a cache, it allows the connection else it refuses the connection. Please see AuthorizedClientHostsFilter.java for more details.
    When we start the cluster, the storage nodes are failing to come up with the following error message:
    Exception in thread "main" java.lang.IllegalStateException: Service "ReferenceDataCacheService" has been started by a different configurable cache factory.
                    at com.tangosol.net.ExtensibleConfigurableCacheFactory.validateBackingMapManager(ExtensibleConfigurableCacheFactory.java:829)
                    at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureService(ExtensibleConfigurableCacheFactory.java:585)
                    at com.tangosol.net.ExtensibleConfigurableCacheFactory.startServices(ExtensibleConfigurableCacheFactory.java:666)
                    at com.tangosol.net.DefaultCacheServer.startServicesInternal(DefaultCacheServer.java:369)
                    at com.tangosol.net.DefaultCacheServer.initialStartServices(DefaultCacheServer.java:466)
                    at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:74)
                    at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:260)
    This error goes away and the cluster starts normally if we remove host filter from the cache config file or we modify AuthorizedClientHostsFilter.java to not get a handle to the cache when it is instantiated. Please see AuthorizedClientHostsFilter1.java which has this change.
    We believe this is happening because the storage node is creating two cache factories when we use the host filter (AuthorizedClientHostsFilter.java). The storage nodes creates only one cache factory if  we do not use the host filter or if I use AuthorizedClientHostsFilter1.java.
    I do not understand why this is happening. Can you please help? The attached zip file should have all the information that you will probably need.

    public class AuthorizedClientHostsFilter implements Filter {
        //private static final Logger logger = LoggerFactory.getLogger(AuthorizedClientHostsFilter.class);
        public static final String ALL_HOSTS = "ALL_HOSTS";
        private static NamedCache hostsCache = new ContinuousQueryCache(
                CacheFactory.getCache("client-auth-hosts"), AlwaysFilter.INSTANCE, false);
        public AuthorizedClientHostsFilter() {
        public boolean evaluate(Object o) {
            logger.info("hostsCache.size() = "+hostsCache.size());
            Set<String> authorizedHostsinCache = hostsCache.keySet();
            for (String hostName : authorizedHostsinCache) {
                logger.info("Host: "+hostName);
            if (hostsCache.containsKey("ALL_HOSTS")) return true;
            InetAddress address = (InetAddress) o;
            //logger.info("Incoming Host: "+address.getHostAddress());
            return hostsCache.containsKey(address.getHostAddress());
    public class AuthorizedClientHostsFilter1 implements Filter {
        //private static final Logger logger = LoggerFactory.getLogger(AuthorizedClientHostsFilter.class);
        public static final String ALL_HOSTS = "ALL_HOSTS";
        private static NamedCache hostsCache = null;
        public AuthorizedClientHostsFilter1() {
        public boolean evaluate(Object o) {
            if (hostsCache == null) {
                hostsCache = new ContinuousQueryCache(
                        CacheFactory.getCache("client-auth-hosts"), AlwaysFilter.INSTANCE, false);
            logger.info("hostsCache.size() = "+hostsCache.size());
            Set<String> authorizedHostsinCache = hostsCache.keySet();
            for (String hostName : authorizedHostsinCache) {
                logger.info("Host: "+hostName);
            if (hostsCache.containsKey("ALL_HOSTS")) return true;
            InetAddress address = (InetAddress) o;
            //logger.info("Incoming Host: "+address.getHostAddress());
            return hostsCache.containsKey(address.getHostAddress());

  • Servlet failed with Exception java.lang.IllegalStateException: Response already committed

    Hi,
    can someone help with this issue. I've been getting this error in my logs since for the past 3 days and I don't know how to resolve it.
    os-aix-64 bit
    wls:10.3
    ####<Aug 25, 2014 11:36:18 AM GMT+05:30> <Error> <HTTP> <XXX-XXXXXX-XX> <examplesServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1408946778196> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@2ee12ee1 - appName: 'consoleapp', name: 'console', context-path: '/console', spec-version: '2.5'] Servlet failed with Exception
    java.lang.IllegalStateException: Response already committed
            at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1553)
            at weblogic.servlet.internal.ServletResponseImpl.sendRedirect(ServletResponseImpl.java:838)
            at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:136)
            at com.bea.netuix.nf.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:50)
            at com.bea.netuix.servlets.controls.content.NetuiContent.handleRedirect(NetuiContent.java:234)
            at com.bea.netuix.servlets.controls.content.NetuiContent.handlePreRenderResponseState(NetuiContent.java:630)
            at com.bea.netuix.servlets.controls.content.StrutsContent.handlePreRenderResponseState(StrutsContent.java:224)
            at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:310)
            at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)
            at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
            at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
            at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
            at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
            at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
            at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
            at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
            at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
            at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:54)
            at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
            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.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
            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)
    TIA,
    Vamsi

    Can someone please help me with this issue.

  • [HTTP:101216]Servlet: "OnlineReserveren" failed to preload on startup in Web application: "Ruislip_Webservices". java.lang.IllegalStateException

    I try to migrate a Oracle iAS webservice to WebLogic 11g by just deploying the ear on WLS.
    This results into the following exception: Who can help fixing this error?
    [HTTP:101216]Servlet: "OnlineReserveren" failed to preload on startup in Web application: "Ruislip_Webservices". java.lang.IllegalStateException: could not find schema type named {{urn}OnlineReserveren/service/types}TSublocatieBase at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder$GlobalTypeNode.getSchemaType(AnonymousTypeFinder.java:182) at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(AnonymousTypeFinder.java:87) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.createBindingTypeFrom(Deploytime109MappingHelper.java:1111) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.processTypeMappings(Deploytime109MappingHelper.java:526) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBindingFileFrom109dd(Deploytime109MappingHelper.java:273) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:171) at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86) at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:705) at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:201) at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:54) at weblogic.wsee.deploy.ServletDeployInfo.createWsService(ServletDeployInfo.java:91) at weblogic.wsee.deploy.DeployInfo.createWsPort(DeployInfo.java:372) at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:83) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Did you deploy and target the jersey libraries to your server (these can (usually) be found in the ${WL_HOME}/common/deployable-libraries). Deploy these as shared libraries and then reference it by using the following in the weblogic.xml file:
    <library-ref> 
        <library-name>jersey-bundle</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.5.1</implementation-version> 
      </library-ref>     
      <library-ref> 
        <library-name>jsr311-api</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.1</implementation-version> 
      </library-ref>
    Version can differ in your case (you have to check this when the libraries are deployed).

  • Java.lang.IllegalStateException 11g Web Services Administration

    Hello,
    When using Search 11g SES Web Services Administration,
    I get an error before it gives me the full xml of all the schedules (Code to Return All States of All Schedules). What is causing the java.lang.IllegalStateException: Stream already closed?
    I also want to narrow the results to give back only the status state property of all the schedules (Code to Narrow). When I try to narrow the results, it gives me no results, and an xml error. Is there an example on sending this in the List stateProperties argument for getAllStates(...)?
    Thanks
         /* getStatelessWebServiceClient, From SES Administration API Guide */
         private static AdminPortType getStatelessWebServiceClient(String webServiceURL) throws Exception
              AdminService adminService = new AdminService(
                        new URL( webServiceURL ),
                        new QName(
                                  "http://search.oracle.com/Admin",
                                  "AdminService"
              return adminService.getAdmin();
         /* Code to Return All States of All Schedules - Does give the results */
         String webServiceURL = "http://host:port/search/api/admin/AdminService";          
         AdminPortType adminPort = getStatelessWebServiceClient( webServiceURL );
         Credentials credentials = new Credentials();
         credentials.setUserName("username");
         credentials.setPassword("password");
         String xmlResults = adminPort.getAllStates("schedule", null, null, credentials, null, "en").getObjectXML();
         * Code to Return All States of All Schedules - Error */
         java.lang.IllegalStateException: Stream already closed
              at com.sun.xml.internal.org.jvnet.mimepull.DataHead$ReadMultiStream.fetch(DataHead.java:221)
              at com.sun.xml.internal.org.jvnet.mimepull.DataHead$ReadMultiStream.read(DataHead.java:196)
              at java.io.FilterInputStream.read(FilterInputStream.java:116)
              at java.io.PushbackInputStream.read(PushbackInputStream.java:169)
              at weblogic.xml.babel.reader.XmlReader$Utf8Reader.read(XmlReader.java:660)
              at weblogic.xml.babel.reader.XmlReader.read(XmlReader.java:496)
              at weblogic.xml.babel.scanner.ScannerState.read(ScannerState.java:400)
              at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:238)
              at weblogic.xml.babel.scanner.CloseTag.read(CloseTag.java:21)
              at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:256)
              at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
              at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
              at weblogic.xml.babel.baseparser.CharDataElement.parse(CharDataElement.java:85)
              at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:481)
              at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
              at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
              at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
              at com.sun.xml.internal.ws.encoding.MtomCodec$MtomXMLStreamReaderEx.next(MtomCodec.java:462)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:181)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:349)
              at com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(BridgeImpl.java:109)
              at com.sun.xml.internal.bind.api.Bridge.unmarshal(Bridge.java:222)
              at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:514)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:110)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
              at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
              at $Proxy32.getAllStates(Unknown Source)
              at com...printCrawlersRunning(SESAdminTester.java:34)
              at com...SESAdminTester.main(SESAdminTester.java:126)
         amount read:0inputBufferSize50877overflow256
         /* Code to Narrow - Not Working*/
         String webServiceURL = "http://host:port/search/api/admin/AdminService";          
         AdminPortType adminPort = getStatelessWebServiceClient( webServiceURL );
         Credentials credentials = new Credentials();
         credentials.setUserName("username");
         credentials.setPassword("password");
         List<String> stateProperties = new ArrayList<String>();
         stateProperties.add("status");
         String xmlResults = adminPort.getAllStates("schedule", stateProperties, null, credentials, null, "en").getObjectXML();
         /* Code to Narrow - Error */
              java.lang.IllegalStateException: Stream already closed
              at com.sun.xml.internal.org.jvnet.mimepull.DataHead$ReadMultiStream.fetch(DataHead.java:221)
              at com.sun.xml.internal.org.jvnet.mimepull.DataHead$ReadMultiStream.read(DataHead.java:196)
              at java.io.FilterInputStream.read(FilterInputStream.java:116)
              at java.io.PushbackInputStream.read(PushbackInputStream.java:169)
              at weblogic.xml.babel.reader.XmlReader$Utf8Reader.read(XmlReader.java:660)
              at weblogic.xml.babel.reader.XmlReader.read(XmlReader.java:496)
              at weblogic.xml.babel.scanner.ScannerState.read(ScannerState.java:400)
              at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:238)
              at weblogic.xml.babel.scanner.CloseTag.read(CloseTag.java:21)
              at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:256)
              at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
              at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
              at weblogic.xml.babel.baseparser.CharDataElement.parse(CharDataElement.java:91)
              at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:481)
              at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
              at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
              at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
              at com.sun.xml.internal.ws.encoding.MtomCodec$MtomXMLStreamReaderEx.next(MtomCodec.java:462)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:181)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:349)
              at com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(BridgeImpl.java:109)
              at com.sun.xml.internal.bind.api.Bridge.unmarshal(Bridge.java:222)
              at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:514)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:110)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
              at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
              at $Proxy32.getAllStates(Unknown Source)
              at com...SESAdminTester.printCrawlersRunning(SESAdminTester.java:40)
              at com...SESAdminTester.main(SESAdminTester.java:134)
         Error at line:447 col:78 Got character[0] expected a valid XML character
         amount read:0inputBufferSize19809overflow256
              at weblogic.xml.babel.scanner.ScannerState.checkedRead(ScannerState.java:628)
              at weblogic.xml.babel.scanner.CharData.read(CharData.java:65)
              at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:296)
              at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
              at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
              at weblogic.xml.babel.baseparser.CharDataElement.parse(CharDataElement.java:91)
              at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:481)
              at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
              at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
              at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
              at com.sun.xml.internal.ws.encoding.MtomCodec$MtomXMLStreamReaderEx.next(MtomCodec.java:462)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:181)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:349)
              at com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(BridgeImpl.java:109)
              at com.sun.xml.internal.bind.api.Bridge.unmarshal(Bridge.java:222)
              at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:514)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:110)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
              at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
              at $Proxy32.getAllStates(Unknown Source)
              at com...SESAdminTester.printCrawlersRunning(SESAdminTester.java:40)
              at com...SESAdminTester.main(SESAdminTester.java:134)
         Caught unexpected run-time exception
         message = Failed to read a response: javax.xml.bind.UnmarshalException
         - with linked exception:
         [javax.xml.stream.XMLStreamException: Error at line:447 col:78  Got character[0] expected a valid XML character]
         stackTrace =
         com.sun.xml.internal.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.UnmarshalException
         - with linked exception:
         [javax.xml.stream.XMLStreamException: Error at line:447 col:78  Got character[0] expected a valid XML character]
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:113)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
              at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
              at $Proxy32.getAllStates(Unknown Source)
              at com...SESAdminTester.printCrawlersRunning(SESAdminTester.java:40)
              at com...SESAdminTester.main(SESAdminTester.java:134)
         Caused by: javax.xml.bind.UnmarshalException
         - with linked exception:
         [javax.xml.stream.XMLStreamException: Error at line:447 col:78  Got character[0] expected a valid XML character]
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:415)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:351)
              at com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(BridgeImpl.java:109)
              at com.sun.xml.internal.bind.api.Bridge.unmarshal(Bridge.java:222)
              at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:514)
              at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:110)
              ... 5 more
         Caused by: javax.xml.stream.XMLStreamException: Error at line:447 col:78 Got character[0] expected a valid XML character
              at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)
              at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
              at com.sun.xml.internal.ws.encoding.MtomCodec$MtomXMLStreamReaderEx.next(MtomCodec.java:462)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:181)
              at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:349)
              ... 9 more
         Caused by: Error at line:447 col:78 Got character[0] expected a valid XML character
              at weblogic.xml.babel.scanner.ScannerState.checkedRead(ScannerState.java:628)
              at weblogic.xml.babel.scanner.CharData.read(CharData.java:65)
              at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:296)
              at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
              at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
              at weblogic.xml.babel.baseparser.CharDataElement.parse(CharDataElement.java:91)
              at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:481)
              at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
              at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
              ... 13 more

    Hi,
    I have the same problem with WLS 11g. Did you resolve the problem?

  • Getting error Servlet failed with Exception java.lang.IllegalStateException

    Hi
    I am getting this error throughout the server when i am trying to download a pdf from that page.
    Im attaching the error console
    2011 5:10:26 PM CEST> <Error> <HTTP> <aczocc08x.vfcz.dc-ratingen.de> <ShopSrv1_1_pre> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1306163426535> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@172d19e - appName: 'OCC', name: '/shop', context-path: '/shop'] Servlet failed with Exception
    java.lang.IllegalStateException: Cannot resize buffer - 76438 bytes have already been written (Servlet 2.3, sec. 5.1)
         at weblogic.servlet.internal.ServletResponseImpl.setBufferSize(ServletResponseImpl.java:338)
         at weblogic.servlet.jsp.PageContextImpl.initialize(PageContextImpl.java:74)
         at weblogic.servlet.jsp.PageContextImpl.<init>(PageContextImpl.java:110)
         at weblogic.servlet.jsp.JspFactoryImpl.getPageContext(JspFactoryImpl.java:40)
         at jsp_servlet._checkout._order.__cart_thank_45_you._jspService(__cart_thank_45_you.java:644)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at vodafone.servlet.security.HttpsEnforcingFilter.doFilter(HttpsEnforcingFilter.java:39)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:90)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:202)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:279)
         at vodafone.dynamo.servlet.LocaleRedirector.service(LocaleRedirector.java:75)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:279)
         at atg.servlet.dafpipeline.RecordingServlet.service(RecordingServlet.java:280)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:97)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:356)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:206)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:565)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2442)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:602)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:461)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at vodafone.servlets.ServletHelper.service(ServletHelper.java:34)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at vodafone.dynamo.servlet.DefaultCatalogFixer.service(DefaultCatalogFixer.java:54)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.commerce.profile.VodafoneSSOProfileRequestServlet.service(VodafoneSSOProfileRequestServlet.java:231)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:480)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at vodafone.session.SessionSynchronizationServlet.service(SessionSynchronizationServlet.java:38)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:561)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1100)
         at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:782)
         at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:231)
         at atg.filter.dspjsp.PageFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         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:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    >
    Anyone has any idea or faced this issue before please guide me what is the cause, i have got a feeling that this may be because server has run out of memory.

    i havn't written anything before calling set buiffer sizeSo why does the exception message say the opposite?
    I can see that error may be because of a jsp named cart_thank-you.jspSo can I. So have a look at it. It is writing something before the other thing is calling setBufferSize().
    you can see that in erro logSo can you.

  • Java.lang.IllegalStateException: IOException: Connection reset

    Hi I am getting following exception when submitting form in one of my uix page.
    java.lang.IllegalStateException: IOException: Connection reset
         at com.evermind.server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2326)
         at com.threeht.etmp.controller.EtmpRequestProcessor.isPopup(EtmpRequestProcessor.java:277)
         at com.threeht.etmp.controller.EtmpRequestProcessor.processPreprocess(EtmpRequestProcessor.java:25)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:237)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.threeht.etmp.controller.EtmpExceptionFilter.doFilter(EtmpExceptionFilter.java:42)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    please help me,
    Thanks in advance.
    -Kishore

    ORA-02068: following severe error from PCRG2FLWCan you get the accompanying error text with this error?
    Error documentation indicates that you should get in touch with the remote system administrator.

  • Java.lang.IllegalStateException:Already Connected

    HI everyine,
    I trying to send some data from an applet to a servlet: Here is code for the applet:try{
         System.out.println("in the try for getData \n");
         URL url = new URL("http://myip/app/servlet/getData");
         System.out.println("the url connection to getData done \n");
        URLConnection servletConnection2 =url.openConnection();
        ///////////////I get  error java.lang.IllegalStateException:Already Connected  at this point //////
        servletConnection2.setDoInput(false);
        servletConnection2.setDoOutput(true);
       servletConnection2.setUseCaches (false);
       servletConnection2.setDefaultUseCaches (false);
       servletConnection2.connect();
      servletConnection2.setRequestProperty("Content-Type","application/octet-stream");
    ObjectOutputStream oos = new ObjectOutputStream(servletConnection2.getOutputStream());
         oos.writeObject(userID);
         oos.flush();
         System.out.println("the userID was flushed");
         oos.close();
    catch(Exception e)
         System.out.println("Error in sending data to getData Servlet \n" +e);
    }Here is what I have in my servlet:
    public class getData extends HttpServlet {
    public void doGet(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
                            String username ="";
         try
       ObjectInputStream in = new ObjectInputStream(request.getInputStream());
         username = (String)in.readObject();
         System.out.println("the username received from ui is \n" +username);
         in.close();
    catch (IOException e)
    System.out.println("error1" + e);
    catch (ClassNotFoundException cnfe)
    {                                        {System.out.println("error2");
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
                         doGet(request,response);
    }When I try to access this applet I keep getting an error :
    java.lang.IllegalStateException: Already connected
    I cannot understand why this could eb happening ..I have been stuck on this problem for quite some time now.....
    Thanks,
    G.

    i have try your code and it fails also.
    but when i add the servletConnection.getInputStream() in the applet it is ok (although i didn't write the doGet() in the servlet to reply it , but it seems that, in your orginal code, the applet didn't connect to the servlet actually)
    the following is my applet and servlet code which is successful.
    public class ui4 extends JApplet
    public void init()
    String userID="gaurj";
    String servletStr ="http://192.168.0.154:8080/wmshitClient/test";
    try
    URL getDataservlet = new URL( servletStr );
    URLConnection servletConnection = getDataservlet.openConnection();
    System.out.println("the opencon was successful");
         servletConnection.setDoInput(true);
         servletConnection.setDoOutput(true);
         servletConnection.setUseCaches (false);
         servletConnection.setDefaultUseCaches (false);
    servletConnection.connect();
         ObjectOutputStream outputToServlet = new ObjectOutputStream(servletConnection.getOutputStream());
         outputToServlet.writeObject(userID);
         System.out.println("object written");
         outputToServlet.flush();
         System.out.println("the userID was flushed");
         outputToServlet.close();
    // i don't know why, but add the following code make it success
         String message="";
         InputStreamReader reader=new InputStreamReader( servletConnection.getInputStream());
         BufferedReader in=new BufferedReader(reader);
         message=in.readLine();
         while(message!=null){
              if(message!=null)
                   message=in.readLine();
    catch(Exception e)
         System.out.println("Error in sending data to getData Servlet \n" +e);
    public class test extends HttpServlet {
    String userID=null;
    public void init(ServletConfig config) throws ServletException {
         super.init(config);
         System.out.println("in the test!!!");
    public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {
         System.out.println("the");
         ObjectInputStream inputFromApplet = null;
         try
         // get an input stream from the applet
         inputFromApplet = new ObjectInputStream(request.getInputStream());
    userID = (String)inputFromApplet.readObject();
    System.out.println("the userID receved from applet is " +userID);
              inputFromApplet.close();          }
         catch(Exception e)
         // handle exception
    Message was edited by:
    orange_ego

  • JSP compilation failed with java.lang.IllegalStateException: zip file close

    Hi,
    I have a web app successfully deployed on Weblogic7.0 and HP UX 11.0, which uses jdk 1.3.1_02
    In this application, when i invoke a jsp (this exception occurs on any jsp not to any specific jsp), i found the following exception trace on wl-domain.log file and server crashes: -
    java.lang.IllegalStateException: zip file closed
         at java.util.zip.ZipFile.getEntry(Unknown Source)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java, Compiled Code)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.upToDate(ChangeAwareClassLoader.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java, Compiled Code)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java, Compiled Code)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java, Compiled Code)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java, Compiled Code)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Code)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can anyone help me in figuring out this problem urgently?
    thanks in advance
    manoj

    Hi Manoj.I am also getting the same problem in the weblogicserver version-6.1 SP2.It is also using the jdk 1.31.
    here is my stack trace.Help i smuch appreciated.!!
    java.lang.IllegalStateException: zip file closed
         at java.util.zip.ZipFile.getEntry(ZipFile.java:141)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:197)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:106)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
         at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java:45)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:265)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:156)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:65)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at com.slfc.framework.service.ServiceMessageFactory.createServiceResult(ServiceMessageFactory.java:58)
         at sunlife.nexus.admin.SecPro.establishSupportSession(Unknown Source)
         at sunlife.nexus.admin.Page_secPro_extAppLoader.processPageRequest(Unknown Source)
         at sunlife.wis.servlets.WISServlet.redirect(WISServlet.java:63)
         at sunlife.wis.servlets.WISServlet.doExec(WISServlet.java:107)
         at sunlife.wis.servlets.WISServlet.doGet(WISServlet.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • Java.lang.IllegalStateException: Already Connected  Exception

    I get java.lang.IllegalStateException: Already Connected Exception while executing
    HttpURLConnection conn = (HttpURLConnection) url.openConnection();
    conn.setRequestMethod("POST");
    (Exception here) conn.setDoOutput(true); // we want to send things
    // the Content-type should be default, but we set it anyway
    conn.setRequestProperty( "Content-type", "application/x-www-form-urlencoded" );
    // the content-length should not be necessary, but we're cautious
    conn.setRequestProperty( "Content-length", Integer.toString(body.length()));
    Can any one please let me know how to get this thing fixed

    Remove either the line setRequestMethod("POST") or the setDoOutput(true). How did you came on the idea to set them both?
    You may find those snippets useful as well: http://balusc.blogspot.com/2006/05/httpservletutil.html#doPost

  • FAIL - Encountered exception java.lang.IllegalStateException: Container or

    I am getting following exception while running the build.xml for springmvc simple application
    [reload] FAIL - Encountered exception java.lang.IllegalStateException: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[springmulti] has not been started

    It would be a good idea (or at least a nice idea :)) to post what the problem was so that someone else who runs into a similar problem may be able to find the solution without having to repost. Just a suggestion.

  • Java.lang.IllegalStateException when trying to load graphic from KM

    Hello,
    I'm currently facing the following problems.We have a bunch of SVG graphics in a KM-Repository which are displayed to the user. The graphics are embedded in a JSP file. In most of the cases this works fine, but for users with a low bandwith this does not work. An error message is written to the logfile which looks like that:
    serving request (-> 500) - java.lang.IllegalStateException: GET on
    http://ourserver.com/irj/go/km/docs/ourRepository/myGraphic.svg expected 377950 bytes, but got
    262144 bytes and wrote 196608 bytes. The exception message is: Write timeout. HTTP client read
    timeout or callback from dispatcher not received for [120000] milliseconds. -
    com.sap.engine.services.httpserver.exceptions.HttpIOException: Write timeout. HTTP client read
    timeout or callback from dispatcher not received for [120000] milliseconds.
         at com.sap.engine.services.httpserver.server.ResponseImpl.sendResponse(ResponseImpl.java:280)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:440)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:234)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.copy(WDGetHandler.java:744)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandleWDGetHandler.java:691)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:263)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:791)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:483)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)+
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:333)+
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ...
    Some more facts:
    The problem occors on different graphics
    The values 262144 and 196608 (from but got 262144 bytes and wrote 196608 bytes) come up in most cases, but sometimes they vary. But all values have in common, that they are a multiple of 4096 (which is the setting of the parameter ServletsLongDataTransferCallbackSize.
    According to the SAP Notes 1014039 and 807000 I adapted some settings in our Testsystem:
    ServletsLongDataTransferCallbackSize: 1024 (which was set to 4096 before)
    ServletInputStreamTimeout: 1728000000 (which was set to 180000 before)
    ServletsLongDataTransferTimeout: 1728000000 (which was set to  120000 before)
    Unfortunatelly setting those parameters didn't fix the problem.
    Does anybody have a clue what I can do? And just for my understanding, what exactly does the parameter, that I have set, effect. The initial values of 180000 (3 Minutes) seem to be enough. Loading 377950 bytes should take much less that 3 Minutes even with a slow connection?
    Kind regards,
    dominik
    Edited by: Dominik Fried on Mar 30, 2009 1:34 PM
    Edited by: Dominik Fried on Mar 30, 2009 1:45 PM

    Hi,
    We are facing exactly the same issue with KM.
    Can anyone assist us?
    Thanks in advance,
    Regina

  • Java.lang.IllegalStateException: Pool not open

    We are getting an error declaring Pool not open on our GIS mapping application. The queries that seem to generate the error are looking for a Tax Key number in another SQL Server database using the MS SQL Server JDBC 2.0 driver (sqljdbc4.jar) Shown below is a snippet from the log files. Has anyone seen this pool not open error and if so how did you remedy it. I don't know too much about connection pooling (C3P0 and the like), but if you think that is an answer, I'd appreciate any help in how/where such a pool is setup.
    Thanks in advance.
    Jim
    Tue Apr 06 07:55:45 CDT 2010] aims search took 204
    [Tue Apr 06 07:56:13 CDT 2010] Apr 6, 2010 7:56:13 AM com.moximedia.aims.SqlConnection initialize
    INFO: Initialized SqlConnection pool waukeshaSql
    Apr 6, 2010 7:56:16 AM com.moximedia.aims.SqlConnection initialize
    INFO: Initialized SqlConnection pool waukeshaSql
    Apr 6, 2010 8:04:30 AM com.moximedia.aims.SqlConnection initialize
    INFO: Initialized SqlConnection pool waukeshaSql
    database search took 43391
    [Tue Apr 06 08:05:13 CDT 2010] aims search took 172
    [Tue Apr 06 08:05:49 CDT 2010] Apr 6, 2010 8:05:49 AM com.moximedia.aims.pdf.Template generate
    INFO: Alias: http://maps.waukeshacounty.gov/output/WaukIMFpub_prdarcims22763412324.png
    database search took 188
    [Tue Apr 06 08:06:42 CDT 2010] aims search took 250
    [Tue Apr 06 08:07:55 CDT 2010] Apr 6, 2010 8:07:55 AM com.moximedia.aims.pdf.Template generate
    INFO: Alias: http://maps.waukeshacounty.gov/output/WaukIMFpub_prdarcims38562288336.png
    Apr 6, 2010 8:08:54 AM com.moximedia.aims.SqlConnection initialize
    INFO: Initialized SqlConnection pool waukeshaSql
    System Error: property 'layerName' is not configured properly for layer Land Divisions in layer-config.xml
    [Tue Apr 06 08:12:28 CDT 2010] Apr 6, 2010 8:12:28 AM com.moximedia.aims.SqlConnection initialize
    INFO: Initialized SqlConnection pool waukeshaSql
    ServletExec: caught exception - javax.servlet.ServletException: javax.servlet.ServletException: java.lang.IllegalStateException: Pool not open
    [Tue Apr 06 08:13:02 CDT 2010] javax.servlet.ServletException: javax.servlet.ServletException: java.lang.IllegalStateException: Pool not open
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:118)
    [Tue Apr 06 08:13:02 CDT 2010] at com.moximedia.aims.servlet.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:58)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
    [Tue Apr 06 08:13:02 CDT 2010] at net.geocortex.imf.security.http.AuthorizationFilter.doFilter(AuthorizationFilter.java:147)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2573)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:2254)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:1019)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1487)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1363)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:168)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:205)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:648)
    [Tue Apr 06 08:13:02 CDT 2010] Caused by: javax.servlet.ServletException: java.lang.IllegalStateException: Pool not open
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.JspPageContext.handlePageException(JspPageContext.java:450)
    [Tue Apr 06 08:13:02 CDT 2010] at pagecompile._sites._waukesha._jsp._wauParcelQuerySearchResults_xjsp._jspService(_wauParcelQuerySearchResults_xjsp.java:810)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.JspHttpJspPage.service(JspHttpJspPage.java:41)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.JspServlet.service(JspServlet.java:1069)
    [Tue Apr 06 08:13:02 CDT 2010] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:628)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:280)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:211)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:123)
    [Tue Apr 06 08:13:02 CDT 2010] at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
    [Tue Apr 06 08:13:02 CDT 2010] ... 12 more
    [Tue Apr 06 08:13:02 CDT 2010] Caused by: java.lang.IllegalStateException: Pool not open
    [Tue Apr 06 08:13:02 CDT 2010] at org.apache.commons.pool.BaseObjectPool.assertOpen(BaseObjectPool.java:78)
    [Tue Apr 06 08:13:02 CDT 2010] at org.apache.commons.pool.impl.GenericObjectPool.returnObject(GenericObjectPool.java:916)
    [Tue Apr 06 08:13:02 CDT 2010] at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:80)
    [Tue Apr 06 08:13:02 CDT 2010] at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:180)
    [Tue Apr 06 08:13:02 CDT 2010] at pagecompile._sites._waukesha._jsp._wauParcelQuerySearchResults_xjsp._jspService(_wauParcelQuerySearchResults_xjsp.java:384)

    My guess would be that this is not a jdbc error.
    First there is no SQLException.
    Second IllegalStateException is something that can occur in Servlet use for various reasons.
    Perhaps you have other information that suggests it can only be JDBC?

  • Getting java.lang.IllegalStateException  when try response.sendRedirect(cv)

    hi,
    I am getting this error java.lang.IllegalStateException when i am trying to send response to a jsp page
    here is my code
    try{
              Class.forName("com.mysql.jdbc.Driver");
              Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root");
              PreparedStatement statement = con.prepareStatement(sql);
              int i = 0;          
              i = i+1;
              statement.setString(1,designation);                    
              i = i+1;
              statement.setString(2,Address);                    
              i = i+1;
              statement.setString(3,name);               
              statement.executeUpdate();
              statement.close();
              con.close();
              catch(Exception e){
                   e.printStackTrace();
              response.sendRedirect("employee.jsp");Shoeb

    here is the error
    java.lang.IllegalStateException
         org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:433)
         employee.doPost(employee.java:55)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    try{
              Class.forName("com.mysql.jdbc.Driver");
              Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root");
              PreparedStatement statement = con.prepareStatement(sql);
              int i = 0;          
              i = i+1;
              statement.setString(1,designation);                    
              i = i+1;
              statement.setString(2,Address);                    
              i = i+1;
              statement.setString(3,name);               
              statement.executeUpdate();
              statement.close();
              con.close();
              response.sendRedirect("employee.jsp");
              catch(Exception e){
                   e.printStackTrace();
              }

Maybe you are looking for