EM 12 c and Glassfish

Hello

I am trying to find an area of glassfish, but I get this error:

Error details:

java.lang.Exception: java.lang.Exception: 404: HTTP error when access - location

at oracle.sysman.emInternalSDK.as.fmw.discovery.discover.DiscoveryThread.run(DiscoveryThread.java:95)

Caused by: java.lang.Exception: 404: HTTP error when access - location

at oracle.sysman.emInternalSDK.as.fmw.discovery.util.RESTUtil.validateHTTPStatus(RESTUtil.java:196)

at oracle.sysman.emInternalSDK.as.fmw.discovery.util.RESTUtil.invoke(RESTUtil.java:83)

at oracle.sysman.emInternalSDK.as.fmw.discovery.util.RESTUtil.invokeWithRootResource(RESTUtil.java:113)

at oracle.sysman.emInternalSDK.as.fmw.discovery.discover.GlassFishDiscovery.invokeWithRootResource(GlassFishDiscovery.java:458)

at oracle.sysman.emInternalSDK.as.fmw.discovery.discover.GlassFishDiscovery.getDomainNode(GlassFishDiscovery.java:183)

at oracle.sysman.emInternalSDK.as.fmw.discovery.discover.GlassFishDiscovery.discoverTargets(GlassFishDiscovery.java:156)

at oracle.sysman.emInternalSDK.as.fmw.discovery.discover.GlassFishDiscovery.getTargets(GlassFishDiscovery.java:530)

at oracle.sysman.emInternalSDK.as.fmw.discovery.discover.DiscoveryThread.discover(DiscoveryThread.java:276)

at oracle.sysman.emInternalSDK.as.fmw.discovery.discover.DiscoveryThread.run(DiscoveryThread.java:87)

Could not find the area of GlassFish

Could not discover GlassFish: java.lang.Exception: 404: HTTP error when access - location. No target discovered. Check the host, port, power and Protocol, and make sure that the server is running.

Host, port, and credentials are correct, I also checked https protocol.

GlassFish admin command is active and running.

Agent on the target host is active, I can monitor the server.

EM 12.1.0.3

GlassFish 4.0

The two server on Linux x 64

What I'm missing ?



Hello

This is due to internal bug 17282346 'not being able to invoke rest endpoint of the gf field location.

The problem with "ERROR: 404: error when accessing HTTP - location" has been reported in an another internal bug 17004469 "cannot discover glassfish open source cloud control 4 ' with the fix included in 12.1.0.5 plugin FMW. Therefore, please make sure you have the 12.1.0.5 deployed on the WHO and the agent plugin FMW and then try discovery.

REF notes 1401284.1 - how to deploy the last plugin Oracle Fusion Middleware on the SGC, and the Agent Enterprise Manager Cloud control 12 c

Kind regards

Paul

Tags: Enterprise Manager

Similar Questions

  • ADF 12.2.1 and Glassfish 4.1 cannot download files and export to excel on table throws the error

    Hi all

    I use JDEV12.2 and Glassfish Server 4.1.1.

    I am facing issue while using the export to excel feature on table and file download and download throw Error Server glassfish 4.1.1 as follows:

    [SERIOUS] [[org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl]]

    java.io.EOFException

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._skipBoundary(MultipartFormHandler.java:229)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:102)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:75)

    at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl.beginRequest(FileUploadConfiguratorImpl.java:139)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:746)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:227)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:184)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:166)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)

    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)

    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)

    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ HttpHandlerCallable.call (ContainerMapper.java:459)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)

    at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)

    at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)

    at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)

    to org.glassfish.grizzly.filterchain.ExecutorResolver$ 9.execute(ExecutorResolver.java:119)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)

    at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)

    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)

    at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)

    at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)

    in org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$ 100 (WorkerThreadIOStrategy.java:56)

    to org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:565)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:545)

    to java.lang.Thread.run(Thread.java:745).

    Since it was a bug and slipped in glassfish 3.1.2.2.What will be work it around for that please someone help me.

    Thank you

    Hello

    It s a bug on the class MultipartFormHandler of the Trinity - impl.jar. You can download the sources of trinidad-impl (trinidad-impl - 2.0.0 - sources.jar.zip) and replace the following code to the _parseBoundary method:

    Source language:

    Analyze the text content type limit

    public static private String _parseBoundary (final String contentType)

    {

    final int boundaryStart = contentType.indexOf (_BOUNDARY_PARAMETER);

    If (boundaryStart<>

    {

    Returns a null value.

    }

    Limit begins with ' - '.

    return "-" + contentType.substring (boundaryStart + _BOUNDARY_PARAMETER.length ());

    }

    New:

    Analyze the text content type limit

    public static private String _parseBoundary (final String contentType)

    {

    final int boundaryStart = contentType.indexOf (_BOUNDARY_PARAMETER);

    If (boundaryStart<>

    {

    Returns a null value.

    }

    String limit = contentType.substring (boundaryStart + _BOUNDARY_PARAMETER.length ());

    final int semicolonIndex = boundary.indexOf(";");

    If (semicolonIndex >-1) {}

    Boundary = boundary.substring (0, semicolonIndex);

    }

    Limit begins with ' - '.

    return '-' + limit;

    }

    You can find the jar trinidad - impl.jar update here.

    ADF 12 c + Glassfish4 + trinidad-impl

    Replace the jar trinidad - impl.jar in your EARS or your deployment.

    It will be useful,

    Alex

  • Apex listener 2.0 and Glassfish configuration error

    Hello

    When I do the configuration between Glassfish 3.1.2.2 and apex listener 2.0, I get the error. After I deployed the apex.war I tried to go to http://localhost: 8080/apex/listenerConfigure but I was getting this error.

    java.lang.IllegalStateException: PWC3990: getWriter() has already been called for this answer
    at org.apache.catalina.connector.Response.getOutputStream(Response.java:674)
    at org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:206)
    at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:84)
    at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:130)
    at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:111)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    to com.sun.enterprise.v3.services.impl.ContainerMapper$ AdapterCallable.call (ContainerMapper.java:317)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:619)

    could someone help me

    FYI - I can configure apex listener 1.1.4 and Glassfish 3.1.2 no problem

    Thank you

    This is one of them. There are several option.

    Take a look at:

    java -jar apex.war help 
    

    That will show you all the options.

    Which is the main:

    java -jar apex.war setup --database test
    

    Now keep in mind, this will change your WAR file. After its deployment, the parameters are in XML files. I highly recommend that you configure a location of configuration before you deploy the WAR file. It will make your life much simpler and more predictable.

    More details here: [url http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/config.htm#autoId0]Listener V2.0 Docs

    -Tim

    Published by: Tim St. H., February 22, 2013 11:24

    Published by: Tim St. H., February 22, 2013 11:30

  • ADF and Glassfish - strange errors

    Hello

    I have an application that is works very well in WebLogic 12 c. For development, I have used jdev 12 c (12.1.2.0.0) and the Weblogic 12.1.2.0.0 deployment. The security infrastructure is not active.

    The version of Glassfish is 3.1.2.2, with ADF Essentials 12.1.3.0 (before I tested with version 12.1.2.0).

    The deployment was successful, but the journal has the following message is displayed:

    PWC4011

    Full message

    Cannot set the application context /polomonitor UTF-8 character encoding, because the request parameters have already been read, or ServletRequest.getReader () has already been called

    OK, I have already created the file glassfish - Web.xml in WEB - INF directory, but still not had the desired effect:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < glassfish-web-app error-url = "" >

    polomonitor < context root > < / root context >

    < property name = "useBundledJsf" value = "true" / >

    < delegate class-loader = "false" / >

    < parameter encoding by default-charset = "UTF-8" / >

    < / glassfish-web-app >

    But my real problem is described below. It happens at random - the same page now works correctly, the error occurs sometimes. I think that the message above could be linked, because I have found no reference on Google for the error below.

    java.lang.RuntimeException: UNZIP_STATE_FAILED

    to org.apache.myfaces.trinidadinternal.application.StateManagerImpl$ PageState._unzipBytes (StateManagerImpl.java:1692)

    to org.apache.myfaces.trinidadinternal.application.StateManagerImpl$ PageState.getViewState (StateManagerImpl.java:1549)

    at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:792)

    at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:453)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.restoreView(ViewDeclarationLanguageWrapper.java:74)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.restoreView(ViewDeclarationLanguageWrapper.java:74)

    at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:142)

    at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:247)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:756)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ AdapterCallable.call (ContainerMapper.java:317)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.lang.ClassNotFoundException: com.sun.el.lang.VariableMapperImpl

    at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)

    at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)

    at java.lang.Class.forName0 (Native Method)

    at java.lang.Class.forName (unknown Source)

    at org.apache.myfaces.trinidad.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:134)

    at org.apache.myfaces.trinidad.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:65)

    at org.apache.myfaces.trinidadinternal.util.ObjectInputStreamResolveClass.resolveClass(ObjectInputStreamResolveClass.java:60)

    at java.io.ObjectInputStream.readNonProxyDesc (unknown Source)

    at java.io.ObjectInputStream.readClassDesc (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at com.sun.el.ValueExpressionImpl.readExternal(ValueExpressionImpl.java:277)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at com.sun.faces.facelets.el.TagValueExpression.readExternal(TagValueExpression.java:181)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:249)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:248)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:249)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:248)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:249)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:249)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:249)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    at org.apache.myfaces.trinidad.component.TreeState.readExternal(TreeState.java:249)

    at java.io.ObjectInputStream.readExternalData (unknown Source)

    at java.io.ObjectInputStream.readOrdinaryObject (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readArray (unknown Source)

    at java.io.ObjectInputStream.readObject0 (unknown Source)

    at java.io.ObjectInputStream.readObject (unknown Source)

    to org.apache.myfaces.trinidadinternal.application.StateManagerImpl$ PageState._unzipBytes (StateManagerImpl.java:1686)

    ... more than 51

    Thank you.

    Caused by: java.lang.ClassNotFoundException: com.sun.el.lang.VariableMapperImpl

    Bug in JSF 2.0.3 2.1.13. Use JSF 2.1.18, 2.2.0 - m09.

    https://Java.NET/JIRA/SI/JIRA.issueviews:issue-HTML/JAVASERVERFACES-1828/JAVASERVERFACES-1828.html

    If the use of Maven add the following to the pom.xml.

    com Sun.El

    El-ri

    1.0

    compile

  • EM12c and GlassFish 4

    Hello

    I don't know EM12c r3 supports Glassfish 3 monitoring, but it supports 4 Glassfish as well?

    I was thinking about building an application using 7 Vaadin (deployed as a Liferay portlet) with 4 Glassfish and Netbeans and ensure the application using EM12c.

    Yes, depending on the Certification tab on MOS Glassfish 4 is supported:

    Platform of Enterprise Manager - SGD 12.1.0.3.0 is certified with the following products when they are used together: Enterprise Manager for Fusion Middleware 12.1.0.5.0 and 12.1.0.4 platform of Enterprise Manager - Agent 12.1.0.3.0, Oracle GlassFish Server 4.0 (managed target)

    Eric

  • Apache and Glassfish followed by Questions

    Hyperic HQ version 4.5.1.2 running on Windows Server 2008 R2.

    I have two questions.

    First: I have a SINGLE instance of Apache 2.2 installed in D:\Apache\Application on a machine controlled by Hyperic HQ. However, at the start of the Hyperic agent, TI auto-découvert TWO instances of Apache, one with a path of "D:\Apache\Application" and the other with a path of "D:\Apache\Application\conf\httpd.conf." What is the problem here? Why he sees this as two instances? It is safe to remove one of them from the inventory? The one who (and how to remove stock)?

    Second: I have two servers in cluster Glassfish 3.1.0. Server 1 has domain Application Server (DAS) running JMX port 8686. Then, the server 1 and Server 2 each have two instances (total of four instances that all belong to the same cluster) running JMX on ports 28686 and 28687 on each machine. I have installed and started the Hyperic agent on both machines. As the Glassfish plugin is included in this version of Hyperic, I expected to auto-Découvrez a total of five cases of Glassfish (including the DAS). However, it has not detected any instances of all. Why it wouldn't find them? They are for the operation course. What should I do to add them to the inventory without auto-detection?

    Thanks in advance for help this first timer start.

    Nick

    Hello

    You get the error message following, because you're running two instances of Glassfish and the PTQL query must be unique.

    "Configuration has not been set for this resource due to: invalid configuration: error recovery value: cannot call getProcMem [java = State.Name.eq, Args.*.ct = com.sun.aas.instanceRoot]: query several (3) process mapping: java = State.Name.eq, Args.*.ct = com.sun.aas.instanceRoot.

    Please take a look at the Configuration Properties page again and check the setting of process.query (I think that's the correct identifier).

    It contains probably the "java = State.Name.eq, Args.*.ct is com.sun.aas.instanceRoot.

    Now that you have to do some reading ;-) Check the next page and change the setting above.
    http://support.Hyperic.com/display/Sigar/PTQL#PTQL-IdentifyingaUniqueJavaProcess

    Please let us know if you have any questions.

    See you soon,.
    Mirko

  • Apex auditor 2.0.2 and Glassfish 4

    Someone try this combination? Any questions so far?

    This has proved to be a permissions issue. I've set up Glassfish to run under a separate account (non-root), who does not have write access to the folder where the Apex listener configuration files should be stored.

    I changed the permissions and re-run the command deploy:

    [root@homedev apex_listener]# /usr/share/glassfish4/glassfish/bin/asadmin deploy --name apex --contextroot apex apex.war
    Application deployed with name apex.
    Command deploy executed successfully.
    

    And now it works! :-)

    -Morten

    http://ORA-00001.blogspot.com

  • Oracle 11g with problem of pdf cocoon.war and glassfish?

    Hi all
    I m install oracle 11g express on CentOS OS, oracle apex earphone 1.1.2.131.15 5.6
    GlassFish v2 and cocoon 2.1.11 and connect to oracle apex glasfish works very well

    Problem start when I had cocoon xml build and deploy cocoon.war on glassfish,
    addition of fop_post on cocoon/fop_post (as described on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but the pdf don't work!

    (I've been putting all the steps on the machine of 11.2 to 32-bit suse and ubuntu 8.04 - 32 bytes and pdf open work well)
    Y at - he no idea what happen whith this pdf error?
    Is the problem with 64 bytes some specific parameters, with java jdk, Cocoon, glassfish, or something on apex of oracle 11g?

    Gordan

    Published by: useruseruser on June 20, 2011 21:49

    Hi Gordon,.

    Once again, great to hear that!
    Could you rent close this thread and mark any post useful or correct if your question is answered?

    Thank you

    Udo

  • XE GlassFish and Apache

    I'm currently moving our production request where it would need to be accessible from the internet. I think I followed all the instructions posted on this forum and I hit a snag with Apache because it is impossible to load whatever it is located in the folder of the East. Here is the configuration information for your comment

    Setting up the environment:
    A: Windows Server2008 with XE (4.x) + GlassFish (installed listener and a lot of work). Will be sitting inside the firewall.
    B: Windows Server2008 with Apache 2.x. updating the httpd and http virtual servers to proxy support reverse. Able to redirect the traffic to the server of A specific app Apex

    Issue: Application appears but doesn't retrieve any content of the folder "/ i /.

    Measures taken so far:
    -Launched Dev of firebug and chrome tools and figured out I get 400 query incorrect error for all applications in the folder "/ i /.
    -Copy all the content on server A folder is on server B Documentroot folder
    -Addition of Alias in this folder (check out the virtual hosts section below)

    Section of the file of the virtual host - Note: deleted the names/IPs *.

    < VirtualHost *: 80 >
    ServerAdmin [email protected]
    DocumentRoot "C: / * folder * /".
    Servername sous-domaine.domaine.com

    ServerAlias www.subdomain.domain.com

    Alias is ' / i /.

    RewriteEngine on
    RewriteRule ^ / $ http://subdomain.domain.com/apex/ [R]
    RewriteRule ^ / apex / $ http://myip:8080/apex/f? p = xxx:1 [P]
    RewriteRule ^ / apex /(.*) $ http://myip:8080 / apex / $1 [P]

    ProxyPass / http://:8080/
    ProxyPassReverse / http://myip:8080 /.

    #This did not work
    #ProxyPass is http://myip:8080 / I
    #ProxyPassReverse is http://myip:8080 / I

    Http://myip:8080 ProxyPass/sys / sys
    Http://myip:8080 ProxyPassReverse/sys / sys

    < location / >
    Order allow, deny
    Allow all the
    < / location >

    < directory "/ i /" >
    Order allow, deny
    Allow all the
    < / Book >

    ErrorLog "logs/domain.com-error.log".
    Common CustomLog "logs/domain.com-access.log."
    < / VirtualHost >
    ********************************************End Virtual hosts*********************************

    Any help and direction is greatly appreciated.

    Thank you
    Raja

    Hi Raja,

    I'm sorry to be too fragmentary with my explenations.
    So I try to take a little more time to go through your config. I hope I don't bore you, but I need to (re) do this analysis to get a picture of your script anyway. Please correct me if one of my conclusions were wrong.

    Alias [0] is ' / i /.

    Who's that you deleted, no?
    As mentioned previously, if you use an Alias, the directory must then be a situation real (absolute) file system, not with respect to your Apache docroot. You don't need an Alias if you have + / i / + in your docroot.
    Having the APEX on your proxy stuff would be good, if the performance of the network easier and also the best approach. Not need any proxy reverse.

    [1] RewriteRule ^ / $ http://subdomain.domain.com/apex/ [R]

    This will redirect requests to the path to the root of your domain to the + / apex / + path of your domain.

    [2] RewriteRule ^ / apex / $ http://myip:8080/apex/f? p = xxx:1 [P]

    This rule aims to map all requests to the + / apex / + path to a sort of landing page and push forward the demand for mod_proxy to do the reverse transfer by proxy. So I guess that your goal is to map this page as the start page of your domain.

    [3] RewriteRule ^ / apex /(.*) $ http://myip:8080 / apex / $1 [P]

    It will pass all other applications of content below the + / apex / + path to the mod_proxy module. I think that is not necessary, but probably won't hurt.

    [4] ProxyPass / http://:8080

    I guess you missed that one when you change the file, probably you had "myip" here as well.
    This rule may not work for APEX, because [1] rewrites all applications on the context root. This type of rule, used on their own, could use the reverse proxy for all requests (since they all start of + / +). But I guess that's not the intended behavior, you have a separate rule for listener APEX which would not have been necessary in this case.

    [5] ProxyPassReverse / http://myip:8080 /

    Same problem here, just for the opposite way (dead). Once again, if you want to transfer everything from your proxy to your GlassFish and vice versa.

    #This did not work
    #ProxyPass's http://myip:8080 / I
    #ProxyPassReverse's http://myip:8080 / I

    Just if you do not place static content on your proxy, but really want to keep on your GlassFish: I recommend you remove the slash from the + / I / +. And how deploy you the images on your GlassFish?

    [6]
    Order allow, deny
    Allow all the

    See [0] - this is the path real absolute filesystem?
    Since your Apache is supposed to mean that content directly, you can always question him as any other content directly, for example http://subdomain.domain.com/i/apex_version.txt should open the text file containing the version information of APEX. If you get 400 on this request, you will get probably more of your Apache error log information. My best guess is, as mentioned previously, that + / i / + is not the actual path file system you want to refer.

    My other comments about the configuration of your reverse proxy on GlassFish had the purpose to ensure that the APEX is to put the right references, that is, URL for your static files are not composed by using your settings of the host GlassFishs, but those of your interface. It is vital for the APEX in general, not only for the static parts. APEX listener uses API calls like request.getServerName () to determine what APEX should use to generate redirects etc... The http.proxyHost and http.proxyPort = myproxy.port parameters will configure your GlassFish to meet these API calls as if it was running on the values. He therefore the parameters of your frontend (Apache) is supposed to be used, for example

    proxyName="subdomain.domain.com"
    proxyPort="80"
    

    Since you have Firebug, you can easily check what your static content base URL is referenced to.

    I hope that this will help you get this fixed number. It seems to be quite a small matter, and you're close to the working configuration.
    Please let me know if I'm pointing the wrong way and if so, what applications/mistakes see you in the logs of Apache and GlassFish.

    -Udo

    Published by: Udo on 26.02.2012 01:17

    Published by: Udo on 26.02.2012 08:44
    clarify the possible use of proxy (reverse) on + / +.

  • End of file 4.1 Glassfish

    I get this error when you try to download an excel file: EOException. I use JDeveloper 12.2.1 and Glassfish 4.1 essentials and I configured my web.xml as follows:

    <context-param>
      <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY</param-name>
      <param-value>5242880</param-value>
    </context-param>
    <context-param>
      <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name>
      <param-value>5120000</param-value>
    </context-param>
    <context-param>
      <param-name>org.apache.myfaces.trinidad.UPLOAD_TEMP_DIR</param-name>
      <param-value>/tmp/TrinidadUploads/</param-value>
    </context-param>
    

    Yes, I use glassfish 3.1.2 because it is a bug for glassfish 4.

  • Navigation flow does not work on server Glassfish

    Hi all

    I use Jdev Version: 11.1.2.4 and Glassfish server version: 3.1.2.2. Navigation flow does not work from page to page, when she tested on Glassfish server. But the code works on web-logic. Please give me some suggestion if any necessary changes.

    Thanks in advance,

    Suresh.

    This happens usually when you use the wrong url.

    Try to add (or remove) '.jsf' (or '.jspx') in the name of the page in the url

    Dario

  • Error getting of canonical path of a file on the Glassfish Server

    Hello

    I'm on jdev 11.1.2.4 and glassfish server 3.1.2.

    I want to get the CanonicalPath of an image file in ViewController/public_html/images/company_logo.png

    I use method below to get the path.

    
     public static String getCompanyLogoFilePath(){
            String filePath="C:\\company_logo.png"; // default value
            URL url;
            try {
                url = FacesContext.getCurrentInstance().getExternalContext().getResource("/images/company_logo.png");
                File file = new File(url.toURI());
                //System.out.println("getCanonicalPath:"+file.getCanonicalPath());
                filePath = file.getCanonicalPath(); 
                System.out.println("filePath: "+filePath);
                    
                
            } catch (MalformedURLException e) {
            } catch (URISyntaxException e) {
            } catch (IOException e) {
            }
            return filePath;
        }
    

    This method works very well on the integrated weblogic server. However, when I deploy my application on a glassfish server, it throws the following error

    State of the TTP 500-


    type of Exception report

    Message

    Description The server encountered an internal error () that prevents to satisfy this demand.

    exception

    javax.servlet.ServletException: /reportPages/Letter.jsf @91,109 action="#{backingBeanScope.LetterBean.cbRun_action}": java.lang.IllegalArgumentException: URI scheme is not "file"

    first cause

    javax.faces.el.EvaluationException: /reportPages/Letter.jsf @91,109 action="#{backingBeanScope.LetterBean.cbRun_action}": java.lang.IllegalArgumentException: URI scheme is not "file"

    first cause

    java.lang.IllegalArgumentException: URI scheme is not "file"

    Note The complete exception stack traces and its root causes are available in GlassFish Server Open Source Edition newspapers 3.1.2.2


    GlassFish Server Open Source Edition 3.1.2.2

    any ideas?

    Thank you

    When you want to get real (absolute) path to a file within the context of the web, you pass 'virtual' path of this resource (from the root of context) to ServletContext.getRealPath () method.

    ("Something like: FacesContext.getCurrentInstance().getExternalContext().getRealPath("/images/company_logo.png ");

    Note this virtual path always use ' / ' separator (irrespective of the platform)

    In addition, on some servers, getRealPath() does not by default if you need to activate this: java - getServletContext ().getRealPath("") returns null in WebLogic - Stack Overflow

    Dario

  • ADF Jdeveloper 11.1.1.2 application cannot be migrated to run on Glassfish.

    Hello.

    I have an application developed originally in Jdeveloper 11.1.1.2. After will have to be transferred from JDeveloper 12.1.3 (via 11.1.1.7), it runs well in WLS. It will however not run on Glassfish where each access to a component as #{links...} crashes the application with this fragment in the log file: if it helps, the expression "#{bindings} ' value 'null '.

    Requests made from scratch in JDeveloper 12.1.3 works well in WLS and Glassfish.

    Any help will be much appreciated.

    Best regards

    Erik

    Hi Erik,

    You should check your deployments. There may be some libraries remains of the essentials libraries, which are put in the ear and so George file by the application.

    Greetings,

    Markus

  • All new to APEX and Oracle - need help with setting up email

    I have looked at the APEX for a few months now and finally took the plunge. I installed Oracle 11 g enterprise, 4.2 APEX, APEX listener 2.05 and GlassFish 4. Fine surpringly and I did the step "Activate the Oracle 11 g database Network Services" in the installation guide and can connect to the APEX Admin Services page. I'm about to create my first workspace and realized that only to not configure the e-mail for the APEX instance settings still (the SMTP host address, etc.) I wanted to make sure that the admin workspace would have received an email from the system.

    I'll do it soon, but my question is what I have to do something else for the instance of the APEX or the database itself to send?

    Thanks in advance!

    Hello

    If you already Activate Network Services for schema of the APEX to access SMTP server, you just need to Configure Email.

    If your SMTP server uses SSL/TLS, you must also Configure portfolio and import the certificate to the SMTP server to the wallet.

    Kind regards

    Jari

  • Is it possible to create body and SOAP clean envolpe?

    Hello

    I developed a web and deployed on servers Web service logic and Glassfish.

    But his body of envelope and SOAP SOAP is different.
     
    
    Glassfish Request :
    -------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
        <S:Header/>
        <S:Body>
            <ns2:getFunctionXML xmlns:ns2="http://webservices.onwardinfosys.com/">
                 <functionName>inotification_pkg_ver4.notifications_count</functionName>
              <parameters>IOS_USER</parameters>
              <appUserName>string</appUserName>     
              <appUserPass>string</appUserPass>
              <deviceCode>string</deviceCode>
            </ns2:getFunctionXML>
        </S:Body>
    </S:Envelope>
    Weblogic Request :
    --------------------
    
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Header />
        <env:Body>
        <getFunctionXML xmlns="http://webservices.onwardinfosys.com/">
          <!--Optional:-->
          <functionName xmlns="">INOTIFICATION_PKG_VER4.NOTIFICATIONS_COUNT</functionName>
          <!--Zero or more repetitions:-->
          <parameters xmlns="">IOS_USER</parameters>
          <!--Optional:-->
          <appUserName xmlns="">string</appUserName>
          <!--Optional:-->
          <appUserPass xmlns="">string</appUserPass>
          <!--Optional:-->
          <deviceCode xmlns="">string</deviceCode>
        </getFunctionXML>
      </env:Body>
      </env:Envelope>
    Is it possible to have a single soap envelope and body, even if I'm deploying web service on different servers?


    Kind regards
    Ajay Sharma

    Ajay Sharma wrote:
    If the customer wants to deploy the web service on a different server, then soap request and response will change

    No, they do not change. This is the same definition in both the XMLs, it's just this a little differently.

Maybe you are looking for

  • Please help me good people.

    The guy uses a presar io CQ58 NOTEBOOK PC... The PC told me three times to create a backup one i made, then aftr three days, the PC was stop by a display message wit a blue background. Then I ddnt read as wel wel very messege bt it was somthng like r

  • Why the beats start file is not found on my TouchSmart 320-1050?

    I have a 320-1050 Touchsmart from HP with Windows 7 64 bit operating system.  When I try to open the software of beats, I get an error message saying that the boot file is not found.  I have not made any changes to my computer and that you have not a

  • "BOOT MGR is missing" error while installing Windows.

    Original title: problem during installation of operating system whenever I get the CD/DVD of any Os install , it shows a message "BOOT MGR is missing" Press Ctrl + Alt + Delete to restart - - I rebooted a hundred times and tried a lot of different ty

  • VB for Explorer layout: REFRESH the Explorer & desktop

    Hi, I have a few vb for a rocking of the setting to: enable / disable the display of file extensions. I've pasted a copy in my office & think would work well to see the State SHOW the EXTENSIONS ON / OFF as the extension tries to edit on the desktop

  • Connected HP printers missing

    I've had printers serval of installation with connected HP and ePrint to print from Chromebooks, all tested and working. Today, they're all gone. I had 3 printers with one account and another impression with a completely separate account. The two acc