Java.lang.InstantiatiCould not read mime-mappings config file: ./mime.types
I am about to had enough of this moronic container call OC4J that's compatible to to itself.
I did a
1. clean unzip and installation.
2. setup admin account.
3. config the autodeploy in server.xml (Who in their right phreakin mind design a container with no hot deploy nowaday).
4. configure the data source.
5. test data source using a webapp with one page jsp do a JSF jdbc connection.
When try and deploy the error-free webapp (tested in tomcat) using both frontend and autodeploy,a cryptic error occur: could not read mime.types.
I have never see this error before in my life. its in oracle.oc4j.admin.internal.ApplicationDeployer.addApplication
This error happened after I configure my webapp to do phreakin orion-application.xml disable toplink, orion-webapp xml prefer local class file. If I don't get this resolve within couple days, I'll put my career on the line with full force and request we do not use OC4J anywhere in this group.
A M$FT .NET project looks very promising and efficient compare this deployment hell they call OC4J
2007-06-20 13:22:50.500 NOTIFICATION Application Deployer for norm STARTS.
2007-06-20 13:22:50.546 NOTIFICATION Copy the archive to C:\oc4j101320_SA\j2ee\home\applications\norm.ear
2007-06-20 13:22:50.890 NOTIFICATION Initialize C:\oc4j101320_SA\j2ee\home\applications\norm.ear begins...
2007-06-20 13:22:50.890 NOTIFICATION Auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm.ear...
2007-06-20 13:22:50.890 NOTIFICATION Unpacking norm.ear
2007-06-20 13:22:50.890 NOTIFICATION Unjar C:\oc4j101320_SA\j2ee\home\applications\norm.ear in C:\oc4j101320_SA\j2ee\home\applications\norm
2007-06-20 13:22:53.625 NOTIFICATION Done unpacking norm.ear
2007-06-20 13:22:53.625 NOTIFICATION Finished auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm.ear
2007-06-20 13:22:53.640 NOTIFICATION Auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war...
2007-06-20 13:22:53.640 NOTIFICATION Unpacking norm.war
2007-06-20 13:22:53.640 NOTIFICATION Unjar C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war in C:\oc4j101320_SA\j2ee\home\applications\norm\norm
2007-06-20 13:22:59.828 NOTIFICATION Done unpacking norm.war
2007-06-20 13:22:59.828 NOTIFICATION Finished auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war
2007-06-20 13:22:59.906 NOTIFICATION Initialize C:\oc4j101320_SA\j2ee\home\applications\norm.ear ends...
2007-06-20 13:22:59.906 NOTIFICATION Starting application : norm
2007-06-20 13:22:59.906 NOTIFICATION Initializing ClassLoader(s)
2007-06-20 13:22:59.906 NOTIFICATION Initializing EJB container
2007-06-20 13:22:59.906 NOTIFICATION Loading connector(s)
2007-06-20 13:23:00.062 NOTIFICATION Starting up resource adapters
2007-06-20 13:23:00.078 NOTIFICATION Initializing EJB sessions
2007-06-20 13:23:00.078 NOTIFICATION Committing ClassLoader(s)
2007-06-20 13:23:00.078 NOTIFICATION Initialize norm begins...
2007-06-20 13:23:00.187 NOTIFICATION application : norm is in failed state
07/06/20 13:23:00 WARNING: Application.setConfig Application: norm is in failed state as initialization failed.
java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
07/06/20 13:23:00 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
07/06/20 13:23:00 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
07/06/20 13:23:00 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
07/06/20 13:23:00 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
07/06/20 13:23:00 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
07/06/20 13:23:00 at java.lang.Thread.run(Thread.java:595)
07/06/20 13:23:00 Caused by: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:497)
07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:340)
07/06/20 13:23:00 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
07/06/20 13:23:00 ... 6 more
07/06/20 13:23:00 Caused by: java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
07/06/20 13:23:00 at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:155)
07/06/20 13:23:00 at com.evermind.server.Application.getHttpApplicationConfig(Application.java:593)
07/06/20 13:23:00 at com.evermind.server.Application.initHttp(Application.java:1345)
07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:451)
07/06/20 13:23:00 ... 9 more
2007-06-20 13:23:00.218 NOTIFICATION Application Deployer for norm FAILED.
2007-06-20 13:23:00.218 NOTIFICATION Application UnDeployer for norm STARTS.
2007-06-20 13:23:00.281 NOTIFICATION Removing all web binding(s) for application norm from all web site(s)
07/06/20 13:23:00 SEVERE: ProgressObjectImpl.reportError java.lang.InstantiationException: Application: norm is in failed state as initialization failedoracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:497)
at com.evermind.server.Application.setConfig(Application.java:340)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
... 6 more
Caused by: java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:155)
at com.evermind.server.Application.getHttpApplicationConfig(Application.java:593)
at com.evermind.server.Application.initHttp(Application.java:1345)
at com.evermind.server.Application.setConfig(Application.java:451)
... 9 more
Thank you Steve for your help. I really do appreciate ppl taking the time to answer questions from n00b like me.
I tried and disable global.libraries and global.tag.libraries when deploy, and at one point the login page (its Spring 1.2.8 + hibernate 3.1.3 + Myface 1.1.4 + acegi 1.0.1 ) came out, but cannot login and without exceptions, so I was guessing acegi poblem. But the spring and hibernate is working, I can see the conn and other activities. And after a couple tries, cannot even get the login page display now in MyFace, with exceptions:
include(java.lang.String) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.String,boolean)
And then after some googling found out there will be code change for this webapp as well.
- change webapp.listener for double instantiation in OC4J (Code Change)
- create new class OrionSessionListener implements HttpSessionListener for session invalidation (Code Change) NEW JAVA CLASS
- acegi j_security_check URL reference change (Code Change, but minor)
I think the container has great performance, but I just wish they can look more to the compatabilities/common practices issues
full stacktrace:
2007-06-22 14:12:04.437 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: Errors compiling:C:\oc4j101320_SA\j2ee\home\application-deployments\norm\norm\persistence\_pages\\_login.java
[jsp src:line #:13] include(java.lang.String) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.String,boolean)
pageContext.include( __url,false);
at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
Similar Messages
-
Could not read jazn-data config file
I am using JDev 10.1.2
When deploying my app I am receiving
"oracle.oc4j.admin.internal.DeployerException: Cound not read jazn-data config file..." when deploying my app of OC4J 10.1.2.
When I deploy directly to an EAR file and open the EAR file I see:
application.xml
data-source.xml
blah.war
orion-application.xml
I belive what I should see in my EAR file is:
META-INF
blah.war
And drilling down into META-INF I should see:
application.xml
data-source.xml
jazn-data.xml
orion-application.xml
It seems that there is something that is configured incorrectly in my blah.deploy file but I can't find it. I have compared line for line with another app that creates the EAR as expected and I can successfully deploy from that application.
Please help.Hi,
the orion-application.xml file should have a content similar to this
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
<orion-application>
<data-sources path="./data-sources.xml"/>
<jazn provider="XML" location="jazn-data.xml"
default-realm="jazn.com"/>
</orion-application>
Otherwise the jazn-data.xml file cannot be found.
Frank -
Hi , when i try to run my program, i keep getting the error msg:
Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
I have tried the following:
trying to initailise the JTextField at the start.
Using getName works if i use it within the loop after setting the name.
Does anybody know what i am doing wrong please?
public class clsMember extends JPanel implements ActionListener {
private JButton jbtnLog;
private String surname;
private JTextField txtItem;
public clsMember() {
super(new SpringLayout());
makeInterface();
surname = txtItem.getName("Surname").toString();
private void makeInterface() {
//code omitted
for (int i = 0; i < numpairs; i++) {
JLabel l = new JLabel(strLabels, JLabel.LEADING);
this.add(l);
//if the array item is salutation create a combobox
if (strLabels[i] == "Salutation") {
jcomSalutation = new JComboBox(strSalutation);
jcomSalutation.setSelectedIndex(0);
this.add(jcomSalutation);
} else {
txtItem = new JTextField(10);
l.setLabelFor(txtItem);
txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
this.add(txtItem);
//code omittedIf i have a loop that creates the jtextfields such as
txtItem = new JTextField(10);
l.setLabelFor(txtItem);
txtItem.setName(strLabels.replaceAll(" ", ""));
this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
How is it possible for me to writeString surname = surnamejtextfield.getText(); -
Javah error java.lang.Object not found
Hi guys-
I'm trying to run a javah command to generate a .h file... I'm using windows2000 & jdk1.1.8... when I run the command from DOS prompt I keep getting the same eror as java.lang.Object not found: aborting.. I've checked all the classpath and it seems ok ... I have CLASSPATH=..;c:\jdk1.1.8\lib\classes.zip
Can anybody help me with this???
ThanxMaybe try ; right click my computer ,click the advanced tab and select enviroment variables,click on classpath and then edit,check if it's correct.I had the sam problem and that seemed to fix it. :)
-
Developer 10g error Java.Lang class not found
Hi
My application is live on static IP but when i try to access it from some systems i get the error after downloading Jinitiator
Java.lang class not found exception:Oracle forms engine main
is this problem of browser or something else? how can i solve
RegardsHi
My application is live on static IP but when i try
to access it from some systems i get the error after
downloading Jinitiator
ava.lang class not found exception:Oracle forms
engine main
is this problem of browser or something else? how can
i solve
RegardsSee the JInitiator "Proxies" configuration tab from the control panel, try checking the "Use Browser Settings" checkbox, that does the trick sometimes.
Tony -
Java.lang.class not found
Hi,
I configured scenario FILE TO JDBC, the sender channel is successful but in the receiving I am getting the error that java.lang.class not found.
In the receiver communication channel, I gave "com.microsoft.jdbc.sqlserverdriver".
what database connection parameters need to be given??
Thanks,
Satish.Whats your database ?
As Suresh said, did you deploy your JDBC driver ?
How to ?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to install and configure external drivers for jdbc and jms adapters.pdf
After configuring your communication channel, did you check the Adapter Monitor
XI SP > 09
http://<host>:5<sysnum>00/rwb -> Component Monitoring -> All Display -> Adapter Engine -> Adapter Monitor
XI SP <= 09
http://<host>:5<sysnum>00/AdapterFramework
Oracle Driver & Connection:
JDBC Driver: oracle.jdbc.driver.OracleDriver
Connection: jdbc:oracle:thin:@<hostname>:<port_umber>:<database_name>
SQL Server Driver & Connection:
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://hostname:1433;DatabaseName=<DBName>
regards
Shravan -
Java.lang.UnsupportedOperationException: Not yet implemented
help~!
I got this error msg "java.lang.UnsupportedOperationException: Not yet implemented".
I was just trying trying to run my program that pick up information/records and to ftp to the ftp server.
Kindly advise.
PS/ i googled but could not find much info on this exception
Below is a small segment of my code on the ftp:
if(haveRecord && haveAlert){
String filename = outFilePath+new java.util.Date().getTime()+"_"+outFileName;
aml.exportFile(filename);
eventlog.writeln("Message list " + filename + " generated");
eventlog.writeln("FTP " + filename );
DosCommander.exec("cmd /C ftpBatch ", eventlog);
eventlog.writeln("Move " + filename + " to archive");
System.gc();
DosCommander.exec("cmd /C moveFile \"" + filename +"\"", eventlog);
}else{
eventlog.writeln("No message for this round");
stopPoll();
}Hi
I am not exactly too clear on what you mean
btw if it helps, im using 1.5.0_11.... does the version matters??
my exact error msg is this:
[2007-06-15 16:42:22] Error in trigger [Error] java.lang.UnsupportedOperationExc
eption: Not yet implemented
java.lang.UnsupportedOperationException: Not yet implemented
at Logger.writeIn(Logger.java:105)
at DosCommander.exec(DosCommander.java:33)
at PartialFillAlerter.trigger(PartialFillAlerter.java:383)
at MainAlerter.main(MainAlerter.java:13)
[2007-06-15 16:42:22] Error in trigger [Error] java.lang.UnsupportedOperationExc
eption: Not yet implementedi've check Logger.writeIn (line 105) (for example)
and the code is
void writeIn(String string) {
throw new UnsupportedOperationException("Not yet implemented");
} So what am i suppose to do next? If i have called it "unintentionally", how do i un-call it?
Sorry .... first time encounter this exception.... so might take up some time to understand and rectify this.
Thanks you for ur understanding n patience
btw, it could be great if any of you can show me the steps or things to check/look out for ... so that the exception could be rectify! thanks!
Message was edited by:
peachtea
Message was edited by:
peachtea -
Hi,
I need some help.
Product=weblogic5.1.0
Revision=(Release Level)=
Problem Description=
I am doing cluster of weblogic server, I have no problem to set up the
cluster and to run servlet and EJB examples.
However, on my command line for startcluster I got a lot of message as
followed:
Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket receive
error: java.lang.RuntimeException: I/O error opening JAR file from
file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
Compiled Code)
at
weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
.java, Compiled Code)
at
weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled Co
de)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
StreamBase.java, Compiled Code)
at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
jectInputStreamBase.java, Compiled Co
de)
at
weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
treamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
tStreamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
eamBase.java, Compiled Code)
at
weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
treamBase.java, Compiled Code)
at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
The message freshed about every 20 seconds.
Another question, I used a iplanet web server as a proxy server with a
cluster of two weblogic servers pluged in, although I set
weblogic.properties to round-robin, however, when I run a fibonacci servlet,
it does not do the round-robin. It always go to one machine for a lot of
times. Any idea?
Thank you for your help.
Tom
May i presume that your cluster is configured on a shared file system?.
I have seen this problem only if you cluster is configured on different machines
and if the directory structure is not identical.
let us know..
Kumar
Cameron Purdy wrote:
> First, update to SP4 (or SP5 if it is out now). Second, follow the cluster
> instructions on setting up deployments for a cluster. The only
> implementation that I have used is the single shared location that all the
> servers load from.
>
> --
>
> Cameron Purdy
> http://www.tangosol.com
>
> "Tom Gan" <[email protected]> wrote in message
> news:[email protected]...
> > Hi,
> > I need some help.
> >
> > Product=weblogic5.1.0
> > Revision=(Release Level)=
> > Problem Description=
> > I am doing cluster of weblogic server, I have no problem to set up the
> > cluster and to run servlet and EJB examples.
> > However, on my command line for startcluster I got a lot of message as
> > followed:
> > Fri Aug 18 11:31:44 EDT 2000:<E> <MulticastSocket> Multicast socket
> receive
> > error: java.lang.RuntimeException: I/O error opening JAR file from
> > file:/D:/weblogic/mycluster/server86/tmp_deployments/ejbjar-17327.jar
> > java.util.zip.ZipException: error in opening zip file
> > at java.util.zip.ZipFile.open(Native Method)
> > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> > at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> > at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java,
> > Compiled Code)
> > at
> >
> weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
> > .java, Compiled Code)
> > at
> >
> weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
> > , Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> > jectInputStreamBase.java, Compiled Co
> > de)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> > tStreamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> > eamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
> > StreamBase.java, Compiled Code)
> > at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled
> > Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
> > jectInputStreamBase.java, Compiled Co
> > de)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
> > tStreamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
> > eamBase.java, Compiled Code)
> > at
> >
> weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
> > treamBase.java, Compiled Code)
> > at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
> > Code)
> >
> > The message freshed about every 20 seconds.
> >
> > Another question, I used a iplanet web server as a proxy server with a
> > cluster of two weblogic servers pluged in, although I set
> > weblogic.properties to round-robin, however, when I run a fibonacci
> servlet,
> > it does not do the round-robin. It always go to one machine for a lot of
> > times. Any idea?
> > Thank you for your help.
> > Tom
> >
> >
> >
-
Java.lang.RuntimeException : I/O error opening JAR file
Hi,
Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
m/c 2 : d:\weblogic \myserver\*.jar
When servers startup successfully, error is coming :
on the console of m/c 1 :
java.lang.RuntimeException : I/O error opening JAR file from
file:/d:/weblogic/myserver/eb_arn.jar
on the console of m/c 2 :
java.lang.RuntimeException : I/O error opening JAR file from
file:/c:/weblogic/myserver/eb_arn.jar
When both the weblgoic servers are installed on two machines and
on same drive(c:\), this error is not coming.
i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
m/c 2 : c:\weblogic \myserver\*.jar
Regards,
Jitendra Kumar.
Jitendra,
This looks like a bug. Please approach support.
- Prasad
Jitendra Kumar wrote:
> Hi,
>
> I'm deploying as per server property, because all servers have got their own myserver
> directory and jars under that.
> primary key class is not a problem at all, because that file is anyway under serverclasses directory.
>
> The problem starts when two weblogic servers on two m/c are installed on different drive(one on 'C:\' dirve
> and another on 'D:\' drive or a unix machine in cluster).
>
> Regards,
> Jitendra Kumar.
>
> Prasad Peddada <[email protected]> wrote:
> >Are you sure that the the primary key class is there in the jar file.
> >
> >Are you deploying as per cluster property? Deploy on all the servers as per server property.
> >
> >
> >- Prasad
> >
> >Jitendra Kumar wrote:
> >
> >> Hi,
> >>
> >> I don't have any problem in deploying beans and all servers have their local jar files.
> >> Today I started solaris server in cluster and that also giving the same error message in console.
> >> Now 2NT and One Solaris m/c running in cluster.
> >>
> >> error message on NT console is :
> >> **************************************************
> >> Sat Nov 04 15:43:14 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
> >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
> >> <ServerClassLoader><W>: com.cot.eis.vl.eb_voter.VoterPK in not in archive java.util.zip.ZipFile@b902
> >> 66be
> >> java.util.zip.ZipException: error in opening zip file
> >> at java.util.zip.ZipFile.open(Native Method)
> >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> >> at java.util.zip.ZipFile.<init>(ZipFile.java, Compiled Code)
> >> at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java, Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer.java, Compil
> >> ed Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java, Compiled Co
> >> de)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
> >> amBase.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
> >> ava, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
> >> Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInputStreamBase.ja
> >> va, Compiled Code)
> >> at weblogic.cluster.StateDump.readObject(StateDump.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStre
> >> amBase.java, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.j
> >> ava, Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
> >> Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.jav
> >> a, Compiled Code)
> >> at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled Code)
> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
> >> Sat Nov 04 15:54:24 GMT+05:30 2000:<E> <MulticastSocket> Multicast socket receive error: java.lang.R
> >> untimeException: I/O error opening JAR file from file:/mazaa/weblogic/weblogic/myserver/voter.jar
> >>
> >> error message on Solaris console is :
> >> ******************************************
> >> java.util.zip.ZipException: error in opening zip file
> >> at java.util.zip.ZipFile.open(Native Method)
> >> at java.util.zip.ZipFile.open(Compiled Code)
> >> at java.util.zip.ZipFile.<init>(Compiled Code)
> >> at java.util.zip.ZipFile.<init>(Compiled Code)
> >> at weblogic.boot.ServerClassLoader.deploy(Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(Compiled Code)
> >> at weblogic.cluster.AnnotatedServiceOffer.readObject(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
> >> le(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
> >> led Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
> >> Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(Compil
> >> ed Code)
> >> at weblogic.cluster.StateDump.readObject(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
> >> le(Compiled Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compile
> >> d Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compi
> >> led Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled
> >> Code)
> >> at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compile
> >> d Code)
> >> at weblogic.cluster.TMSocket.execute(Compiled Code)
> >> at weblogic.kernel.ExecuteThread.run(Compiled Code)
> >> Sat Nov 04 15:55:09 GMT+00:00 2000:<E> <MulticastSocket> Multicast socket receiv
> >> e error: java.lang.RuntimeException: I/O error opening JAR file from file:/C:/we
> >> blogic/myserver/eb_arn.jar
> >>
> >> Regards,
> >> Jitendra Kumar
> >>
> >> Prasad Peddada <[email protected]> wrote:
> >> >Do you trouble deploying the app also.
> >> >
> >> >- Prasad
> >> >
> >> >Jitendra Kumar wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> Cluster configuration : 2 NT boxes WLS5.1(SP6). On one m/c weblogic
> >> >> is installed on drive C:\ and on another m/c weblogic is installed on drive D:\.
> >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
> >> >> m/c 2 : d:\weblogic \myserver\*.jar
> >> >> When servers startup successfully, error is coming :
> >> >>
> >> >> on the console of m/c 1 :
> >> >> java.lang.RuntimeException : I/O error opening JAR file from
> >> >> file:/d:/weblogic/myserver/eb_arn.jar
> >> >>
> >> >> on the console of m/c 2 :
> >> >> java.lang.RuntimeException : I/O error opening JAR file from
> >> >> file:/c:/weblogic/myserver/eb_arn.jar
> >> >>
> >> >> When both the weblgoic servers are installed on two machines and
> >> >> on same drive(c:\), this error is not coming.
> >> >> i.e. all jars are at two place m/c 1 : c:\weblogic\myserver\*.jar
> >> >> m/c 2 : c:\weblogic \myserver\*.jar
> >> >>
> >> >> Regards,
> >> >> Jitendra Kumar.
> >> >
> >
> >--
> >Cheers
> >
> >- Prasad
> >
> >
-
I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
The error message I received lkie this:
Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
Yuping,
What release of WLS w/ service pack are you using? Make sure, if you are using a non-shared file system, to have the same absolute paths to your application on your file systems.
yuping xu wrote:
> I received Multicast socket receive error when I tried to restart the weblogic cluster in our pre-prod box.
> The error message I received lkie this:
> Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/vol01/sites/vinlkup/site/versionc/local_classes/VIN/DeliveryTypeLookupEJB.jar
-
Read from a config file in File Adapter in SOA Suite 11g
I want to read from a config file in order to determine whether to archive or delete the file after processing using file adapter in SOA Suite 11g. How do i do that.
only part i replied on was the part of how to read a file
but i think in your case you could do the next
use the sync file adapter to read in the file during your process
based on this content you set a variable "myOutputDirectory"
then create a file adapter (write) which will store the file on file system
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CIACICFD
4.3.2.2.5 Specifying a Dynamic Outbound File Name
and use that (jca.file.Directory) property to store the file either on the archive location or the delete location -
Contribute could not read the shared settings file.....
We are using Contribute 4 via FTP connection. Suddenly, I
have one user today that is getting the following error when trying
to connect to things she should have access to.
The error: "Contribute could not read the shared settings
file for this Website because the file has been corrupted. To
re-create the shared settings file, an administrator must
administrate the website again."
As a sidenote, this user had recently been sent approximately
41 files for review, I have no idea if there is a connection or
not. This feature has worked fine for them before.
Anyone see this problem before? I did check and I have other
users that can access and edit the Website just fine. It seems
specific to this one user.
Thanks - LainieI think this has something to do with the PNG plugin.
-
Adobe Acrobat XI will NOT read aloud any pdf files
Ever since I upgraded to Marvericks, Adobe Acrobat XI will NOT read aloud any pdf files. How can I fix this. It previously worked fine.
I create tagged pdf files in InDesign to be compatible with 508 accessibility standards.The files read aloud on a Mac with OS X Lion but not on Mavericks.no, still no resolution. It is very frustrating. I did have one 8 page document that it will read the first page but nothing else.
Did you find an answer? -
Lightroom 5 will not read my Raw preview files no images in preview file to copy
lightroom 5 will not read my RAW preview file , no images in preview file to copy.instead of image file states , preview file unavailable for this file
alvinc wrote:
lightroom 5 will not read my RAW preview file , no images in preview file to copy.instead of image file states , preview file unavailable for this file
Hi,
Please provide more information ... such as:
- What are you trying to do? e.g. "Trying to import images from CF Card I get this message"
- What PC are you using? e.g. "Mac, PC, memory etc"
It is quite a cryptic thread but it sounds like you are trying to import directly from a CF Card, if you are copy the images to the hard disk then import. -
Apostroph and euro sign not read corectly from txt file
apostroph and euro sign not read corectly from txt file.
my code is like this:
FileInputStream fis= new FileInputStream(x+".html");
BufferedReader br=new BufferedReader(new InputStreamReader(fis,"UTF-8"));
String Line="";
while ((Line = br.readLine()) != null) result+=Line;
br.close();
fis.close();
I use UTF-8 because the file contains also French characters.
What's the problem?
THANK YOU!apostroph and euro sign not read corectly from txt
file.
my code is like this:
FileInputStream fis= new FileInputStream(x+".html");
BufferedReader br=new BufferedReader(new
InputStreamReader(fis,"UTF-8"));
String Line="";
while ((Line = br.readLine()) != null) result+=Line;
br.close();
fis.close();
I use UTF-8 because the file contains also French
characters.
What's the problem?
THANK YOU!
This is from the FileInputStream API documentation:
FileInputStream is meant for reading streams of raw bytes such as image data. For reading streams of characters, consider using FileReader.
Maybe you are looking for
-
Sharepoint Foundation 2010 SP2 or SharePoint Foundation 2013
Experts, I am installing FIM 2010 R2 SP1 on windows 2012. FIM Sync installed on server1. FIM Service installed on server2. Now I have to install:- FIM Portal on server3. With googling I understand that I need SharePoint Foundation 2013 or SharePoint
-
I want my photos from my ipad to be on my new iPhone 4s. I have iCloud on on all devices, but pics are not in my iPhone yet. Why is that?
-
Capturing Sound played by other players
Hi All, I am trying to capture the sound being played by other music players using my Java program. I want to record the song played over internet using my Java code. Can anyone guide me how to do it?
-
Increase in latency due to G.INP
As a avid gamer when my ping increases it doesnt help and on the 14th of this month i noticed a increase when playing games. Ping to bbc.co.uk used to be in the 20ms range but now its above 30ms. And ispreview.co.uk seems to verify this If i have a h
-
Hi, I am new to oracle , i have a doubt : I have written a query using analytical functions to get the desired , but i wanted the same in a normal query . INPUT TABLE : NAME AMOUNT A 100 A 200 A 300 B 200 B 300 C 300 Query : SELECT name,AMOUNT,ROW_NU