Error while running client program
Hi,
I am writing a sample program. Below is the server code.
package helloWorld;
import javax.jws.*;
@WebService
public class HelloWorld {
@WebMethod
public String hello() {
System.out.println("Print data");
return "Test";
Firstly when I start the server I get
<WSEE>Warning: JMS Queue 'weblogic.wsee.DefaultQueue' is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
Ignoring this I wrote a client program
package web;
import java.io.IOException;
import java.io.PrintWriter;
* Servlet implementation class for Servlet: WebClient
public class WebClient {
public static void main(String[] argc)
try {
HelloWorldService_Impl service = new HelloWorldService_Impl();
HelloWorld port = service.getHelloWorldSoapPort();
java.lang.String message = "Hi";
// TODO process result here
String result = port.hello();
System.out.println("Result = "+result);
}catch(Exception e)
e.printStackTrace();
When I run the client I get runtime error
D:\test\2105\WebClient\src>D:\bea\jdk150_04\bin\java -cp .;jaxrpc.jar;weblogic.jar;webservices.jar;webservicesclient.jar;xbean.jar;ant.jar;ant-antlr.jar;ant-weblogic.jar web/WebClient
Exception in thread "main" java.lang.AssertionError: java.io.IOException
at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:147)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:215)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:185)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:170)
at weblogic.wsee.jaxrpc.ServiceImpl.loadWeblogicDD(ServiceImpl.java:404)
at weblogic.wsee.jaxrpc.ServiceImpl.loadInternalDD(ServiceImpl.java:346)
at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:110)
at web.HelloWorldService_Impl.<init>(HelloWorldService_Impl.java:21)
at web.HelloWorldService_Impl.<init>(HelloWorldService_Impl.java:13)
at web.WebClient.main(WebClient.java:15)
Caused by: java.io.IOException
at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
... 12 more
Caused by: com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClassLoader@e39a3e
at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
Can anyone let me know what could be the problem?
Hi,
My Client Program is as follows:
import javax.ejb.*;
public class Client{
public static void main(String[] args){
Account account = null;
try{
Context = new
Context = new
InitialContext(System.getProperties());
AccountHome home = (AccountHome)
AccountHome)
ctx.lookup("java:comp/env/ejb/AccountBean");
home.create("123-456-7890","John");
}catch(...){
}What are the System Properties? Are you running the client remotely? Are you running the client as a stand alone Java app or using the Weblogic's Client Runner? 'java:comp' as the jndi name is usually used when the client runs inside the container... But it doesn't seem to be the case.
Kexkey
Similar Messages
-
Hi,
I have tried an entity bean application. I am able to deploy my entity bean in WebLogic 7.0 server. But when I ran the client program I am getting the following error.
javax.naming.NameNotFoundException : Unable to resolve 'java:comp.env/ejb/AccountBean' Resolved: ' ' unresolved : 'java:comp': remaining name 'java:comp.env/ejb/AccountBean'
My ejb-jar.xml is as follows:
<ejb-jar>
<enterprise-beans>
<entity>
<ejb-name>AccountBean</ejb-name>
<home>AccountHome</home>
<remote>Account</remote>
<ejb-class>AccountBean<ejb-class>
<persistance-type>Bean</persistance-type>
<prim-key-class>AccountPK</prim-key-class>
<reentrant>False</reentrant>
<primkey-field>AccountID</primkey-field>
<env-entry>
<env-entry-name>jdbc.drivers</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>oracle.jdbc.driver.OracleDriver</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>JDBC-URL</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>jdbc:oracle:thin:@erp:1521:Oracle9i</env-entry-value>
</env-entry>
<ejb-ref>
<ejb-ref-name>ejb/AccountBean</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>AccountHome</home>
<remote>Account</Account>
<ejb-link>AccountBean</ejb-link>
<ejb-ref>
<resource-ref>
<resource-ref-name>jdbc/bmp-account</resource-ref-name>
<resouce-ref-type>javax.sql.DataSource</resource-ref-type>
<res-auth>Container</res-auth>
<res-sharing-scope>sharable</res-sharing-sope>
<resource-ref>
</entity>
</enterprise-beans>
<assembly-descriptor>
</assembly-descriptor>
<ejb-jar>
My weblogic-ejb-jar.xml is as follows:
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>AccountBean</ejb-name>
<entity-descriptor>
<pool>
</pool>
<entity-cache>
<cache-between-transaction>false</cache-between-transcation>
</entity-cache>
<persistance>
</persistance>
<entity-clustering>
</entity-clustering>
</entity-descripto>
<transaction-descriptor>
</transaction-descriptor>
<reference-descriptor>
<resource-descriptor>
<res-ref-name>jdbc/bmp-accoun</res-ref-name>
<jndi-name>MariJNDI</jndi-name>
</resource-descriptor>
<ejb-reference-descriptor>
<ejb-ref-name>ejb/AccountBean</ejb-ref-name>
<jndi-name>AccountBean</jndi-name>
</ejb-reference-descriptor>
</reference-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
My Client Program is as follows:
import javax.ejb.*;
public class Client{
public static void main(String[] args){
Account account = null;
try{
Context = new InitialContext(System.getProperties());
AccountHome home = (AccountHome) ctx.lookup("java:comp/env/ejb/AccountBean");
home.create("123-456-7890","John");
}catch(...){
Any help is appreciated.
Thanks in advance.
Regards,
Mari.Hi,
My Client Program is as follows:
import javax.ejb.*;
public class Client{
public static void main(String[] args){
Account account = null;
try{
Context = new
Context = new
InitialContext(System.getProperties());
AccountHome home = (AccountHome)
AccountHome)
ctx.lookup("java:comp/env/ejb/AccountBean");
home.create("123-456-7890","John");
}catch(...){
}What are the System Properties? Are you running the client remotely? Are you running the client as a stand alone Java app or using the Weblogic's Client Runner? 'java:comp' as the jndi name is usually used when the client runs inside the container... But it doesn't seem to be the case.
Kexkey -
Error while running the program of deferred Tax ( New)Program Name RFUMSV50
Hi
I am getting the error while running the program of deferred Tax ( New)
Following is the detailed error :
Enter rate / INR rate type M for 00.00.0000 in the system settings
Message no. SG105
Diagnosis
For the conversion of an amount into another currency, an entry is missing in the currency conversion table.
Procedure
Add the missing entry in the currency conversion table.
Execute function
You can then continue to process the commercial transaction.
Thanks & Regards,
PMCheck the following notes:-
1) Note 46582 - 2.2->3.0: error SG105 for exchange rate M w. inv.
2) Note 165645 - SG105:Enter rate & / & rate type & for 00.00.0000..
3) Note 483542 - F110: SG105 in maintenance of proposal run with wthhldng tax
4) Note 975657 - SG 105: FI-Enjoy with foreign currency and calculate tax
thanks
G. Lakshmipathi -
Strange error while running java program in oracle
Hi all,
I have written a java program and saved it as .sqlj file. i have to run the program on sql prompt.
while running the program i am getting the following error.Please help me.I am in urgent situation
ORA-29536: badly formed source: User has attempted to load a class
(tactossSecurity) into a restricted package. Permission can be granted using
dbms_java.grant_permission(<user>, LoadClassInPackage...
Thanks & Regards
Raghavender Rao KodumuriRaghavender,
I also answered you in the SQL forum, where you posted the exact same question.
Re: Trying to execute java programm in oracle getting the following error
Good Luck,
Avi. -
Error while running jms program in eclipse
Hi,
Friends.I am new to forum.This is the first question I am posting.I am new to Java Messaging service.While running the program in eclipse I am getting the following error...
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'scsstasdap03:QSEIBEL'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:569)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2328)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1749)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:144)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:106)
at com.bofa.pbes.cedapi.cmwmq.JMSManager.<init>(JMSManager.java:87)
at com.bofa.pbes.cedapi.cmwmq.JMSManager.<clinit>(JMSManager.java:40)
at com.bofa.pbes.cedapi.cmwmq.JMSCEDAgent.<init>(JMSCEDAgent.java:24)
at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<init>(MessageProcessingController.java:34)
at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<clinit>(MessageProcessingController.java:38)
java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
at com.bofa.pbes.cedapi.cmwmq.JMSManager.addMessageListener(JMSManager.java:173)
at com.bofa.pbes.cedapi.cmwmq.JMSCEDAgent.<init>(JMSCEDAgent.java:25)
at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<init>(MessageProcessingController.java:34)
at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<clinit>(MessageProcessingController.java:38)
Exception in thread "main"
Please help me.....Have a look in eclipse in the menu under window -> preferences -> java -> installed jre's which one is selected there.
Than you have to check you project settings: right click on the project and select properterties. Check "Java Build Path" and "Java Compiler" settings.
If you run your program, the console also shows the version you are running. If it is an 1.6 version everything should work. -
Error while running J2ME program in KtoolKit
hi,
i am doing my project in j2me as i m developing a Jabber client .where my Client application has to connect jabber server through GPRS...
so while running the project in KToolKt it ask that client application wants to send the information this requires airtime which may cost you money.is this ok?(TCP)
after clicking on yes option program goes in deadlock...thorws following error message
Error
=====
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
===================
plz send me solution if you know....
regards...jhd
hi.
this is a common error whenever we are accesing some other basedir other than current base we have to access that via new thread
i.e suppose i have written the code to make HttpConnection in command Action we can not access it via same thread so we ahave to create another thread and from that thread we have to call our function in which we are making HttpConnection or any RMS operation......
if(c == connectionCommand)
new Thread(new Runnable() {
public void run() {
makeConnection();
}).start();
}in this code when you are pessing connectionCommand it will create new thread and from that thread it will call makeConnaction in which we have to write code to establish connection.
i hope this will solve your problem.
Regards,
Jasmit vala.
rajputjasmit@ yahoo.co.in -
Problem while running client program in Netbeans4.0
Hi,
I am facing the following problem while running a client program in Nebeans4.0.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7C9012B4
Function=RtlInitAnsiString+0x1B
Library=C:\WINDOWS\system32\ntdll.dll
Current Java thread:
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:770)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1059)
at java.net.InetAddress.getAllByName0(InetAddress.java:1009)
at java.net.InetAddress.getAllByName0(InetAddress.java:981)
at java.net.InetAddress.getAllByName(InetAddress.java:975)
at weblogic.rjvm.RJVMFinder.getDnsEntries(RJVMFinder.java:370)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:181)
- locked <0x1007ff78> (a weblogic.rjvm.RJVMFinder)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:291)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at AcfClient.getHomeRef(AcfClient.java:73)
at AcfClient.forceSession(AcfClient.java:43)
at AcfClient.main(AcfClient.java:34)
Dynamic libraries:
0x00400000 - 0x00406000 C:\Data\j2sdk1.4.2_04\jre\bin\java.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\Data\j2sdk1.4.2_04\jre\bin\client\jvm.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F56000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x6BD00000 - 0x6BD0D000 C:\WINDOWS\system32\SYNCOR11.DLL
0x10000000 - 0x10007000 C:\Data\j2sdk1.4.2_04\jre\bin\hpi.dll
0x00390000 - 0x0039E000 C:\Data\j2sdk1.4.2_04\jre\bin\verify.dll
0x003B0000 - 0x003C9000 C:\Data\j2sdk1.4.2_04\jre\bin\java.dll
0x003D0000 - 0x003DD000 C:\Data\j2sdk1.4.2_04\jre\bin\zip.dll
0x02DA0000 - 0x02DAF000 C:\Data\j2sdk1.4.2_04\jre\bin\net.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x66210000 - 0x66219000 C:\WINDOWS\system32\netware\NWWS2NDS.DLL
0x50D50000 - 0x50D95000 C:\WINDOWS\system32\NETWIN32.DLL
0x50D00000 - 0x50D15000 C:\WINDOWS\system32\CLNWIN32.DLL
0x50DF0000 - 0x50E10000 C:\WINDOWS\system32\LOCWIN32.DLL
0x50DB0000 - 0x50DD9000 C:\WINDOWS\system32\NCPWIN32.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x66220000 - 0x6622C000 C:\WINDOWS\system32\netware\NWWS2SLP.DLL
0x1C000000 - 0x1C007000 C:\WINDOWS\system32\NWSRVLOC.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 497K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 89% used [0x10010000, 0x10083158, 0x10090000)
from space 64K, 57% used [0x100a0000, 0x100a9478, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 129K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 9% used [0x104f0000, 0x10510438, 0x10510600, 0x10650000)
compacting perm gen total 4096K, used 2122K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 51% used [0x14010000, 0x14222828, 0x14222a00, 0x14410000)
Local Time = Fri Aug 26 10:26:03 2005
Elapsed Time = 2
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
# An error report file has been saved as hs_err_pid1280.log.
# Please refer to the file for further information.
Can anyone pls let me know what could be the problem.
Thanks in adv.Hi,
This type of error
java.lang.NoClassDefFoundError: javax/naming/Context
will occur when the client program could not able to locate lib/j2EE.jar file.
So set the classpath correctly and make sure that you have correctly defined the JAVA_HOME environment variable in .bat script.
Hope this will help you.
Regards,
Anil.
Technical Support Engineer. -
Error in running client program
hi , i am tring to run a sample client program for web service
i am getting the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: BatchWebServices/axis
/browsing/Sample1 (wrong name: browsing/Sample1)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: BatchWebServices.axis.browsing.Sample1. Program
will exit.
can any one please helpDear all,
I just tried my RMI examples downloaded from http://java.sun.com/j2se/1.5.0/docs/guide/rmi/ and I got exactly the same java.rmi UnmarshalException.
Could you still pay attension to this problem and provide a solution?
Best regards,
PY -
Error while running HelloWorld program Please Help me
Hi Friends! I am doing my hello world program...while running i m getting the below error...please help me regarding this...
The target WSCO.java cannot be started as a servlet, because the class oracle.apps.ak.ws.webui.WSCO does not extend javax.servlet.GenericServlet.
The target WSCO.java cannot be started as an application, because the class oracle.apps.ak.ws.webui.WSCO does not have a main method.Hi,
For building a simple hello world page, follow these steps:
1) Create a New OA Workspace and a new OA Project. Make sure that package name should be prefixed by some custom name like:
xx.oracle.apps.ak.hello
2) Create new OA Page under webui:
xx.oracle.apps.ak.hello.webui.XxHelloWorldPG
3) Create a new Application module, XxHelloWorldAM in below package:
xx.oracle.apps.ak.hello.server.XxHelloWorldAM
4) Attach this AM to your XxHelloWorldPG.
5) Now create regions and items under pageLayout region of this page.
6) Add a controller to pageLayout region in webui package:
xx.oracle.apps.ak.hello.webui.XxHelloWorldCO
Also you can add a button on the page and write some code in PFR method of your controller.
--Sushant -
Error while running HelloWorld program
Hi Friends! I am doing my hello world program...while running i m getting the below error...please help me regarding this...
The target WSCO.java cannot be started as a servlet, because the class oracle.apps.ak.ws.webui.WSCO does not extend javax.servlet.GenericServlet.
The target WSCO.java cannot be started as an application, because the class oracle.apps.ak.ws.webui.WSCO does not have a main method.Hi Friends! I am doing my hello world program...while running i m getting the below error...please help me regarding this...
The target WSCO.java cannot be started as a servlet, because the class oracle.apps.ak.ws.webui.WSCO does not extend javax.servlet.GenericServlet.
The target WSCO.java cannot be started as an application, because the class oracle.apps.ak.ws.webui.WSCO does not have a main method. -
Error while running the program
Hello everybody
I have installed jdk in my computer, but when I try to run the program it shows the following error
"Unable to load the main class"
The program is compiling properly the only problem is in running the program.
What is the reason for this error and how can I fix this error?
RegardsAre you familiar with the classpath?
It tells the JRE which directory has your *.class files.
At the command line, you would java -cp dir_name class_file_nameIf you're using an IDE, check the menus at the top of the editor screen. -
Error while running saschinvoke program for running the ibots created.
Hi Experts,
I am trying to invoke an ibot job from the unix command line. But, it is erroring it out. Can any one please help why is this error.
[oracle@ginza oracle]$ cd OracleBI
[oracle@ginza OracleBI]$ cd server
[oracle@ginza server]$ cd Bin
[oracle@ginza Bin]$ ./saschinvoke -u Administrator/abc2008 -j 5
./saschinvoke: error while loading shared libraries: libnqschedulerobjects.so: cannot open shared object file: No such file or directory
[oracle@ginza Bin]$ ls -l saschinvoke
-rwxr-x--- 1 oracle oracle 511132 Jul 30 2008 saschinvoke
[oracle@ginza Bin]$ pwd
/sdb1/appl/oracle/OracleBI/server/Bin
Thanx
svr
Edited by: user8699680 on Sep 1, 2009 5:38 PMHi Experts,
Thanks for all your valuable inputs.
But still I have another problem in running my script. This time it is with the authentication. here is the log file
[oracle@ginza svr]$ ./autocache.sh
Oracle BI SASchInvoke
Copyright (c) 1997-2006 Oracle Corporation, All rights reserved
Execution Error: [nQSError: 68019] Authentication Failed.job completed
[oracle@ginza svr]$ id
uid=501(oracle) gid=501(oracle) groups=501(oracle)
I am here trying to run the script with Oracle unix user with which the OBIEE has been installed on linux server. I had checked that, all the files and script has necessary permissions, but missing some authentication. For further information, my instanceconfig.xml file has the following contents... ( where cryptools has run and passphare is mentioned in the instanceconfig.xml file)
<CredentialStore>
<CredentialStorage type="file" path="/sdb1/appl/oracle/OracleBIData/web/config/credentialstore.xml" passphrase="ppsecret"/>
</CredentialStore>
Pls let me know you valuable inputs to resolve this issue.
Thanks
svr -
Error while running Swing program on FreeBSD
Hi,
I am trying to run simple swing program "helloworld"
but while executing it gives following error on FreeBSD
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libawt.so: libXp.so.6:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.EventQueue.<clinit>(EventQueue.java:80)
at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1170)
at JPanels.main(JPanels.java:29)
Should i install XFree86-libs package on FreeBsd
configuration
FreeBSD 4.10-BETA (GENERIC)
I am using following packages
linux-sun-jdk-1.4.2.04 Sun Java Development Kit 1.4 for Linux
linux_base-8-8.0_4 Base set of packages needed in Linux mode (only for i386)
linux_devtools-8.0_1 Packages needed for doing development in Linux mode
libtool-1.3.5_1 Generic shared library support script
gmake-3.80_1 GNU version of 'make' utility
automake-1.4.5_9 GNU Standards-compliant Makefile generator (legacy version
GCC 2.95.4
gdb 4.18
ld 2.12.1 supported emulation elf_i386
regards
Man479This is not really a Swing question. You should install the library which satisfies the lookup of libXp.so.6 .
I quess the jre for this platform is compiled against this version. Looks to me like some X related library, maybe google can resolve a solution/package to install?
Greetz -
Error while running PING program using applet. Pls correct the code.-urgent
Can anyone pls correct the error in the below code.
Program : TestExec1
Using : Applet
Logic : Trying to display the ping status in the text area but it returns error...!
CODING
import java.awt.*;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.awt.event.*;
import java.applet.*;
import java.*;
/*<applet code="TestExec1" width=380 height=150>
</applet>
public class TestExec1 extends Applet
String line = null;
TextArea outputArea;
Process p;
public void init()
outputArea = new TextArea(20,20);
public void start()
try
Process p= Runtime.getRuntime().exec("ping 192.168.100.192 -t");
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
while ((line = in.readLine()) != null)
outputArea.append("\n" + line);
System.out.println(line);
catch (IOException e)
e.printStackTrace();
Error : C:\Program Files\Java\jdk1.6.0_02\bin>appletviewer TestExec1.java
java.security.AccessControlException: access denied (java.io.FilePermission <<AL
L FILES>> execute)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:323)
at java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkExec(SecurityManager.java:782)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:447)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at TestExec1.start(TestExec1.java:31)
at sun.applet.AppletPanel.run(AppletPanel.java:458)
at java.lang.Thread.run(Thread.java:619)
Regards
ESMjava.security.AccessControlException: access denied (java.io.FilePermission
<<ALL FILES>> execute)This message tells you that the applet does not have permission to access/execute files. Access may be granted by either signing the applet, which allows the user to grant (or not grant) the access when running the applet, or by adding the necessary permission file to the user's computer.
See http://java.sun.com/javase/6/docs/technotes/guides/security/index.html -
Syntax Error while running "RFBILA00" program
Hello,
I am encountering some issues while trying to run reports that use table "FAGLFREESEL". The below error is for report "RFBILA00":
Short Text
Syntax error in program "RFBILA00 ".
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLALDB" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "RFBILA00 " in include "RFBILA00
" in
line 46:
""FAGLFREESEL" muß eine flache Struktur sein. Interne Tabellen, Referen"
"zen, Strings und Strukturen sind als Komponenten verboten."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "
Error in the ABAP Application Program
The current ABAP program "SAPLALDB" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Any sugestions on how to fix this would be greatly appreaciated.
Thank you!Hello Constantin,
As the message suggests, FAGLFREESEL should be a Structure. CHeck in your system whether it has been created as a sturcture.
Have you checked SAP Service marketplace for the SAP Note. There are couple of SAP notes available for 2013 for few countries. Check whether anything applicable to your country.
If not, raise a OSS note with SAP.
BR
Amitash
Maybe you are looking for
-
WLAN User Idle Timeout and WPA2-PSK authentication
Hi, There is a WLAN for Guest users with Session Timeout of 65535 sec and User Idle Timeout of 28800 sec. The WLAN uses PSK as Layer-2 authentication and Web Auth as Layer-3 authentication. Authentication source is locally created users on the contro
-
My setup: W520 Mini Dock Plus Series 3 External 1080p display on DVI External 1440p display on DisplayPort (primary display) The problem I'm experiencing is that the external display on the DisplayPort gets dismounted (I can hear the Windows "hardwar
-
End of my tether - infinity problems
Hi all, Hoping somebody will be able to give me some idea of where to go next with my problems. Ever since I had infinity installed I have had nothing but problems. My connection can drop 20 + times a day, and that is if I can get connected at all! I
-
Display Quality for slideshows
How do I improve slideshow quality. I am using professional quality settings. I have tried different resolution camera output but it doesn't make any difference. Images are very soft and small. When I create an Iphoto slideshow with the same pics I g
-
Error while transfer simulation version to operative.
Hi Experts I tried to transfer a simulation to operative in CJV4. But i experienced the below message: Backward scheduling (enter finish date) Message no. CO028 I could not find the reason, since all the the networks have start and finish dates, stil