Where deploy Java class in XI 3.0?
Hi all,
I have created a Java class for Jco connection and I have created .jar file.
At this point where must I copy .jar file in XI server???
And what activities must I do for using my classes with message mapping???
Thans in advance,
Michele.
Michele,
We are facing a quite similar situation with XI 3.0. What we've found is that the only methods available for integrating Java code is either
a) Import a JAR archive into a specific software component
b) Create a Java proxy to a J2EE environment where you
implement your Java as EJBs.
We're still investigating these and other possible options.
Perhaps you need to install your JAR archive into each of the relevant components (I'm not sure if this works.)
Another possible alternative could be to identify where the JRE is installed on your XI server and deploy your classes in the lib extensions. (i.e. put your jar file in something like C:\j2sdk1.4.2_04\jre\lib\ext and restart the server) You should then be able to access these from anywhere, though I'm not sure what SAP would say about this solution.
HTH,
Patrick Parsons
Similar Messages
-
Where are Java classes in Forms running
Hi,
I've got a question concerning the architecture of Java in Forms.
There are two possibilities to deploy Java classes for the use in Forms:
1. As a jar archive, defined in formsweb.cfg
The archives definied in parameter archive_jini are downloaded when the form is called for the first time. The Java class is then running in a JRE on the client.
2. In the codebase, not archived.
The Java class has to be placed in the Forms codebase (%9iDS_HOME%\forms90\java), with the full package structure (e. g. oracle\forms\demos\beans\Hyperlink.class).
My question is: Where will the class run in the second configuration? I suppose, on the server side. Am I right?
Thanks for your help.
AndreasNO in that case it still runs in the browser JVM, using Jars or classes in this case only effects the downloading and caching - not the execution location.
Java code is only executed on the application server if you have used the Java importer feature to create PL/SQL stubs. -
Deploy Java class to database from jDeveloper
In 10g version I could create a deployment profile for deploying java class directly to the database from within jdeveloper. Looks like when you create a deployment profile in 11g that is no longer an option. Has the process changed, or was that functionality flat out removed?
Hi,
what about
Nwe --> Database Tier --> Database Files --> Load Java and Java Stored Procedure
Frank -
Where are java classes stored?
Does anyone where the java classes are physically stored?
Is there any mechanism for getting them out?
nullThanks, Irian,
in the meantime I have found another solution. For Windows it works using environment variable IDE_USER_DIR.
Create a new directory for the runtime files, e.g. C:\sqldevtemp
Add environment variable IDE_USER_DIR with the value of "C:\sqldevtemp".
Close SQL Developer, move (or copy if you want) all files from the old folder to the new folder and start SQL Developer again.
Done. -
Deploying java class that uses oraclexmlsql.jar
Hi,
I'm trying to deploy a java class that I wrote. It simply gets some data out of my oracle database as xml using the oraclexmlsql package. It works fine when I compile it within JDeveloper.
When I try to deploy it JDeveloper gives out the following error:
Errors in xmlquerydb:
ORA-29521: refferenced name oracle/xml/sql/query/OracleXMLQuery could not be found
loadjava: 1 errors
I can't figure out why that happens. I have used other classes and deployed them as Java stored Procedure and they work fine.
Thanks for help
AndreI tried to load the oraclexmlsql.jar into the shema where I put my class. The classes from this jar were loaded but can not be compiled( apart from 3 ). I also tried loading my class into sys but I still can't compile it or the oraclexmlsql.jar classes.
Is the xsu12.jar a collection of all the classes that are allready in Sys after the database install?
I have noticed that on expanding the oraclexmlsql.jar file has a strange format and two classes classes are in the directory from which I expanded the jar. These two classes do not get a synonym on loading into the db. Could that have anything to do with it?
Thanks for more help
Andre -
How to hot deploy java class?
I write some java class and put them into the weblogic\class folder to
replace the old java class files.
When I run the program, the server still run the old java class.
But when I restart the server, the server runs new java class.
The server must restart, when I want to run new java class?
thanksDoes this work ??
I was unable to achieve hot deployment using REDEPLOY file.
Sheng Sheen <[email protected]> wrote in message
news:[email protected]..
You need to create a REDEPLOY file and touch the file.
From the documentations:
Dynamic Redeployment of Exploded Applications
You can also dynamically redeploy applications or application components
that have been deployed in exploded format. When an application has been
deployed in exploded format, the Administration Server periodically looks
for a file named REDEPLOY in the exploded application directory. If the
timestamp on this file changes, the Administration Server redeploys the
exploded directory.
If you want to update files in an exploded application directory, do the
following:
a.. When you first deploy the exploded application, create an empty file
named REDEPLOY in the directory where the exploded application resides.
b.. To update the exploded application, copy the updated files over the
existing files in that directory.
c.. After copying the new files, touch the REDEPLOY file in the exploded
directory to alter its timestamp.
When the Administration Server detects the changed timestamp, it redeploys
the contents of the exploded directory.
"Alex" <[email protected]> wrote in message
news:[email protected]..
I write some java class and put them into the weblogic\class folder to
replace the old java class files.
When I run the program, the server still run the old java class.
But when I restart the server, the server runs new java class.
The server must restart, when I want to run new java class?
thanks -
Where find java classes corresponding to message mapping and interfaces ?
Hi
Forum,
when i create my objects in Repository, like Message interface and messgae mapping, correspoding to them, java class in created, where can i see these java classes in the XI's file system,Hi sudeep,
During the installation of Xi we select a database.So all the objetcs and related things that we create in IR and ID will be saved in the database only.I dont know how to check the .class file for each object...
Check these weblogs from sravya where she has given you the table names where the IR and ID objects are stored:
/people/sravya.talanki2/blog/2007/01/11/ripping-off-sap-xi-stack-133sharing-the-goodies-of-abap-api146s
/people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
/people/sravya.talanki2/blog/2006/12/28/skelton-of-mapping-runtime-in-sap-xi
regards
BILL -
How to deploy java class as a service in weblogic
All,
I have a java class which polls on a mailbox. I want deploy this class as a service in weblogic so that when the service is started it should continuously poll the mail box untill the service is stopped. Its working as a standalone component, i want to deploy this as a service.
Thanks,
Ramif you want to set Startup Classes, please refer the following URL,
Startup Classes: Configuration -
Deploy Java Classes to the Database 2
Hi,
I have made a program with JDeveloper, and with the function deploy I can store the code in the Oracle database.
But now I want to use the loadjava tool.
I put all the class files in one jar file and used the following command:
(when I put the .java files in the jar file it works fine, but I want to load the .class files)
loadjava -user test/test@xx–resolve file.jar
The following errors I get:
errors : class test/AnalyzeAccNum
ORA-29534: referenced object XX.test/QueryManager could not be resolved
ORA-29545: badly formed class:
errors : class test/AnalyzeBalNew
ORA-29534: referenced object XX.test/ReadEB could not be resolved
ORA-29545: badly formed class:
errors : class test/AnalyzeBalOld
ORA-29534: referenced object XX.test/ReadEB could not be resolved
ORA-29545: badly formed class:
errors : class test/QueryManager
ORA-29545: badly formed class:
errors : class test/ReadEB
ORA-29534: referenced object XX.test/FetchBankAccountID could not be resolved
ORA-29545: badly formed class:
errors : class test/RecognizeAndSaveLine
ORA-29534: referenced object XX.test/AnalyzeStatementLine could not be resolved
ORA-29545: badly formed class:
The following operations failed
class test/AnalyzeAccNum: resolution
class test/AnalyzeBalNew: resolution
class test/AnalyzeBalOld: resolution
class test/AnalyzeDefLin: resolution
class test/AnalyzeDesLin: resolution
class test/AnalyzeDetLin: resolution
class test/AnalyzePayRef: resolution
class test/AnalyzeStaNum: resolution
class test/AnalyzeStatementLine: resolution
class test/BankCheck: resolution
class test/FetchBankAccountID: resolution
class test/FormatLayout: resolution
class test/FormatLayoutTag: resolution
class test/InsertInvoiceLine: resolution
class test/InsertStatement: resolution
class test/InsertStatementLine: resolution
class test/ProcessStatementLine: resolution
class test/QueryManager: resolution
class test/ReadEB: resolution
class test/RecognizeAndSaveLine: resolution
exiting : Failures occurred during processing
In JDeveloper it works fine, and I changed nothing in de code.
What am I doing wrong?
Thanks in advance.To make it more simple I made a new java file with only this code:
package project1;
public class test {
public static void test() {
System.out.println("test");
}I used the following command to make a class file:
javac -source 1.3 -target 1.3 test.java
I used the following command for loadjava:
loadjava -user test/test@database -resolve -verbose test.class
this are the errors I get:
arguments: '-user' 'test/test@database' '-resolve' '-verbose' 'test.class'
creating : class project1/test
loading : class project1/test
resolving: class project1/test
errors : class project1/test
ORA-29545: badly formed class:
The following operations failed
class project1/test: resolution
exiting : Failures occurred during processing
If I do this all in JDeveloper it works fine when i want to deploy the .java file. But when I select the .class to deploy I get this message:
Invoking loadjava on connection 'database' with arguments:
-order -resolve -debug -force -thin -verbose
creating : class project1/test
loading : class project1/test
Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
resolving: class project1/test
errors : class project1/test
ORA-29545: badly formed class:
The following operations failed
class project1/test: resolution
oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:863)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:473)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:360)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeployToMostRecent(StoredProcHandler.java:256)
at oracle.jdevimpl.deploy.StoredProcProfileDt$2.run(StoredProcProfileDt.java:193)
#### Deployment incomplete. #### Jun 20, 2007 8:51:09 AM
*** Note ***
One possibility for the deployment failure is that the target Database may not support JDK version 1.3. Updating your Project Properties compiler Source & Target to an earlier release could fix this problem.
Someone who knows what the problem is?
Message was edited by:
KdeGraaf -
how do i deploy an application so that they are executable when i just double click them....i've tried jar files but i need to type the command in the command line to execute them...
how do i deploy an application so that they are executable when i just double >click them....i've tried jar files but i need to type the command in the command >line to execute them...Normally, if you have JRE installed and configured properly, a double click on your jar file (with manifest file and Main-Class Entry) should work;
You can even create a .bat (.sh) file to execute your jar. -
From PL/SQL call java class present in Application server
Hi,
I need to call a java class file which is present on the application server. the call has to be made from pl/sql.
I do not want to make use of the java stored procedures for this.
Is there a way to call a class file residing on the application server from a pl/sql.
Please help me out.
Thanks & Regards
KamleshNew idea. DDL isn`t working but if i would make some DQL ? Like select??
I`m trying to deploy java class like this:
public class test {
public static String say()
throws SQLException{
Connection conn = new OracleDriver().defaultConnection();
String sql = "Select names from pdb_proteins where numbers=61";
try {
// Load the Oracle JDBC driver
Class.forName("oracle.jdbc.OracleDriver") ;
System.out.println("Oracle JDBC driver loaded ok.");
} catch (Exception e) {
System.err.println("Exception: "+e.getMessage());
try {
ResultSet rset = null;
PreparedStatement pstmt = conn.prepareStatement(sql);
rset=pstmt.executeQuery(sql);
String wynik = null;
wynik = rset.getString(1);
return wynik;
} catch (SQLException e) {
System.out.println("Connection Failed! Check output console");
e.printStackTrace();
return "nope";
Then invoke with PL/SQL function
and i`m getting error ORA-29534: object SYSTEM.oracle/jdbc/OracleDriver
Could someone help me with this? How i could register jdbc driver inside Oracle db??
Edited by: Rado_mir on 2013-06-03 02:42 -
How to deploy java stand alone applications
I need to find information on how to deploy java classes to just run time clients.
I appretiate any help on this.Probably yes. It is possible to write a lunch application. But what considerations do I have to take. Let's say, Since Forte for Java 4 does not use CLASSPATH environment variable, How do I tell the JRE where my classes are located? I tried running
javaw c:\directory\classname.class
...but I receive a message saying that the main class was not found...
Do you know why this could be? -
How to run the deployed java file
Hi friends
please guide me hoe to run the deployed Java class file on the machine on which the java sdk is not installed please tell me also the it is necessary to change environment variables
becoz i have created one small package & i want to deploy & capable to work it on machine on which there is no java SDK is installedDoes your application have a GUI (e.g. Swing or AWT)? Can you distribute it from a web site?
-
Where to place an xml file that is read by java class file dir structure
Hello all,
I have an xml file that I am using in lieu of a database to track conference rooms . This is a small file. I need to read this file from my java class file which is used by a jsp. Currently I have an absolute path C://logger/conference.xml. All works fine but I need to deploy to a different machine soon and so I need to place this file somewhere in the project directory structure (created by netbeans) so that it will be included in the war file and can be read by the java class file.
Also what would be the relative path to this suggested directory.
TIA!!!public class DOMconference {
/** Creates a new instance of DOMconference */
public DOMconference() { }
//private final static String XML_FILE_NAME = "/opt/conference.xml";//set the output file and location
public String XML_FILE_NAME = "";
private final static String FIRST_CONF_ID = "8200";//set the initial conference number
static Document document;
public void getFilePath(String path)
XML_FILE_NAME = path.replaceAll("\\\\","/");
System.out.println("XML==============="+XML_FILE_NAME);
File file = new File(XML_FILE_NAME);
*generic method that returns a Document object
public Document getDocument() throws SAXException, ParserConfigurationException,
IOException
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setIgnoringComments(true);
factory.setCoalescing(true);
factory.setNamespaceAware(false);
factory.setValidating(false);
DocumentBuilder builder = factory.newDocumentBuilder();
document = builder.parse(file); //HERE IS WHERE THE ERROR POINT S TO
return document;
}Here is the complete error:
INFO: Server startup in 1282 ms
XML===============C:/Documents and Settings/gforte/agi/build/web/WEB-INF/conference.xml
[Fatal Error] bin:1:1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
at agi.DOMconference.getDocument(DOMconference.java:91)
at agi.DOMconference.getLdapConferences(DOMconference.java:466)
at agi.Ldap.getConferences(Ldap.java:243)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:111)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
[Fatal Error] bin:1:1: Content is not allowed in prolog.
NotifyUtil::java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:606)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:554)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:571)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:936)
at org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(NotifyUtil.java:248)
So if I change my code to this (note that all I change is how the constant XML_FILE_NAME is set and I copy and paste the path that is derived from getFilePath after the String.replaceAll call.):
public class DOMconference {
/** Creates a new instance of DOMconference */
public DOMconference() { }
private final static String XML_FILE_NAME = "C:/Documents and Settings/gforte/agi/build/web/WEB-INF/conference.xml";//set the output file and location
//public String XML_FILE_NAME = "";
private final static String FIRST_CONF_ID = "8200";//set the initial conference number
static Document document;
public void getFilePath(String path)
//XML_FILE_NAME = path;//.replaceAll("\\\\","/");
System.out.println("XML==============="+XML_FILE_NAME);
File file = new File(XML_FILE_NAME);
*generic method that returns a Document object
public Document getDocument() throws SAXException, ParserConfigurationException,
IOException
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setIgnoringComments(true);
factory.setCoalescing(true);
factory.setNamespaceAware(false);
factory.setValidating(false);
DocumentBuilder builder = factory.newDocumentBuilder();
document = builder.parse(file);
return document;
}All is fine..
Just in case, here is my xml file contents copy and paste from notepad.
<?xml version="1.0"?><conf_rooms><conf_room><conf_id>8200</conf_id><conf_name>Conference room 1</conf_name></conf_room><conf_room><conf_id>8201</conf_id><conf_name>Conference Room 2</conf_name></conf_room><conf_room><conf_id>8202</conf_id><conf_name>dufus</conf_name></conf_room></conf_rooms>Thanks for hanging in there with me on this.
Graham -
Error while deploying web service from Java class
Hi,
I have a simple java class which I want to deploy as web service with some methods in the Java class as web service operations.
How to do this in Jdev 11g?
Is there any good detailed tutorial on this?
I just created an web service from the class and went for deployment in Weblogic.
This resulted in Illegal Annotation Exception as shown below.
Please help!!
Regards,
Sam
[Deployer:149034]An exception occurred for task [Deployer:149026]deploy application WorklistWebService-CustomWorklist-context-root on SOA_Cluster.: [HTTP:101216]Servlet: "CustomWorkListUtilSoap12HttpPort" failed to preload on startup in Web application: "WorklistWebService-CustomWorklist-context-root.war".
javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:281)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:135)
at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:55)
at javax.servlet.GenericServlet.init(GenericServlet.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable com.gehc.util.jaxws.WorkflowExceptionBean.rootCause
at com.gehc.util.jaxws.WorkflowExceptionBean
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:95)
... 51 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable com.gehc.util.jaxws.WorkflowExceptionBean.rootCause
at com.gehc.util.jaxws.WorkflowExceptionBean
at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:478)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:308)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1149)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:169)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:160)
at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:74)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:151)
... 53 more
:com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:1 counts of IllegalAnnotationExceptions.
[08:44:23 PM] Weblogic Server Exception: weblogic.application.ModuleException: [HTTP:101216]Servlet: "CustomWorkListUtilSoap12HttpPort" failed to preload on startup in Web application: "WorklistWebService-CustomWorklist-context-root.war".
javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:281)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:135)
at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:55)
at javax.servlet.GenericServlet.init(GenericServlet.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable com.gehc.util.jaxws.WorkflowExceptionBean.rootCause
at com.gehc.util.jaxws.WorkflowExceptionBean
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:95)
... 51 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable com.gehc.util.jaxws.WorkflowExceptionBean.rootCause
at com.gehc.util.jaxws.WorkflowExceptionBean
at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:478)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:308)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1149)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:169)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:160)
at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:74)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:151)
... 53 more
:com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:1 counts of IllegalAnnotationExceptions
[08:44:23 PM] Caused by: java.lang.Throwable: Substituted for the exception java.security.PrivilegedActionException which lacks a String contructor, original message - com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
[08:44:23 PM] See server logs or server console for more details.
[08:44:23 PM] weblogic.application.ModuleException: [HTTP:101216]Servlet: "CustomWorkListUtilSoap12HttpPort" failed to preload on startup in Web application: "WorklistWebService-CustomWorklist-context-root.war".
javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:281)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:135)
at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:55)
at javax.servlet.GenericServlet.init(GenericServlet.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable com.gehc.util.jaxws.WorkflowExceptionBean.rootCause
at com.gehc.util.jaxws.WorkflowExceptionBean
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:95)
... 51 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable com.gehc.util.jaxws.WorkflowExceptionBean.rootCause
at com.gehc.util.jaxws.WorkflowExceptionBean
at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:478)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:308)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1149)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:169)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:160)
at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:74)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:151)
... 53 more
:com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:1 counts of IllegalAnnotationExceptions
[08:44:23 PM] #### Deployment incomplete. ####
[08:44:23 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)javax.xml.ws.WebServiceException: Unable to create JAXBContext
Webservice: Unable to create JAXBContext
javax.xml.ws.WebServiceException: Unable to create JAXBContext
http://naive-amseth.blogspot.ca/2010/06/error-unable-to-create-jaxbcontext.html
Maybe you are looking for
-
I inadvertinly removed my infocontact information from my wikes "Contacts" App. The contact app still works in my iPad and both of our iPhones.. How can I restore the contact info in her Contact app?? Thanks
-
How to download Adobe jars.
Hi All, i want to download these jars 1. adobe-generatepdf-client.jar 2. adobe-livecycle-client.jar 3. adobe-usermanager-client.jar 4. adobe-utilities.jar but i am unable to find these in google how can i download. thanks Raghu
-
I want to know if is better to use function or procedure for my problem. First i need to read sql -> SELECT name, surname, date FROM ZKET_ZAPOSLENCI to get all data When i get all data i need to use name and surname and change it with $name and $surn
-
Tttracemon appears to be omitting some information
Hi all, When having tttracemon running in LEVEL 5 the output do not show any values in update statements. The application in uses JDBC and JDO interfaces to access the database. Example: 09:41:22.990 69509 SQL 3L 5C 2404P Executing: update ttrep.repp
-
Issue while starting Named service
HI All, I an in process of upgrading cluster from 1.2.0.5 to 11gr2.My OS is Redhat linux 5.3 For the same i am trying to configure DNS and scan .As i dont' have much idea about network so I followed the link for configuring DNS Oracle 11gR2 2-node R