Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4
Hi,
I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
the Task is as follows :
<target name="generate-from-wsdl5" >
<oracle:jaxwsGenImpl
wsdl="contract/wsdl/${SRC_WSDL}"
/>
</target>
The Output is :
D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
Buildfile: build.xml
[taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
generate-from-wsdl5:
BUILD FAILED
D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-D:\Jdev11-Tecpr4\ant\lib
-C:\Documents and Settings\jnandi\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
Thanks and Regards
Jyoti
Hi,
the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
Frank
Similar Messages
-
Problem in ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4
I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
the Task is as follows :
<target name="generate-from-wsdl5" >
<oracle:jaxwsGenImpl
wsdl="contract/wsdl/${SRC_WSDL}"
/>
</target>
The Output is :
D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
Buildfile: build.xml
[taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
generate-from-wsdl5:
BUILD FAILED
D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-D:\Jdev11-Tecpr4\ant\lib
-C:\Documents and Settings\jnandi\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
Thanks and Regards
JyotiHi,
the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
Frank -
JDeveloper 11g Tech Preview 4 Very Slow
How to increase the the working speed (cache) of JDeveloper 11g tech preview 4. While coding it is taking time to get it typed. During scrolling the page, it is moving very slow. I have tried with changing the value of AddVMOption -Xmx512M in "ide.conf" file. Changed it to 1024. Still there is no difference. Please help me.....
Thank you for your attention
VinsAnd to back up John's words, the TP releases were designated for non-production "preview" use only, were not optimised in anyway, have huge amounts of bugs and are not supported. Best upgrade or you're going to have further issues.
CM. -
Problem creating reference heap snapshot with JDev 11g and OAS10g
Has anyone successfully configured OAS 10g and JDev 11g for reference heap snapshots in the memory profiler?
I have configured the server in opmn.xml and the client in JDeveloper. I can start the server and connect the JDev profiler and start and stop the use case.
I do not, however, see any results in JDevelopers References panel, and I get an I/O error when stopping the use case
"Profiler snapshot I/O error reading input file D:\profile\myfile.opi". This binary file is actually written, however.
The Java start parameters in opmn.xml are:
-agentlib:profiler15=port=4627,
jarpath=D:\jdev\lib\profiler-agent.jar,enable=r,refpath=D:\profile\myfile.opi
Environment:
OAS v10.1.2.0.2,
JDeveloper 11g, Techonology Preview 4 (11.1.1.0.22.49.49),
JDK 1.5,
WindowsHi,
Thanks for the input, I'll refer my questions to that group.
I can add that we have successfully profiled JVM memory usage and garbage collection on OAS10g using JDev 11g. See
Re: Memory Profiling OPMN changes
It's only the reference heap snapshot feature that does not seem to work for us in this setup.
Thanks again,
Niels Erik -
Error deployment to standalone oc4j (jdeve 11g tech prev 3)
something to do with persistence...
and entitymanager.. similar to bundleoc4j issue..
AnnotatedClassNotFoundException
even though the classes are chosen and checkmarked..
(as in 10g)
Caused by: java.lang.InstantiationException: Application: M2miAPplicationDemo is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:645)
at com.evermind.server.Application.setConfig(Application.java:448)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:554)
... 7 more
Caused by: oracle.oc4j.persistence.PersistenceException: [M2miAPplicationDemo] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.PersistenceProvider for persistence unit Model.
at oracle.oc4j.persistence.PersistenceException.exceptionCreatingEntityManagerFactory(PersistenceException.java:113)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:177)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createPersistenceUnit(PersistenceUnitManagerImpl.java:139)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:79)
at oracle.oc4j.persistence.ServerPersistenceUnitManagerImpl.initialize(ServerPersistenceUnitManagerImpl.java:17)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:268)
at com.evermind.server.Application.setConfig(Application.java:551)
... 10 more
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [Model] failed.
Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while loading class: m2mi.model.Hoststats to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: m2mi.model.Hoststats
Dependent class: oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor
Loader: oracle.toplink:11.1.1.0.0
Code-Source: /C:/jdeveloper/lib/java/shared/oracle.toplink/11.1.1.0.0/toplink-core.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdeveloper\j2ee\home\oc4j.jarHi,
please try this with the embedded OC4J that you can start as stand alone server. If you use the OC4J isntance you download from OTN then you get one of version TP1, which is probably not working well with the changes in JDeveloper 11 TP3
Frank -
Problem running app in default server (Jdev 11g)
Hi,
I am pretty new to Java/Jdev and I am facing some problems trying to run the application as laid out in the example tutorial from http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_22/ccset22_ALL.html. I have followed all the steps and when I run the application as mentioned, the following errors appear in the log message window. Can anyone advise me what to do next?
[Application BrowseEditApp deployed to Server Instance DefaultServer]
Target URL -- http://127.0.0.1:7101/BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml
May 21, 2009 4:54:24 PM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
May 21, 2009 4:54:24 PM oracle.adfinternal.controller.util.model.AdfmInterface initialize
INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
May 21, 2009 4:54:24 PM oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
<May 21, 2009 4:54:28 PM GMT+08:00> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1558d83 - appName: 'BrowseEditApp', name: 'BrowseEditApp-ViewController-context-root', context-path: '/BrowseEditApp-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@73534[
GET /BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
Accept: */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Connection: Keep-Alive
]] Root cause of ServletException.
java.lang.NullPointerException
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getLastEventId(JUCtrlValueBinding.java:3642)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getLastADSEventId(FacesCtrlAttrsBinding.java:214)
at oracle.adfinternal.view.faces.activedata.AttrsActiveDataModelImpl.getCurrentChangeCount(AttrsActiveDataModelImpl.java:139)
at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._registerComponent(PageDataUpdateManager.java:281)
at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.registerComponentForPPR(PageDataUpdateManager.java:155)
Truncated. see log file for complete stacktrace
>Try uninstalling Terminal Server
-
Problems opening existing Oracle 9i in new 11g environment
Hi everybody,
Have I got a challenge for you! Just to be clear, I'm not an Oracle specialist (or just call me an Oracle-noob).
Challenge: Open up an existing Oracle 9i database in a new Oracle 11g environment.
End result: Be able to connect to a running Oracle database with 'SSMA for Oracle' to convert it to a SQL database.
Starting point:
- Received from customer: DBF, CTL and LOG files from an existing Oracle environment.
- Since I cannot download Oracle 9i environment, I chose to install the 11g environment and hope for a proper backwards compatibility.
How far I got:
- Installed 11g environment
- Configured a database pointing to the DBF files
~ Change init.ora to use the CTL files
~ Create spfile from init.ora
~ Startup database mount and rename database and datafiles using sqlplus (connecting with "sys as sysdba")
Issues:
Now I can startup the database, but it comes up with an *"ORA-00704: bootstrap process failure"* and recommends me to start it up with UPGRADE option. Starting it up with UPGRADE option works and I can browse through the database using the Toad tool (connecting "as sysdba"). But 'SSMA for Oracle' does not have an option to connect "as sysdba" and gives me an "ORA-39710: Only connect AS SYSDBA is allowed when OPEN in UPGRADE mode".
Since the SSMA for Oracle client cannot log me into a database started with UPGRADE option I probably will have to fix the "ORA-00704: bootstrap process failure".
I tried to avoid the upgrade-option by trying to upgrade the database to 11g. But utlu112i.sql and catalog.sql give me errors like "ORA-04023: Object SYS.STANDARD cannot be validated".
Questions:
- Do you think that what I'd like to achieve is possible at all?
- Can I easily run a Oracle 9i database in a 11g environment or do I really have to upgrade?
- Do you think this is the best way to get an existing Oracle database running in a new environment?
- If yes: How do I solve the ORA-00704 error?
If you need any more information, alert logs, .ora files or anything to give a proper answer, please ask and I will provide them.
Thanks in advance!
Regards,
DircoYou can find the Oracle binaries here I think for 9i...
http://edelivery.oracle.com
No matter which direction you go here you are going to probably run into issues and setup needs that it would probably be better for you to hire a DBA to help out with. In the end it will probably cost you less in your time and effort.
One "quick" method to upgrade a system (depending on your database size) and probably the simplest for you is to do an import and export. However, that will require that the client sends you and export of their database.
You could then simply install the Oracle 11g database on your system and then import the previous database into the 11g instance. With 10g and on they recommend using a product called DataPump, but the import and export utilities are still available for use and I would stick with them for this.
The trick about the import and export is that there are things that you will probably need setup within the 11g instance that mimic the 9i instance to have the import smoothly. Objects get created in areas called tablespaces which are logical abstration of the storage on the system. You will need tablespaces created that mirror the tablespaces on the 9i instance. So for a basic outline.
1) Get client to create export of 9i instance.
2) Get client to provide a list of tablespaces on the 9i instance and the size of those tablespaces.
3) Install 11g on your new machine....in the process allow it to create a database (this is an option).
4) Create tablespaces that mirror the 9i instance in naming and size on the 11g instance
5) Do full import into the 11g instance of the 9i dump.
I still suggest hiring a DBA for a few hours to make life easier on yourself and get the job done quickly and correctly.
Regards
Tim -
Where can i download jdev 11g Technical Preview version
I need TP1 or TP2, is there any way to get it?
The technology previews are not supported, and are no longer out there on OTN - so my recommendation is that you try and solve the errors you are running into and get your application working on the supported production version of JDeveloper.
-
Jdeveloper 11g Tech Preview 2 can't see my stored java
Environment win 2000 hitting oracle 9.2.0.6.
Trying this tool to see if it will allow me to trace some poorly documented java which generates convoluted sql.Sorry about the minimal detail. (Can't you read my mind?)
I'm trying to do several things:
1. First ascertain whether or not jdeveloper will allow me to "see" the java procs stored in oracle. In the schema browser, it appears that java objects are absent as they ARE NOT when examined via OEM. If the answer to this is "Yes", then I need to know what I ought do to allow me to see them.
2. Closely on the heels of 1, having accomplished the first, will this tool (or perhaps another) allow me to examine via the debugger, the values of the variables generated by the java. The java I am working with is rather difficult to follow, poorly documented and has the additional layer of obfuscation being that it dynamically generates sql that it submits via the default jdbc connection. This proc was initially designed as a single-threaded (select a record-process-a-record-get-another-record-repeat) process and the contractors after the fact said "Yeah, we can make it a batch", and all it appears to be doing is scooping up all the data in a cursor and single-threading it from the cursor instead of the user prompt.
If I can see the sql being submitted I may be able to speed this process up both for the online and batch transactions. In addition to this, following the sql generated will allow me to see the defacto business rules we have in place as opposed to the advertised ones. -
Download for latest Jdeveloper 11g Technology Preview - 3 :link not working
Hi,
I tried downloading the latest Jdev 11g Tech Preview - 3 from the link mentioned on the site : "Download Oracle JDeveloper 11g Technology Preview 3 - Java EE, SOA and WebCenter Development". But the page always times out.
Is there an issue from my side here or someone else also facing the same problem ?
Regards,
Arun
Message was edited by:
Arun RHi,
Figured that the problem was because I was using Mozilla Firefox. It works with IE. ( But what about browser neutrality? ;) ) -
Can anyone tell me where I can get this ant task "<oracle:shutdownServer|restartServer ..>" which is clearly documented in the Oracle PDF - "Oracle Containers for J2EE Deployment Guide"
http://download-east.oracle.com/docs/cd/B32110_01/web.1013/b28951.pdf
I have the ant-oracle-classes.jar for our 10.1.3.1 and have searched the antlib.xml contained within the jar and there is no reference to these tasks.
I have searched all jars in our oracle base and there are no references to these ant taskdefs anywhere.
Is there a patch for this, our is there a seperate download required?
Thanks for any help on this,
JP.John this issue looks similar to bug 6020713 raised against 10.1.3.2 OC4J on solaris, which states that antlib.xml file is missing the following values.
< taskdef name="restartServer" classname="oracle.ant.taskdefs.deploy.JSR88StartServer"/>
< taskdef name="shutdownServer" classname="oracle.ant.taskdefs.deploy.JSR88ShutdownServer"/>
It looks like 10.1.3.1 also has this issue on windows as the classes exist in the ant-oracle-classes.jar.
You should raise an SR to clarify this oracle support.
Cheers
Jeff -
Can't create EO from services (JDev 11g Preview 3)
In JDeveloper 11g Tech Preview 3, I am unable to create an Entity Object from a service that I selected (with WSDL) in UDDI registry (Oracle AS 10g registry) using the EO creation wizard. After selecting the service and returning to the EO creation wizard, I clicked next or Finish and nothing happens. Any ideas? Thanks!!
Hi,
this bug 6611406, which is fixed in a later version than TP3
Frank -
JSF 1.2 supported in OC4J (JDev 11g)
Hello Everyone,
How do you know if your container is supporting jsf 1.2 or not, as am wondering if Embedded OC4J in JDev 11g Technology Preview already supporting JSF 1.2 by default!?Hi,
it does.
Frank -
Problems with JDev 11g using JBOSS and ANT
Hi,
I'm trying to migrate to JDev 11g with JBoss ( version 7.X ) as the AppServer
With JDev 10g all works fine with JBoss, even the Remote Debug, all OK
here is the problems I have :
1) ANT
JDev doesn't save my ANT settings
every time I launch ANT : Run Ant Target - I must set the Advance settings
JDev 10g I only need to do that once, the settings are saved but not in the 11g, why ?
2) persistence
I get this error when deploying to JBoss
16:34:50,967 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBA
S015870: Deploy of deployment "prod_v0.0.1_iDigital.menu.ear" was rolled back wi
th failure message {"JBAS014771: Services with missing/unavailable dependencies"
=> ["jboss.persistenceunit.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp
.war#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceun
it.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp.war#InfraModel\"jboss.na
ming.context.java.jdbc.stdDS]","jboss.persistenceunit.\"prod_v0.0.1_iDigital.men
u.ear#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceu
nit.\"prod_v0.0.1_iDigital.menu.ear#InfraModel\"jboss.naming.context.java.jdbc.s
tdDS]"]}
it seems that is something related to dependencies not well configured during build stage of the EAR, but with 10g works fine
BTW, I can't run my project with WebLogic either, gives this error :
<5/Abr/2013 18H27m BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1365182860563' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
<5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'iDigital.menu'.>
<5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
can someone give me a clue ?
thanks
Edited by: FernandoLeite on Apr 5, 2013 10:31 AMI can't say many about the ant stuff, but have you tried to put the parameters in a property file and use this to get the parameters to ant?
The reason you can't run the application on WLS is that you have not installed the adf runtime on your wls. The error 'application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].' points to this.
Timo -
Oracle ant tasks 10.1.3DP3
I use the "assemble" ant task (and ant files provided with oracle sample web services apps in 10.1.3DP3) to generate EAR file in my application. Everything worked well with ant files but I wanted to move to maven as this is our build system. I 'm able to invoke the oracle ant tasks from maven and build the ear file. However when I try to deploy and then generate the proxy from WSDL I ran into some problems.
1. I ''m unable to get deploy to work from maven. Error is:
Unable to create Deployment Manager
followed by
error getting handle to JMX MBean Server
2. Deployment during build is not a requirement for me but ability to generate proxy jars is. So I m trying to find a way to generate the proxy jars without having to get the WSDL remotely from a running OC4J. Is there a way to tell the "assemble" task to leave the WSDL file on the disk or do I need to pull it out of the generated EAR file and then feed it to "genProxy"?Check the 'genWSDL' ant task or equivalent command from the WS user guide [1], page 162. This should do what you are looking for.
For the JMX-deployement integration with maven, try the J2EE forum. You may have more feedback there.
Eric
[1] http://download-west.oracle.com/otn/java/oc4j/1013/doc/web.1013/b14434.pdf
Maybe you are looking for
-
Error in Pre-Pop Adapter for AD using ResourceObjectDefinition Mapping
Hi I have a PRe-pop adapter for Org name in AD - One of the variables is ResourceObjectDefintion. However OIM is not able to map it to the right object name and throws the below error - cAdapterDataMap/getResourceObjectInfo encounter some problems: E
-
hi, I am in a process to select a wiki software, While there is a lot of choice out there , I was interested by Leopard Wiki your feedback, easy of use, do you have any reference to a review.... It looks great from Apple web sites but info are limite
-
Hi Is there any way to mention the RMAN backup destination for datafiles and archivelog files with their exact name? e.g backup as backupset format 'c:\backup\' filesperset 1 database plus archivelog all; Backup will be stored in c:\backup with the a
-
Want to know about maccleaner what is this
hi may i know about maccleaner
-
Summarized Overview about Cube-Layouts?
Hi experts, does NetWeaver BI 7.0 provide any kind of summerized overview, which gives information about the number of dimensions existing in all (non-virtual) InfoProviders, their record-count, space-usage, fact-table sizes, etc?! Or is the only way