Java.lang.Error - HELP!!
Ei guys,
I've never used JMF before. I was assigned to debug this problem. Please help.. I have absolutely no idea what caused this error. I don't know where to start.
Well, the error message is :
Exception in thread "JMF thread: TimedStartThread ( startThread: com.sun.media.ProcessEngine@ee7a14)" java.lang.Error : DataSource must be connected before it can be started
at com.sun.media.protocol.BasicPushBufferDataSource.start(BasicPushBufferDataSource.java:47)
at com.sun.media.multiplexer.RawBufferMux$RawBufferDataSource.start (RawBufferMux.java:522)
.....
I doubt that the error is caused by " java.io.* " which is not included in MIDP so that my program cannot run in WTK21.. is that true?
if yes, what can I do with it because I have to run it in WTK21 for demonstration. thx!!!!!
Similar Messages
-
Java.lang.Error: IP Helper Library GetIfTable function failed
Some of our users are sometimes getting the following exception:
java.lang.Error: IP Helper Library GetIfTable function failed
java.net.NetworkInterface.getAll(Native Method)
java.net.NetworkInterface.getNetworkInterfaces(Unknown Source)
Does anyone know why this happens and what can be done against it?
Is this a bug?The operating system is Windows XP, Java is version 1.6.0_03 Sun Microsystems Inc.
Today, I got another error report containing this error. They all seem to come from the same user. Given that the user is still using our product, I guess it doesn't happen every time. :) The error actually happens in a third party library that uses JNI, so it could also be possible that this library messes up something. Given that the error happens rather rarely and we haven't got much data, I guess it isn't worth investigating this further at the moment. -
I've been developing an AIR application for Android and iOS. During development, I've run the application (in debug mode) in the desktop simulator as well as on an iPhone 4 and a Nook Tablet.
However, I recently tried to "Export Release Build" for iOS and hit the following error: (I've stripped out the package and class information in the error message below)
!ENTRY com.adobe.flexbuilder.project 4 43 2012-04-06 13:09:15.516
!MESSAGE Error occurred while packaging the application:
Exception in thread "main" java.lang.Error: Unable to find named traits: valid.package.path.here::ValidClassName
at adobe.abc.Domain.resolveTypeName(Domain.java:231)
at adobe.abc.Domain.resolveTypeName(Domain.java:148)
at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6665)
at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:472)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
Compilation failed while executing : ADT
!STACK 0
java.lang.Exception
at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore. java:1019)
at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doPackage (ExportReleaseVersionWizard.java:283)
at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.performFi nish(ExportReleaseVersionWizard.java:152)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(Export ReleaseVersionAction.java:97)
at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportRe leaseVersionAction.java:103)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
The class the error message is referring to is defined with a SWC that my project links to. However, I've even tried to define a class with that same name (and location) within my project and it still fails to find it.
Why am I able to Project->Clean and run this project within the desktop AIR player (or on the device in debug mode) but unable to export it as a release build?
I have found a couple of threads mentioning a similar error but none of them have been marked as resolved.At this point I feel I am talking to myself, but I will share my work-around in case it helps another who may stumble across this post.
In my particular case, both my main AIR application and my ANE wrapper library were referencing the same external Flex library (same revision). Both projects had the library linkage set to merge. Changing the linkage to "External" on one of the 2 libraries (it doesn't seem to matter which) and leaving the other as "Merged into code" enabled the export to complete without the bizarre "Unable to find named traits" error. -
JRE 1.4.2_02 on solaris: java.lang.error
Hi,
I've just installed JRE 1.4.2_02 on a server running Solaris 8. The installation procedure went by without problems/errors (as described on Sun's pages: http://java.sun.com/j2se/1.4.2/jre/install-solaris.html)
When I try to execute java.exe (i.e: java -version) I get the following error response:
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working
directory.
If I log in as root I'm allowed to run java.exe without problems. I'd really appreciate any ideas, views, comments etc. on what might be the problem ...
/Regards Jennifer LeeI've posted this a couple oif other places today as well, but essentially it may help
I had the 'Error occured ..., VM' problem after installing 1.4.2_01 on Linux under slackware9.1.
I found the resolution by running 'java -verbose' as root and as a user and comparing the output, as java ran fine for root.
Turns out that for the user 'java -version' stopped after loading a couple of jars, and as root it didn't.
These jars in the JAVA_HOME/jre/lib directory only had root read/write permissions. After changing these permissions to all read and root write it worked fine for the user (so far)
The above may be of some help, but comparing the differences (especially permissions) in running it as root and user with -verbose may help.
John -
It was a blessing in disguise that the above error came about or else I wouldn't have taken the effort to find a solution. At first, I tried to delete several apps, do a hard reboot several variations but it still wouldn't go. Then I thought of downgrading the OS back to the default version so that made me give the Blackberry Desktop Manager a try. Linking handphone to notebook, it was only then I found out an updated version was available so immediately I decided to update since the jump from version 5 to 6 was worth it. After the corrupted version was wiped out being replaced by a newer one, my problem was solved!
ubuntu: Linux for human beingspoppi2000 wrote:
Hi,
After downloading the twitter app the following shows when I try to open it.
uncaught exception: Java.lang.Error
Does anyone know what it means and how to fix it.
Thanks!
Hi
1. Try to remove the batteries first reboot that will clear the application error
2. Also try uninstalling the last application you installed before the error appears and reboot / unplug the battery. You can reinstall these applications later.
3. If it still errors, you can wipe your handheld to clear / delete all the applications and reinstall the application required. How to delete all data and applications from the BlackBerry smartphone using the Security Wipe optio...
4. The final solution is to reinstall OS or all OS upgrade to the latest version. How to update or reinstall BlackBerry Device Software using BlackBerry Desktop Software
Please thank those who help you by clicking the button.
If your issue has been solved, please resolve it by marking "Accept as Solution" -
Hi, I have BlackBerry Curve 9220. before I get to sleep last night my BB was okay until when I woke up its already
Uncaught exception
java.lang.error
and many more pops up.
The main is plain white and the apps are alined left.
can you help me pleaseHello Vilorosheramy
This error usually means you have a data corruption , then what you can do:
1. Performing a backup
2 . Remove the device
3 . Restore Data
To make a backup using the BlackBerry Desktop Manager
Connect the BlackBerry to the computer running BlackBerry Desktop Manager.
Open BlackBerry Desktop Manager.
You click on Device - make backup.
Select Complete.
Choose a location to save the backup file and then you click Backup .
Then to remove the device from the main menu go to options - security options - security wipe.
Post . - This step will erase all your data and will return to the state the BlackBerry out of box.
Once you restart your BlackBerry , use the BlackBerry Desktop Manager again to restore data.
If your problem evidences the persistence you'll have to make an OS upgrade your Blackberry.
Regards...
Kudos ** Do not forget to give those people who help and advise you regarding your questions ** Can
Accept as Solution to ** Comments **
@gutijose14
BBM Channels PIN: C0007093A
Do not forget to give LIKE Those people who help you and advise you about your doubts. if the review has been SOLVED** # 4LL #ÉliteRoad Make a backup of your BlackBerry
BlackBerry Protect and BlackBerry Link constantly. #ichooseBlackBerry10 Gutijose14 Forums Veteran I -
Exception in thread "main" java.lang.Error
Hiya all,
i`ve got a problem with my compiler , it wont execute a for lus.
so can anybody help me to solve my problem..
this is the error that my compiler gives:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Syntax error, 'for each' statements are only available if source level is 5.0
at ForEachInzend2.<init>(ForEachInzend2.java:8)
at ForEachInzend2.main(ForEachInzend2.java:16)
public class ForEachInzend2 {
public ForEachInzend2(){
int[] celblock = new int[100];
int crimineel = 100;
for (int cel : celblock){ //this is red underlined.
cel = crimineel;
crimineel++;
System.out.println("Criminelen in celblock " + cel);
public static void main(String[] args){
ForEachInzend2 foreachinzend2 = new ForEachInzend2();
}John_Musbach wrote:
Exception in thread "main" java.lang.Error: Unresolved compilation problem: Unresolved compilation problem is an error that you'll only ever see if you're using an IDE. If you used the javac compiler, then you would have seen that the code doesn't even compile.
The reason (as others have pointed out) is, that some paths through your method don't return a value.
I'll re-write your code in the code-style that I usually use, because then it might be easier for you to see the problem:
public boolean find(MusbachJ_Person person,BstNode node)
if(node.intData.compareTo(person)==0) {
return true;
if( node.leftNode != null ) {
find(person,node.leftNode );
if( node.rightNode != null ) {
find( person, node.rightNode);
else {
return false;
}There are two prolbems. I'll spell out the first and let the other one for you to find:
1.) you don't do anything with the return-values of the find-methods you are calling. What do you want to do with them?
2.) What do you return if the current node is not the one that you want and you've got a right node? -
Java.lang.Error: Properties init during DI install
Hi,
I am trying to install a Dialog Instance and am running into an error
message java.lang.Error: Properties init: Could not determine current
working directory.
I have already uninstalled the instance and started over and I got stuck on the exact same step again.
Here is the truncated log
INFO 2009-02-27 16:08:52
CJSlibModule::writeInfo_impl()
Output of /opt/java1.4/bin/java -classpath /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib/launcher.jar -Xmx256m -d64 com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.batch.xmlgenerator.ConfigXmlGenerator /usr/sap/SBP/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/SBP/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/lib:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/batchconfig.properties is written to the logfile batchXmlGen.log.
WARNING 2009-02-27 16:08:52
CJSlibModule::writeWarning_impl()
Execution of the command "/opt/java1.4/bin/java -classpath /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib/launcher.jar -Xmx256m -d64 com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.batch.xmlgenerator.ConfigXmlGenerator /usr/sap/SBP/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/SBP/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/lib:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/batchconfig.properties" finished with return code 1. Output:
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
ERROR 2009-02-27 16:08:52
CJSlibModule::writeError_impl()
CJS-30057 BatchXmlGenerator error.<br>DIAGNOSIS: Error when generating 'BatchConfig.xml' for the batchconfigtool. See output of logfile batchXmlGen.log: '
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.'.
ERROR 2009-02-27 16:08:52
FCO-00011 The step runBatchconfig with step key |NW_DI|ind|ind|ind|ind|0|0|NW_DI_Instance|ind|ind|ind|ind|10|0|runBatchconfig was executed with status ERROR .
INFO 2009-02-27 16:09:47 [iaxxgenimp.cpp:782]
showDialog()
An error occured and the user decide to stop.\n Current step "|NW_DI|ind|ind|ind|ind|0|0|NW_DI_Instance|ind|ind|ind|ind|10|0|runBatchconfig".
INFO 2009-02-27 16:09:47 [syuxcpath.cpp:351]
CSyPath::createFile()
Creating file /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/__instana_tmp.xml.
aCC runtime: Uncaught exception of type "ELib".
iauxsysex.c:316: child /tmp/sapinst_exe.26944.1235779670/sapinst (pid 26945) has crashed. Executable directory is /tmp/sapinst_exe.26944.1235779670. Contact Support.
iaextract.c:814: child has signaled an exec error. Keeping directory /tmp/sapinst_exe.26944.1235779670
This is what the batchXmlGen.log says
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
I have already checked the permissions and bounced the server and retried to no avail.
Note : This is a ABAP+JAVA DI installation
Any clues ?
Thanks,
KunalHi,
Check following link and relevant notes inside it.
[https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=851251]
Hope this helps.
Manoj
Edited by: Manoj Chintawar on Feb 28, 2009 10:18 PM -
Java.lang.error Undefined operation name CreateStore
I was trying to call a WS client using a UI application. However upon calling the client, I hit this issue.
Caused by: java.lang.Error: Undefined operation name CreateStore
at client.inventory.webservice.ReferenceUim.getReferenceHTTPPort
at client.inventory.ui.util.WSCaller.getReferencePort
at caller.ui.inventorygroup.delegate.Delegate.assignStockWS
at caller.ui.inventorygroup.delegate.Delegate.assignStock
at caller.ui.inventorygroup.bean.Results.assignStock
By the looks of it can be seen that the error was caused becaused the operation "CreateStore" not exists in my client. However:
It does exists
I did not call "CreateStore" from the UI instead I was calling "AssignStock" operation as you can see from the error trace.
Both operations are present in my WSDL.
<wsdl:operation name="AssignStock">
<wsdl:input message="invws:AssignStock"/>
<wsdl:output message="invws:AssignStock"/>
<wsdl:fault name="InventoryFault" message="invws:InventoryFault"/>
</wsdl:operation>
<wsdl:operation name="CreateStore">
<wsdl:documentation>This operation is used to create store </wsdl:documentation>
<wsdl:input message="invws:CreateStoreRequest" />
<wsdl:output message="invws:CreateStoreResponse" />
<wsdl:fault name="InventoryFault" message="invws:InventoryFault" />
</wsdl:operation>
Can help please to advise what was wrong on this case? Please let me know if I did not post enough information.Hmm. Maybe the method is not defined in that class.
-
Java.lang.error How to..
I have serious problem..a lot of java games/applications show this error: java.lang.error (not found..) how can i make its work? my phone have midp 2.0..there isn't a soluction? pleeese help me
Hi Patrick
The interface is not changed and also the note no. as suggested by the Nagarajan is also not helpful. I would like to know what kind of illegal access i'm trying to do as nothing it is specifying in the Stack trace.
Following is the stack trace:
<i>
java.lang.IllegalAccessError: tried to access method com.bp.ngl.cust.bwmodel.BWModel.wdGetStaticMetadataCache()Lcom/sap/tc/webdynpro/modelimpl/dynamicrfc/DynamicRFCModel$MetadataCache; from class com.bp.ngl.cust.bwmodel.Zy_Search_Supp_Reports_Bw_Input
at com.bp.ngl.cust.bwmodel.Zy_Search_Supp_Reports_Bw_Input.<init>(Zy_Search_Supp_Reports_Bw_Input.java:51)
at com.bp.ngl.custsupp.FindReportComp.<init>(FindReportComp.java:433)
at com.bp.ngl.custsupp.wdp.InternalFindReportComp.<init>(InternalFindReportComp.java:447)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
</i>
Thanks
Srikant -
Java.lang.Error: NIY
I'm using WLS 8.1 SP2,
I got java.lang.Error: NIY when I tried to call the getRoles() method of SOAPMessageContext in the handler class.
Follow is a part of exception message
java.lang.Error: NIY at weblogic.webservice.core.DefaultMessageContext.getRoles(DefaultMessageContext.java:56)
Follow is a part of source code in the handler handleRequest method
public boolean handleRequest(MessageContext mc) {
SOAPMessageContext messageContext = (SOAPMessageContext) mc;
String roles[] = messageContext.getRoles();
Any help will be appreciated.
Thanks in advance.The operating system is Windows XP, Java is version 1.6.0_03 Sun Microsystems Inc.
Today, I got another error report containing this error. They all seem to come from the same user. Given that the user is still using our product, I guess it doesn't happen every time. :) The error actually happens in a third party library that uses JNI, so it could also be possible that this library messes up something. Given that the error happens rather rarely and we haven't got much data, I guess it isn't worth investigating this further at the moment. -
Uncaught exeption:java.lang.Error when i click on options.
Hello Guys.
I bought my BB 8900 curve last week.I was really happy until 2 days ago.I downloaded appworld to my device.But when i try to open appword it says upgrade your service plan and etc.So try I tought maybe i can change some preferences in advanced options.
After that time, when i click options,it wouldn't open.it says UNCAUGHT EXEPTION:JAVA.LANG.ERROR.So i can not use options choise anymore .Because of that i can not changed anything and i couldn't turned back to factory settings.
IS anyone idea about that?I mean i bought a week ago and I am so pissed off.I am waiting your replies guys.I think is time to reload the Software
Follow this exact procedure originally posted by Bumblepie
The software seems to have come corrupt.
Make sure you have the latest Software for your device and carrier installed onto the computer.
click here to get ur carrier software - http://na.blackberry.com/eng/support/downloads/download_sites.jsp
This is the device Software, not the desktop manager.
Download and double click to install to your ur computer. Don't plug the device in yet.
Once done that, go to C Drive: Program Files: Common Files: Research in Motion: App Loader and double click on loader.exe.
Once the welcome screen comes up, plug in the device the battery and hit next. When you see the PIN number appear after maybe a few minutes press next.
Once it gets to the device application part, Select only things you need, untick all other languages etc.
On the last page before you hit finish, you will see a 'ADVANCED' option, click this and make sure both the check boxes are fixed.
This will fix ur issue.
If I help you with any inquire, thank you for click kudos in my post.
If your issue has been solved, please mark the post was solved. -
Java.lang.Error: NYI
I built and deployed the Sun Webservices (version: jwsdp-1_0 from "summer") "hello"
example from their tutorial. It deploys fine but when accessing it with the client
I get the following error from the Weblogic server.
--------------- Runtime error -------
java.lang.Error: NYI
at weblogic.webservice.core.soap.SOAPPartImpl.getContent(SOAPPartImpl.ja
va:256)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:
83)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCSer
vletDelegate.java:151)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:6
9)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5360)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
------------ End error ----
Any ideas?
David KinsfatherI ran into the same problem, using WebLogic 7.0, deploying a very simple web service
derived from the hello world example from Web Services Developer's Pack 1.1.
I tried removing META-INF/services/javax.xml.soap.MessageFactory from d:\WebLogic\weblogic700\server\lib\webservices.jar,
that didn't help, I got the same stack trace. So I tried removing all META-INF/services/javax.xml.soap.MessageFactory
entries from webservicesclient.jar, webserviceclient+ssl.jar and webserviceclient+ssl_pj.jar.
That didn't help either.
As a last resort, I tried not including any of the jwsdp supplied jars within
my own application WAR, of course, that really didn't work since the web services
end point expects a lot of classes from com.sun.xml.rpc.*
I have to make my web service end point compatible with Tomcat, WebLogic and WebSphere.
So, if I go with your first suggestion, "use WLS implementation of JAX-RPC",
what do I have to do? Do I need to use WebLogic's servlet instead of Sun's?
Thank you.
Janet
"manoj cheenath" <[email protected]> wrote:
This is because the JAX-RPC RI is using WLS implementation
of the JAXM.
You can either use WLS implementation of JAX-RPC or use
the RI's impl of JAXM.
For the former check out :
http://edocs.bea.com/wls/docs70/webserv/index.html
and for the later:
remove following entry from the weblogic jar file
(webservices.jar or weblogic.jar)
META-INF/services/javax.xml.soap.MessageFactory
regards,
-manoj
"David Kinsfather" <[email protected]> wrote in message
news:[email protected]...
I built and deployed the Sun Webservices (version: jwsdp-1_0 from"summer") "hello"
example from their tutorial. It deploys fine but when accessing itwith
the client
I get the following error from the Weblogic server.
--------------- Runtime error -------
java.lang.Error: NYI
atweblogic.webservice.core.soap.SOAPPartImpl.getContent(SOAPPartImpl.ja
va:256)
atcom.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:
83)
atcom.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCSer
vletDelegate.java:151)
atcom.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:6
9)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:332)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5360)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:721)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3043)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
------------ End error ----
Any ideas?
David Kinsfather -
Hi,
We have an application which will copy all the files from a directory on the main server (manager) to all other servers in the cluster.The process is little bit tricky in the sense that all servers will pull the data from manager, copy it to a pending directory and then shut down the rmi process on them, rename pending directory with the original name (some name) and start the rmi process. All the communication is done using RMI calls. We use a GUI tool on windows to initiate this process. We are also running some shell scripts from java in this process. We run this process daily.
The problem is, once in a while we are getting the follwing error on some of the servers in the cluster and the data updates are not happening any more.
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory
We had to start the rmi process on the server again where it failed with the above error and Initiate the process again from GUI. Any ideas, why we get this error? Also, why only once in a while? Our application is running under root context, so i think, running as "root" is not an issue as I see on some of the forums. Any help is greatly appreciated.
Thank youIt is possible to remove or rename the working directory of a running process. It (or a child process) might then have trouble when looking for its current working directory.
posman@linux:~> mkdir scratch
posman@linux:~> cd scratch/
posman@linux:~/scratch> pwd
/home/posman/scratch
posman@linux:~/scratch> rmdir `pwd`
posman@linux:~/scratch> bash
shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dirs: could not get current directory: getcwd: cannot access parent directories: No such file or directory
posman@linux:~/scratch> -
BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML
I am new to JAXB, I am trying to run the sample applciations on Win 98,
I have set up the environment values as per the UserGuide specs.
I am getting the following error:
BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML Schema at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema (XMLSchemaReader.java:190)
Could someone please suggest a solution.
Thank you.Hi
I am using Windows 2000 and I am repeatedly getting the same error too (See below). Would appreciate any help ..
parsing a schema...
org.iso_relax.verifier.VerifierConfigurationException
at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:104)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
StackTrace of Original Exception:
java.lang.NullPointerException
at com.sun.msv.datatype.xsd.TypeIncubator.addFacet(TypeIncubator.java:64)
at com.sun.msv.reader.datatype.xsd.XSDatatypeExp$1.addFacet(XSDatatypeExp.java:87)
at com.sun.msv.reader.datatype.xsd.FacetState.startSelf(FacetState.java:56)
at com.sun.msv.reader.State.init(State.java:154)
at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
at com.sun.msv.reader.datatype.xsd.TypeState.startElement(TypeState.java:101)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:434)
at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:407)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.switchSource(XMLSchemaReader.java:683)
at com.sun.msv.reader.xmlschema.ImportState.startSelf(ImportState.java:41)
at com.sun.msv.reader.State.init(State.java:154)
at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:72)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
at com.sun.msv.reader.GrammarReader.parse(GrammarReader.java:449)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.parse(XMLSchemaReader.java:89)
at com.sun.msv.verifier.jarv.XSFactoryImpl.parse(XSFactoryImpl.java:26)
at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:95)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
java.lang.Error: unable to load schema-for-schema for W3C XML Schema
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:190)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
Exception in thread "main"
-Thanks
Guna
Maybe you are looking for
-
Apple TV vs. PS3 for photos & home movies
I'm sure some of you have both of these units and have a comparison as to which unit displays photos & home movies better (sharpness, color, etc.) I recently bought the Apple TV and I'm not that impressed with the photo quality and 960x540 home movie
-
Identifying business content based on requirements from Functional Doc
Hi everyone, I have a requirement to create technical documents from functional documents that I have received. The funct. docs describe the report to be created however, the fields that the user is looking for are basically in plain English (or atle
-
Hi all, I'm still using safari 4 beta because of the tab on top which i really like it alot I've tried the official one before last month but turn back to the beta version till now. In the official version it takes alot of cache that I think it store
-
I recently upgraded to Mavericks. In iMessage, when I go to View, Messages, then click "show names" that setting does not save when I exit out of the program. When I open iMessage again, it has reset to "show pictures." I haven't had this problem
-
Can you upload a single photo to facebook?
Whenever I highlight a photo and click the Facebook button it wants to create and upload the entire project. How can you upload just the photo you are working on?