Problem with ADF JDeveloper 12 c to Glassfish deployment

Hello

I'm new to JDeveloper/ADF, but not for the JSF, etc.. I'm trying to load a simple application of the ADF (a single entity object and object of a view in a model project and a jsf page where I dropped the view of the data control object). We use Glassfish so I'm trying to deploy it and am following blog Shay Shmeltzer (https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to), which deploys on a server Glassfish 3.1 JDeveloper 11. So I use the last JDeveloper, which can be a problem?

The problem is that my deployment fails. Here are my entries server.log:


[#: 2013 07-24 T 15: 43:14.908 - 0700 |] WARNING | glassfish3.1.2 | org.apache.catalina.connector.Request | _ThreadID = 88; _ThreadName = wire 2. PWC4011: cannot set the application context UTF-8 character encoding, because the request parameters have already been read, or ServletRequest.getReader () has already been called. #]

[#: 2013 07-24 T 15: 43:15.014 - 0700 |] INFO | glassfish3.1.2 | org.GlassFish.admingui | _ThreadID = 88; _ThreadName = wire 2. deployment GUI: uploadToTempfile | #]

[#| 2013-07-24T15:43:15.014-0700|INFO|glassfish3.1.2|org.glassfish.admingui|_ThreadID=88;_ThreadName=Thread-2;|uploadFileName=C:\JDeveloper\mywork\TestADF\deploy\TestADF_Glassfish.ear|#]

[#: 2013 07-24 T 15: 43:15.278 - 0700 |] GOOD | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. ClassName = com.sun.enterprise.v3.server.ApplicationLifecycle; MethodName = getContext. deployment expansion took 145 | #]

[#: 2013 07-24 T 15: 43:16.630 - 0700 |] GOOD | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. ClassName = org.glassfish.api.ActionReport; MethodName = failure; unrecognized for module C:\JavaEE\glassfish-3.1.2.2\glassfish\domains\domain1\applications\TestADF_Glassfish|# Module type]

[#: 2013 07-24 T 15: 43:16.631 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. unrecognized for module C:\JavaEE\glassfish-3.1.2.2\glassfish\domains\domain1\applications\TestADF_Glassfish|# Module type]

[#: 2013 07-24 T 15: 43:16.631 - 0700 |] GOOD | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. ClassName = org.glassfish.api.ActionReport; MethodName = failure; Exception when deploying the application [TestADF_Glassfish] | #]

[#: 2013 07-24 T 15: 43:16.631 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = wire 2. Exception when deploying the application [TestADF_Glassfish] | #]

[#: 2013 07-24 T 15: 43:16.632 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.core.com.Sun.enterprise.v3.Server | _ThreadID = 98; _ThreadName = thread 2;: java.lang.NullPointerException
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:375)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 1.execute(CommandRunnerImpl.java:348)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1200 (CommandRunnerImpl.java:95)
to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1291)
to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1259)
at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)
at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)
at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
to com.sun.jersey.spi.container.JavaMethodInvokerFactory$ 1.invoke(JavaMethodInvokerFactory.java:60)
to com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ ResponseOutInvoker._dispatch (AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)
at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)
at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
to com.sun.enterprise.v3.services.impl.ContainerMapper$ Hk2DispatcherCallable.call (ContainerMapper.java:354)
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:722)
|#]

[#: 2013 07-24 T 15: 43:16.636 - 0700 |] SEVERE | glassfish3.1.2 | javax.enterprise.System.Tools.admin.org.GlassFish.deployment.admin | _ThreadID = 98; _ThreadName = wire 2. Exception when deploying the application [TestADF_Glassfish] | #]

[#: 2013 07-24 T 15: 43:16.662 - 0700 |] INFO | glassfish3.1.2 | org.GlassFish.admingui | _ThreadID = 88; _ThreadName = wire 2. Exception occurred: error occurred during deployment: Exception when deploying the application [TestADF_Glassfish]. Please see server.log for more details. | #]

I don't see what about the NullPointerException.

It is a server Glassfish 3.1.2.2. I get the same message that I have deploy JDeveloper or GlassFish (just try to download the .ear file). Blog of Shay, subsequently, I loaded jars adf-essentials in the zip file and changed the parameters of the JVM. In JDeveloper, I right click on the application and will deploy and click the deployment profile. I click on deploy to the application server and choose my local server to Glassfish.

I appreciate all help. Thank you.

Steve

OK, my problem was my deployment descriptor. When I created a new Glassfish deployment descriptor, it did not automatically the ViewController project in the Application Assembly to the EAR application. So now, the Application Assembly for the EAR includes the deployment for ViewController project (the ViewController project has a dependency on the model project is also included).

The application now deploys correctly on a Glassfish 3.1 server.

Steve

Tags: Java

Similar Questions

  • Problem with ADF Mobile on Android

    Hello

    I am trying to perform a very simple test with adf mobile on android emulator.

    But when I try to open the application, the startup screen never changes.

    Only when I go to the menu and go back to the application in the menu device, it shows the main screen.

    And...

    When I try to open a page very simple amx, the app launch a message that says:

    Failed to initialize the AdfcContext {classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ;}}

    Can someone help me?

    I use:

    Framework Mobile ADF oracle.adf.mobile 11.1.2.4

    SDK Android 22

    Message: http://db.tt/mIqcekCI

    Journal: http://db.tt/0frlguNq

    Thank you!

    Hi, there, a number of things to double check your settings of the emulator:

    • When the Android emulator configuration, make sure that the emulator emulates the ARM processor (armeabi - v7).  ADF Mobile works only with the ARM processors - device so the emulator.
    • Under Options, memory, please ensure that RAM is at least 768 or higher.  It is of course also constrained by the amount of memory that your development computer has, but in general, you should have at least 768 MB allocated.  ADF Mobile app itself will almost RAM of course, but there are lots of Android apps that are started in the background when the Android emulator starts.
    • Also make sure, there are 500 MB of internal storage configured - you can go as low as 200 MB, but the space will be quickly.

    Finally, compile/deploy again, please open JDeveloper menu Build - Clean all to clean up any left over deployment artifacts.

    Thank you

    Joe Huang

  • Problem with adf tables dynamyc region

    Hello.

    I have a problem when use ADF tables in dynamic regions. Happens if the table is inside the first task flow that is loaded (by default) in the dynamic region, recovers the data perfectly, but if the table is in a second, third and so on. flow, the task does not retrieve the data. This only happens with adf tables and graphs, if I use a form of component, for example, there is no problem.

    Any idea which can happen?

    I use Jdveloper 11.1.1.1.0

    Appreciate any ideas or help with this problem

    In iexplorer 8 gives the following error:

    Band details of page errors

    User agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
    Date: Wednesday, December 2, 2009 16:17:48 UTC


    Message: 'null' is null or not an object
    Line: 1105
    Character: 2
    Code: 0
    URI::7001/SGLadf-ViewController-context-root/afr/partition/ie/default/opt/collection-11-r1.js http://seisbd101.dgac.cl

    Hello

    Define the scope of the bean managed for the bean that switches between the regions to more far-reaching than demand: for example, set it to viewScope or pageFlowScope. This fixes the problem

    Frank

  • Problems with subversion Jdeveloper 10 g

    Hello! I have problems with subversion. On some PCs I have subversion

    1. when I check the updates, I can't find update - EXTENSION OF THE FRAMEWORK is SCV 10.1.3.38.65 old and what to use then?

    2. on the pc where I have Subversion create new conn:

    URL of repository: file:///Z:/kokiRepos
    Conn name: Test
    User: KOKAUGI
    Password: j *.

    I got the error:
    Test the connection...
    svn: unable to open an ra_local session to URL
    svn: cannot open the directory "file:///Z:/kokiRepossss".
    svn: cannot open the directory "file:///Z:/kokiRepossss".
    Connection test failed.

    Why?

    Best regards!

    Here

    Arun-

  • Problem with adf security

    Hi Experts ADF,

    I use Jdeveloper 11.1.1.6.

    I created a simple application using ADF, it contains 2 jspx page.

    Now, I got my app ADF with only ADF using the form based authentication and authentication.

    ju.png

    I use default login.html, but I changed the user interface of login.html.

    When I run my application my login page doesn't show any image or css does not work.

    Even if my Css and images are outside WEB - INF

    Well, if you're sure it's the same problem as thread so that you can use approach similar to this: https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with

    Dario

  • Problem with ADF desktop integration

    I worked on getting a request for the ADF to work with the ADF and Excel desktop application...

    I've followed all the install / Setup instructions to get the plugin installed in Excel and in the ADF. I created the excel document in the view controller but when I double click on the file xlsx within Jdeveloper to open and make page links I just get the following when the file opens in excel... 'the project, ViewController, could not be loaded'... and the pagedef popup does not appear. I was wonder if anyone has come across this.

    JDeveloper 11.1.1.6

    Excel 2010

    .NET framework 4.5

    Thanks for any help

    Are you a person following the tutorial? Which one? Have you created a pagedef.xml file in your viewController project?

    There are also a bunch of improvements in the DI ADF in the 11.1.1.7 version - then you can consider upgrading to this version, if you are a beginner.

  • problem with adf table when the component is added in the column of the table.

    Hi all

    I use jdev 11.1.1.5.0 version.

    use case: I created an adf table that is based on the original Version. DC now I added a component of group select a radio (which contain 4 approved, rejected, radio button back, no) in the table of the adf.
    I have table with many rows for example in the first row select approved and the next row I select reject now when I get the value of a radio button group in backing bean by using the component binding I had the last selected value. (in this case to reject).

    And the second is that when I set the value for the current by using binding as line radio button

    rb.setValue("R") then reject option selected for all lines.

    so my question is--

    How can I get and set the value of the group to select a radio at the level of the line using the element binding.

    Hello

    I don't see a reason to not use a transitional attribute for the radioGroup in your previous answer.

    Here's the example I tried.

                            
                                
                                
                                
                                
                                
                            
    

    Where DeptnoRadio is the transitional attribute, I created (which will be a few random values between A and E) and EnableDisable is another temporary variable of type Boolean that returns true or false depending on certain conditions.

    Now, for each row, the value is different (and the corresponding radio button is selected) and thereafter, which match the condition, the option is disabled.

    Arun-

  • Problem with ADF expand/collapse tree

    Hi all

    I have a customer that has problems using the af:tree on a deployed application component. When he tries to expand or collapse a node in the tree, the icon just flashes. This happens not only on our request, but also the Oracle ADF Rich Client demo on http://jdevadf.oracle.com/adf-richclient-demo/faces/components/tree.jspx. It uses Internet Explorer v7.0.5730.13. As far as I know, our browser settings are the same, but I can use the tree without problem.

    Any ideas as to what could be the problem?

    Thank you

    Brad

    Make sure that under Advanced settings, they have Enable native XMLHTTP support under tension.

  • ClientListener problem with adf

    I have a problem when use a java script to deny the right-click on some components as the panelGroup I swtch option of the clientComponet to true, and it's the ClientListener:

    < af:clientListener method = "RClick" type = "mouseDown" / >

    and this is the script:

    < script src = "js/bder.js" type = "text/javascript" > < / script > "

    This is the code of the script:
    msgerr var = ' - ¡funcion anulada! - Sistema of the Unidad de Salud Ambiental \n\n---\n\n ";

    function RClick (boton) {}
    If (document.layers & & boton.which == 3) {}
    Alert (MsgErr);
    Returns false;
    }
    If (document.all & & event.button == 2 | event.button == 3) {}
    Alert (MsgErr);
    Returns false;
    }
    }
    document. OnMouseDown = RClick

    Well that's all my code, but when I try to run my jspx my page having an error in the page of my Explorer and Don t run anything like that and my page look very bad for the original desing
    Thax to everyone

    Hi David,

    in Internet Explorer, it works for me:

    My jspx page:
    >


    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:trh = "http://myfaces.apache.org/trinidad/html" >








    inlineStyle = "width: 200px;" height: 200px; »
    clientComponent = "true" >







    >

    bder.js:
    >
    msgerr var = ' - ¡funcion anulada! - Sistema of the Unidad de Salud Ambiental \n\n---\n\n ";

    handleRC = function RClick (boton) {}
    If (document.layers & boton.which == 3) {}
    Alert (MsgErr);
    Returns false;
    }
    If (document.all & event.button == 2 | event.button == 3) {}
    Alert (MsgErr);
    Returns false;
    }
    }

    >

    and you have to right click on the outputText1

    Kind regards

    Branislav

  • Problem with BPM (JDeveloper) and the turtle

    Hello

    I have a strange error when you try to open a project of 11g BPM using JDeveloper. The project is under tortoise svn and whenever I try to open the BPM process, JDev crushes.

    Someone at - it do in this kind of mistake?

    Thank you all for the reply

    Fairlie

    Hi Fairlie,

    In JDeveloper, you can disable Versioning in JDeveloper by clicking on "Versioning" in the main menu-> click on 'Configure'-> uncheck the box.

    Dan

  • Problem with the new RPD file OBIEE 11g deployment

    I'm working on a recent ' 30/09/2010' installation of OBIEE 11 g on a platform of Windows 32 - bit, with an instance of Oracle 11 for MDS database.

    I created a new RPD with the new admin tool and use Enterprise Manager to deploy (upload) and activate the changes. Just to be on the safe side, I also restarted everything.

    Now, "things are breaking" the service bimiddleware is showing a 'red' arrow down, bipublisher is also declining.

    Any attempt to connect to the analytical application (with valid credentials) fails with an authentication error.

    Looking through the log file I find this entry:
    "[13026] error getting roles FMW: ' [nQSError: 46164] HTTP server returned the error 404 (not found)" to URL. ""

    Can someone tell me what could go wrong?

    Thank you

    Richard Brooks

    How about making them even then?

  • Problem with the package to start Group Policy deployment

    Hello

    I was wondering if anyone can tell as to why package in Group Policy deployments apply always as expected on all computers or the next boot even after executing a gpupdate/force or gpupdate/boot, a reboot or a hot or cold boot. Also, I was wondering if anyone else has had these questions and share their experiences in the way that they troubleshooted this question. Your help would be much appreciated.

    Kind regards

    RocknRollTim

    Hi Tim,.

    Thanks for posting your query in Microsoft Community Forum. However, the question you have posted will be better suited to the audience of professionals on the TechNet forums.

    I would recommend posting your query in the TechNet forums.
     
    TechNet Forum

    Thank you.

  • JDeveloper 11 g: problem with the installation of JUnit extensions

    Hi all

    I have problem with installing JUnit extension of JDeveloper 11 g Release 1 (11.1.1.3.0).

    I spent the first steps from here: http://www.oracle.com/technetwork/articles/adf/part5-083468.html (verification of updates, select BC4J JUnit integration and JUnit, finishing), but after restarting the IDE I don't see JUnit extensions in the window of the JDevelopr 'Help'-'About', 'Extensions '.
    When I tried to create the unit test, I didn't see the menu item "Unit Tests" in the new window of the gallery.

    What could be the reason for such thing?

    Anatolii

    Hello

    I also had the same problem with the Jdeveloper version you are using. It looks like a bug. To work around this problem, I downloaded the form from the following site

    http://www.Oracle.com/ocom/groups/public/@OTN/documents/WEBCONTENT/131167.XML

    And manually installed with JDeveloper-> help-> Check For Updates-> select the option at the last, install from a Local file and select the file that you downloaded from the site above.

    Kind regards
    Nathalie.

  • Problem with competent inputFile in Jdeveloper 11g ADF

    Hello

    I use a competent inputFile in jsff page where the user can browse the file system, select the file in order to to store in the database.

    I created a method of valueChangListener for this component which deal with this file and place it in db.

    The problem is:

    Once the user selects the file it appears for one second in the page it disappears and the valueChangeListener is not called.

    Note: the AutoSubmit regularity is set to true for this competent. I use jdeveloper with ADF 11g.

    Thank you

    Hello

    I guess you are missing the usesUpload property for the tag form enclosing in your page:

    It will be useful,
    Jose.

  • JDeveloper with ADF Essentials 12.2.1

    Has anyone had any luck with that really work? Since JDeveloper now runs on Java 8 test runs and Glassfish 3 on Java 7 and essential of the ADF does not officially support glassfish 4 (or they do it with a bit of tinkering?) Please advise...

    Did you follow this option to configure the ADF on GF support: http://docs.oracle.com/middleware/1221/adf/administer/GUID-FCF912A3-AE8B-48D6-8B64-ACB60147CE2E.htm#ADFAG20940

    Dario

Maybe you are looking for

  • iPhone 7: interactive Notifications

    Hello! I backed up my iPhone 6 and restored then the backup of my new iPhone 7. The only feature that seems to be 'missing' are the news interactive Notifications in iOS10. When I swipe to the left of any notice of my lock screen (whether they are al

  • Numbers - capitalization of the text in multiple cells

    Hi all, I know that I can select cell formatting of the text and to capitalize the first letter of each word, but I would like to select a large number of cells and to capitalize the first letter of the text, but when I select multiple cells is greye

  • HP Pav DV6 6170sl, RAM upgrade?

    Hello, I have a Pavilion DV6 6170sl with 8 GB of RAM (4 GB x 2 - DDR3 SDRAM SODIMM MT16JSF51264HZ - 1-4). It is possible to change with 16 GB (8 x 2 GB)? The equivalent model for Micron Technology of 8 GB is DDR3 SDRAM SODIMM MT16JTF1G64HZ - 1 4. Mot

  • error 0xD56 when trying to install SQL 2005 update for service pack 4 Server

    Update tried several times to install an update to SQL server.  SP 3 failed and now SP4 is ready and is also a failure.  On this last error code is 0xD56. I'm fed up with these updates failed and have tried various suggestions to eliminate it or have

  • bottleneck

    What's the bottleneck ?