OC4J startup failed Annotated class format error on startup
I'm using OC4J standalone (the 93MB "Pure Java" download) on Fedora 7. JAVA_HOME and ORACLE_HOME are set. Running the startup command gives the following error:
OC4J startup failed with the following error:
oracle.classloader.util.AnnotatedClassFormatError, and the invalid class is given as 'oracle.j2ee.ws.client.BasicService'.
Any help is appreciated.
What JDK did you use?
Certification Information will help you
Oracle Application Server 10g R3 10.1.3.1 Certification Information
http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_101310.html
dgkim @ Databank Systems KR
Similar Messages
-
Class format error: Invalid constant pool tag found
I am simply attempting to create an instance of an object and I get Class format error: Invalid constant pool tag found. Does anyone know what this means and how to fix it?
Thanks.If you're compiling with J2SDK 1.4 or higher, you need to use "-target 1.1" on the javac command line.
Also make sure you're not using any float constants such as 1.0 in your code. -
"Class Formatting Error" in a java applet? (Solved)
(This problem is completely my fault and it would be hard to provide enough information to request and answer. Disregard this message.)
I've been developing a java applet to go on my website, but when running it tosses a "java.lang.ClassFormatError: rendering/ImageObserverClass" to the console. When I looked into the code I thought of java compliance levels. (Earlier I had to set Eclipse to a higher compliance level to make it accept new ArrayList<Renderable>();)
Is this not my problem? In my html code I have the following:
<applet
code="main/GalacticConflict.class"
codebase="code/"
width="640" height="480">
</applet>In Eclipse the program compiles and runs fine, so it most likely is a deeper issue. Thanks for any help!
EDIT:
Heh, that was stupid of me.... Just decided to try removing the <Renderable> from there, but it still doesn't work. The line number the console refers to is commented code, making it even more strange. If you have insight, feel free to post it here, but I'm going to make sure my new code is even being passed to my server properly.
Edited by: Durnus on Dec 26, 2008 9:45 AM
EDIT2:
It appears to be an error with my copying process -- when I view the .html file with Firefox in the workspace folder, it works fine. Sorry for the trouble.
Edited by: Durnus on Dec 26, 2008 9:54 AMHi,
Refer the URL :http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/AbstractTransformation.html
regards,
ganga -
Casting of forms60all.jar objects fails no class defFound Error
We can get references to the objects and we can get any information from them under the limitations of the java.awt.Container API, meaning the location on screen, number of chidren, type, etc.
The problem is when we try to cast the object to its type so we can call methods in its API(for example call get/set text for a VTextField), we get a NoClassDefFound exception which is very weird because those same objects are used in side the applet., any idea?Mia,
can you provide the stack trace? Do you always get a NoClassDefFound exception, or only with particular types? Do you import the Java classes for the type you cast to?
If you are casting to an awt class, make sure that you only cast to what's available in Java 1.3 (some Java IDE's by default use the JDK 1.4, making code work and compile in the IDE but fail at runtime).
If you select the project's deployment profile (the jar file you created) in JDeveloper then you can run a preview on it. This preview shows all classes that are missing in teh jar file in red.
Frank -
Error in Tomcat --- context start up failed due to previous errors
Feb 27, 2008 11:05:11 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jstl] startup failed due to previous errors
Feb 27, 2008 11:05:13 AM com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(com.mycompany.TabLabel)
Feb 27, 2008 11:05:13 AM com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(com.mycompany.Tree)
Feb 27, 2008 11:05:13 AM com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(com.mycompany.jsf.validat
or.LATER_THAN)
Feb 27, 2008 11:05:14 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 27, 2008 11:05:14 AM org.apache.catalina.core.StandardContext startHello frnds i dont understand what should i do? anybody familiar with this kind of error. please let me know in this case what should i do?
even if i am trying to copy whole files in another folder it shows same msg for that folder too. please help me
Thankyou everybodyHi ,
I also face this same kind of problem.
I tried to fix the problem but not work out.
I got another solution. I am not sure its a current solution .
Try it carefully.
Finally 1, I take back up -copy of server.xml and common/lib .
2, Un-install Tomcat server.
3, After i have installed fresh tomcat server.
4, Replace back-up copy of server.xml and common/lib.
its working fine -
I am getting the following error. Can someone help me on how to fix this issue?
Thanks
E:\oracle\product\oas\10.1.3.1\j2ee\home>java -jar oc4j.jar
OC4J startup failed
org.xml.sax.SAXException: META-INF/boot.xml in E:\oracle\product\oas\10.1.3.1\j2
ee\home\oc4j.jar, line 466: Could not process 'external-classes' for /E:/oracle/
product/oas/10.1.3.1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META
-INF/boot.xml in E:\oracle\product\oas\10.1.3.1\j2ee\home\oc4j.jar): caught java
.util.zip.ZipException: error in opening zip file.
at oracle.classloader.util.XMLConfiguration.fail(XMLConfiguration.java:1
279)
at oracle.classloader.util.XMLConfiguration.registerExternalsFromPackage
Names(XMLConfiguration.java:833)
at oracle.classloader.util.XMLConfiguration.registerExternalsForPostProc
essing(XMLConfiguration.java:842)
at oracle.classloader.util.XMLConfiguration.endElement(XMLConfiguration.
java:716)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfigur
ation.java:277)
at oracle.classloader.util.InitialLoadersFactory.populateLoaders(Initial
LoadersFactory.java:389)
at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoad
ersFactory.java:230)
at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFa
ctory.java:167)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:26)Sorry for the delay, i can't attach it so i'll just post it
User:
Logname: root
Monday February 23 14:29:15 GMT 2009
smpatch settings:
smpatch analyze:
Entitlement:
Sun UC patch revision:
112945-03
Solaris release:
Solaris 9 s9_58shwpl3 SPARC
Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 15 April 2002
Solaris Kernel: Generic_112233-05
Machine Type: sun4u
Platform: SUNW,Sun-Fire
Java -version:
Unrecognized option: -version:1.5+
Could not create the Java virtual machine.
Software Cluster:
CLUSTER=SUNWCXall
All ccr properties:
Sun UC package status:
SUNWbreg not installed
SUNWccccr not installed
SUNWccccrr not installed
SUNWccsign not installed
SUNWcsmauth not installed
SUNWppro-plugin-sunos-base not installed
SUNWppror not installed
SUNWpprou not installed
SUNWupdatemgrr not installed
SUNWupdatemgru not installed -
OC4J startup failed. Not sure how to fix it.
I am starting the oc4j container from eclipse. I was able to start it and debug it, but now I cannot. The only thing that change is that I installed the oracle client. Then I started getting the problems bellow.
I think that change several environment variables. How can I trouble shoot this problem. Thanks
OC4J startup failed
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.security.xmlsec.saml2.core.Assertion
Dependent class: oracle.security.xmlsec.wss.saml2.SAML2AssertionToken
Loader: oracle.xml.security:10.1.3
Code-Source: /C:/oc4j/jlib/osdt_wss.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oc4j\j2ee\home\oc4j.jar
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2401)
at oracle.classloader.PolicyClassLoader.bulkLoadClasses(PolicyClassLoader.java:1637)
at oracle.classloader.util.XMLConfiguration$Externals.load(XMLConfiguration.java:895)
at oracle.classloader.util.XMLConfiguration.doPostProcessing(XMLConfiguration.java:914)
at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfiguration.java:328)
at oracle.classloader.util.InitialLoadersFactory.populateLoaders(InitialLoadersFactory.java:410)
at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoadersFactory.java:235)
at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFactory.java:176)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:31)
Edited by: hh**** on Sep 12, 2012 4:04 PMMikeTheBorg wrote:
OK, I agree it's simpler for simple cases, but how do I do something like this:
JPEGImageEncoder jie = JPEGCodec.createJPEGEncoder(os);
JPEGEncodeParam jep = jie.getDefaultJPEGEncodeParam(bi);
jep.setDensityUnit(JPEGEncodeParam.DENSITY_UNIT_DOTS_INCH);
jep.setXDensity(1200);
jep.setYDensity(1200);
jep.setQuality(1, false);
jie.setJPEGEncodeParam(jep);
jie.encode(bi);
using ImageIO?
"Stupid" Eclipse+Maven refuse to compile this legacy code.It's an Eclipse error, not a Java/compiler error as such. To fix it, I believe you have to check your plug-in configuration -- imported packages here or exported packages there. Try adding "com.sun.image.codec.jpeg" to the imported packages. Something along those lines. Anyway, bottom line: this is not an issue with the code.
Furthermore, lookee here: GIAD -
OC4J startup failed on AMD64 Fedora Core 5
The installation guide for JDeveloper10131 says:
"Note: <jdev_home>/j2ee/home/application-deployments is not available until you run java -jar oc4j.jar -install"
Running
"java -jar <jdev_home>/j2ee/home/oc4j.jar -install"
results in
"WARNING: System property "java.util.logging.manager" should be the name of a subclass of java.util.logging.LogManager
WARNING: Cannot cleanup application URLStreamHandlers.
OC4J startup failed
oracle.classloader.util.AnnotatedClassFormatError: oracle.j2ee.ws.client.ClientMessageBundle_fi (erroneous identifier)
Invalid class: oracle.j2ee.ws.client.ClientMessageBundle_fi
Loader: oracle.ws.client:10.1.3
Code-Source: /home/dan/lib/jdev10131/webservices/lib/wsclient.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /home/dan/lib/jdev10131/j2ee/home/oc4j.jar
Dependent class: oracle.classloader.util.XMLConfiguration
Loader: gnu.gcj.runtime.SystemClassLoader@1694307706
Code-Source: /home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar
Configuration: /home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar
at oracle.classloader.PolicyClassLoader.bulkLoadClasses (PolicyClassLoader.java:1538) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.classloader.util.XMLConfiguration.bulkLoadClasses (XMLConfiguration.java:888) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.classloader.util.XMLConfiguration.access$100 (XMLConfiguration.java:41) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.classloader.util.XMLConfiguration$Externals.load (XMLConfiguration.java:872) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.classloader.util.XMLConfiguration.endElement (XMLConfiguration.java:686) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at gnu.xml.aelfred2.SAXDriver.endElement (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlParser.parseETag (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlParser.parseContent (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlParser.parseElement (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlParser.parseContent (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlParser.parseElement (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlParser.parseDocument (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlParser.doParse (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.SAXDriver.parse (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at gnu.xml.aelfred2.XmlReader.parse (libgcj.so.7) [jre bootstrap, by jre.bootstrap:1.4.2]
at oracle.classloader.util.XMLConfiguration.configureLoaders (XMLConfiguration.java:279) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.classloader.util.InitialLoadersFactory.populateLoaders (InitialLoadersFactory.java:389) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.classloader.util.InitialLoadersFactory.initLoaders (InitialLoadersFactory.java:230) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.classloader.util.InitialLoadersFactory.create (InitialLoadersFactory.java:167) [home/dan/lib/jdev10131/j2ee/home/lib/pcl.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.oc4j.loader.boot.BootStrap.main (BootStrap.java:26) [home/dan/lib/jdev10131/j2ee/home/oc4j.jar, by gnu.gcj.runtime.SystemClassLoader@1694307706]
at oracle.oc4j.loader.boot.BootStrap (method and line unknown).
at gnu.java.lang.MainThread (method and line unknown)."When I run the example file Start.jsp (with OC4J startup failed, i.e. there is no folder <jdev_home>/j2ee/home/application-deployments) I get the following (and a web page saying:"Error instantiating web-application
Application: login-LOGIN-webapp has been stopped"):
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
/home/dan/lib/jdev10131/jdev/bin/$/home/dan/jdevhome/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config>
/usr/local/jdk1.5.0_10/bin/java -server -classpath /home/dan/lib/jdev10131/j2ee/home/oc4j.jar:/home/dan/lib/jdev10131/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/dan/lib/jdev10131/jdev/bin/$/home/dan/jdevhome/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml
[waiting for the server to complete its initialization...]
Jan 18, 2007 12:09:37 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Jan 18, 2007 12:09:37 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
07/01/18 12:09:41 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
07/01/18 12:09:41 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2072)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2017)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1272)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:345)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:206)
at com.evermind.server.Application.setConfig(Application.java:413)
at com.evermind.server.Application.setConfig(Application.java:314)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1608)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:990)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:326)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2053)
... 11 more
Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:284)
at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:108)
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
... 13 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: com.mysql.jdbc.Driver
Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
Loader: oc4j:10.1.3
Code-Source: /home/dan/lib/jdev10131/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in /home/dan/lib/jdev10131/j2ee/home/oc4j.jar
This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:281)
... 15 more
Jan 18, 2007 12:09:41 PM oracle.j2ee.util.LoggingUtils logAndReturnMessage
WARNING: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
07/01/18 12:09:41 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
java.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
Jan 18, 2007 12:09:41 PM com.evermind.server.ServerMessages warningApplicationInitializationFailed
WARNING: Exception initializing deployed application: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 18153 ms.
07/01/18 12:09:45 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
Target URL -- http://127.0.0.1:8988/login-LOGIN-context-root/faces/Start.jsp -
Hi!
I am getting the error:
"The startup disk cannot be partitioned or restored to a single partition. The startup disk must be formatted as a single Mac OS Extended (Jounraled) volume or already partitioned by Boot Camp Assistant for installing Windows."
I read up some on google, but all of them says that they have crated a partition and that is the problem, I only have the standard "Macintosh HD".
I tried to create a partition manually in disk utility but then the error message: "Partition failed with error message: Could not unmount disk."
Can anyone help me? It's driving me crazy.
Thanks.This message, and threads like yours got asked daily for over two years, now it is only a couple times a week!!
Is it so hard to follow through? you were to have backup already, clones are best, then erase/format and restore.
Then partition.
Some have been able to use Disk Utility booted from OS X DVD or another drive, and repair the drive.
You have to use Boot Camp Assistant (99.9% anyway) to create and achieve a proper Windows Master Boot Record partition. -
Failed to invoke startup or shutdown class
In what situation I'll get the error "Failed to invoke startup/shutdown
class" as below :
java.lang.InstantiationException:
dsb/eBanking/backOffice/connect/HubDevicePool
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup
(StartupThread.java:180)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run
(PropertyExecuteThread.java:62)
I'm pretty sure that the class HubDevicePool has been coded (e.g.
implement T3xxxDef interface, with either the startup() or shutdown()
method) properly as I've another startup classes which work perfectly.
The class has been compiled without error, but it just cannot run when I
put it as either a startup or shutdown class for WebLogic.This is a very convinient feature of Weblogic startup service - if your class
does not implement T3StartupDef it will look for (using introspection)
public static void main(String[] args) in your startup class, and, if it is
there it will execute it.
Ricky Wong <[email protected]> wrote:
It works, many thanks !
However I still have one more question out of my head - I found that my
startup class doesn't need to implement the T3StartupDef and it still
works, however my shutdown class must implement the T3ShutdownDef
(otherwise I'll get ClassCastException).
In article <[email protected]>, [email protected] says...
Most likely the HubDevicePool does not have a public default constructor.
Ricky Wong <[email protected]> wrote:
In what situation I'll get the error "Failed to invoke startup/shutdown
class" as below :
java.lang.InstantiationException:
dsb/eBanking/backOffice/connect/HubDevicePool
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Compiled Code)
at weblogic.t3.srvr.StartupThread.runStartup
(StartupThread.java:180)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run
(PropertyExecuteThread.java:62)
I'm pretty sure that the class HubDevicePool has been coded (e.g.
implement T3xxxDef interface, with either the startup() or shutdown()
method) properly as I've another startup classes which work perfectly.
The class has been compiled without error, but it just cannot run when I
put it as either a startup or shutdown class for WebLogic.Dimitri
Dimitri -
While applying the patch getting an error Failed:xdoloader.class on worker
Hi,
While applying the patch getting an error Failed:xdoloader.class on workerWhile applying the patch getting an error Failed:xdoloader.class on workerPlease post the details of the application release, database version and OS.
What is the patch number you are trying to apply?
Please post the complete error message from adpatch log file.
Thanks,
Hussein -
I had a problem with the hard disk on a 13" 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB disk but when I tried to erase and format, it fails with input/output error and at other times saying unable to allocate memory. Any help much appreciated!
Zap the PRAM and Reset the SMC, then try again.
-
Failed load Kernel Modules | fglrx exec Format Error
Hello
after I started my computer this morning it won't load fglrx anymore.
Yesterday everything worked just fine. But I can still start the xserver without any problem.
systemctl status systemd-modules-load.serivce outputs:
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Tue 2013-08-20 10:59:28 CEST; 20min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 113 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Aug 20 10:59:28 orz-aa-0 systemd-modules-load[113]: Failed to insert 'fglrx': Exec format error
Aug 20 10:59:28 orz-aa-0 systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
Aug 20 10:59:28 orz-aa-0 systemd[1]: Failed to start Load Kernel Modules.
Aug 20 10:59:28 orz-aa-0 systemd[1]: Unit systemd-modules-load.service entered failed state.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
and modprobe fglrx outputs:
modprobe: ERROR: could not insert 'fglrx': Exec format error
Installed are:
catalyst 13.8-1
catalyst-utils 13.8-1
lib32-catalyst-utils 13.8-1
xorg-bdftopcf 1.0.4-1
xorg-font-util 1.3.0-1
xorg-font-utils 7.6-3
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-3
xorg-fonts-misc 1.0.1-2
xorg-luit 1.1.1-1
xorg-mkfontdir 1.0.7-1
xorg-mkfontscale 1.1.1-1
xorg-server 1.14.2-2
xorg-server-common 1.14.2-2
xorg-setxkbmap 1.3.0-1
xorg-twm 1.0.7-1
xorg-xauth 1.0.7-1
xorg-xclock 1.0.6-1
xorg-xhost 1.0.6-1
xorg-xinit 1.3.2-3
xorg-xkbcomp 1.2.4-1
xorg-xmodmap 1.0.7-1
xorg-xrdb 1.0.9-2
xorg-xset 1.2.2-2
I'm really a newbie to arch linux and would appreciate any help.
Thanks in advance.
surrz
Last edited by surrz (2013-08-20 10:53:28)I grepped /var/log/Xorg.0.log as suggested by the wiki, here's the results:
sudo grep '(EE)' /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 19.890] (EE) fglrx(0): atiddxDriScreenInit failed. Probably kernel module missing or incompatible.
[fiendfan1@arch ~]$ grep '(WW)' /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 19.150] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 19.150] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 19.150] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 19.150] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 19.586] (WW) Falling back to old probe method for fglrx
[ 19.710] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[ 19.812] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[ 19.889] (WW) fglrx(0): Dynamic Surface Resizing cannot be enabled
[ 19.890] (WW) fglrx(0): ***********************************************************
[ 19.890] (WW) fglrx(0): * DRI initialization failed *
[ 19.890] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
[ 19.890] (WW) fglrx(0): * 2D and 3D acceleration disabled *
[ 19.890] (WW) fglrx(0): ***********************************************************
[ 19.908] (WW) fglrx(0): Textured Video not supported without DRI enabled.
[ 20.014] (WW) fglrx(0): Option "VendorName" is not used
[ 20.014] (WW) fglrx(0): Option "ModelName" is not used
[ 20.425] (WW) evdev: USB USB Keykoard: ignoring absolute axes.
I don't know what any of this means, anyone have any ideas? -
Startup and Shutdown classes in OC4J (Oracle 9i App Server)
Hi,
We are in the process of porting our application from Weblogic 6 to Oracle 9i app server. We have a requirement for developing startup and shutdown classes. These need to be instantiated from Java code (and not through console).
If anyone knows how this can be achieved or have any documentation on the same, please reply back to .
Thanks in advance.
Regards,
MoinThe oc4j commands in the documentation for shutting down the server are:
STARTUP
java -jar orion.jar -install
SHUTDOWN
java -jar admin.jar ormi://localhost/ <admin> <admin-password>
Can you just access these classes directly? -
Oracleasm lib failed to load with "Invalid module format" error
Hi,
I'm tring to install the oracleasm lib onto our hardened Redhat EL5 server
I've download the oracleasm rpm from this page http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html.
We're using Redhat 5 U 2
[root@PG673 modules]# uname -rm
2.6.18-92.el5 x86_64
[root@PG673 modules]#
The package I downloaded is an exact match with our kernel version
[root@PG673 modules]# rpm -qa | grep asm
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasmlib-2.0.4-1.el5
oracleasmlib-2.0.4-1.el5
[root@PG673 modules]#
RPM installation went well, but when we run the /etc/init.d/oracleasm configure command, we hit the following error
[root@PG673 other]# /etc/init.d/oracleasm configure
/etc/init.d/oracleasm: line 207: /usr/sbin/oracleasm: cannot execute binary file
Later we found out that the oracleasm module haven't been loaded, so we try to load it manually, but we hit the "Invalid module format" error.
[root@PG673 modules]# modprobe -l | grep asm
/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
[root@PG673 modules]# modprobe oracleasm
FATAL: Error inserting oracleasm (/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko): Invalid module format
[root@PG673 modules]#
As I know this error could happen if the driver version is not match with the system kernel version.
The problem is we're already using an exact match version of driver with our system, I can't think of what to do next in order to proceed the installation.
Really appreciate if someone could point me a direction.
Thanks
MikeHi Mike,
something looks a bit strange for me. On my OEL 5.4 x64 system i have just the following 3 packages:
$ rpm -qa | grep asm
oracleasm-2.6.18-164.el5-2.0.5-1.el5
oracleasm-support-2.1.3-1.el5
oracleasmlib-2.0.4-1.el5 Your packages should be I think the following:
http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel5/amd64/2.1.3/oracleasm-support-2.1.3-1.el5.x86_64.rpm
http://otn.oracle.com/software/tech/linux/asmlib/files/RPMS/rhel5/amd64/2.0.4/oracleasmlib-2.0.4-1.el5.x86_64.rpm
http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel5/amd64/2.0.5/2.6.18-92.el5/oracleasm-2.6.18-92.el5-2.0.5-1.el5.x86_64.rpm
Uninstall all asm packages and retry with just those three.
Good luck!
Cheers,
David
OCP 9i / 10g
http://www.oratoolkit.ch/knowledge/howto/installation/otn.php
Maybe you are looking for
-
I have two iPhone 5s. On one of them the Mail App works perfectly with Verizon.net with no issues. On the other hand, the other iPhone 5 has had continual issues with email using Verizon.net. Big time data useage (even on Wifi) and inability to re
-
SOLUTION: tab not showing in ME21N/ME22N with badi ME_GUI_PO_CUST
Hi, I implemented BADI's ME_GUI_PO_CUST and ME_PROCESS_PO_CUST to show a custom tab in the header section of ME21N, ME22N and ME23N. But after implementing the BADI's, the tab showed up in ME23N, but not in ME21N and ME22N. So I started looking for a
-
Problem Executing RFC to File Scenario
Hi, I am currently working on RFC to File Scenario which is Asynchronous in Nature i.e. The RFC will send some data to XI and then it'll be dumped in an XML File on the shared drive. Following are the steps which were performed by me : 1. i created a
-
Hi, I want to change font in a table. It's the only item in the document. Selecting all, and changing font doesn't change anything. It does change any text I subsequently type outside the table, but not the table itself. Adding another row to the tab
-
No Battery powerup 15" 1.67GHz
Someone at work is having issues with their PowerBook, it will power up just fine while plugged in, but stopped recognizing the battery. First thing we did was swap in a new batery we had on hand. The notebook will recognize that there is a battery p