Helloworld sample....!

I runned sample program on server machine that generate document object and insert it into ifs repository succefully. But as this program is runned on client(remote) machine,some problems are occured.
1. sample code is :
import oracle.ifs.common.*;
import oracle.ifs.beans.*;
public class DocAccessSample
LibrarySession ifsSession;
public DocAccessSample(
String service_name,
String service_password,
String ifs_user,
String ifs_password)
throws IfsException
LibraryService ifsService = new LibraryService();
CleartextCredential me = new CleartextCredential(ifs_user,ifs_password);
ConnectOptions connectOpts = new ConnectOptions();
connectOpts.setServiceName(service_name);
connectOpts.setServicePassword(service_password);
ifsSession = ifsService.connect(me,connectOpts);
public void createNewDocument(String name, String content)
throws IfsException
//Create a new DocumentDefinition and a new Document.
DocumentDefinition newDocDef = new DocumentDefinition(ifsSession);
newDocDef.setAttribute("NAME", AttributeValue.newAttributeValue
(name));
newDocDef.setContent(content);
Document doc = (Document) ifsSession.createPublicObject(newDocDef);
//Obtain the user's home folder and add the new Document to it.
DirectoryUser thisUser = ifsSession.getDirectoryUser();
PrimaryUserProfile userProfile = ifsSession.getPrimaryUserProfile(thisUser);
Folder homeFolder = userProfile.getHomeFolder();
homeFolder.addItem(doc);
public void dispose()
throws IfsException
//Disconnect from the repository.
ifsSession.disconnect();
public static String getResult()
try {
DocAccessSample sample = new DocAccessSample("IfsTools","ifssys","system","manager");
sample.createNewDocument("Hello09.txt","Hello World!");
sample.dispose();
} catch ( Exception e ) {
return "error:" + e.getMessage();
return "success";
public static void main(String[] args)
throws IfsException
System.out.println(DocAccessSample.getResult());
2. Error log is :
java.lang.NoClassDefFoundError: com/inprise/vbroker/CORBA/portable/Skeleton
at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:536)
at oracle.ifs.beans.LibraryService.connect(LibraryService.java:370)
at DocAccessSample.<init>(DocAccessSample.java:24)
at DocAccessSample.getResult(DocAccessSample.java:56)
at DocAccessSample.main(DocAccessSample.java:68)
3. what's wrong?. i just start iFS server with "ifsstart" command.
null

Some questions:
1) I assume that when you mention "server machine" you mean the machine you are running the Oracle database on. True?
2) I assume that when you mention "client(remote) machine", you are talking about a middle-tier machine that you have installed iFS on. True?
If those assumptions are true, then it looks like you don't have $ORACLE_HOME/lib/vbjorb.jar in your
CLASSPATH.
We're not quite sure what causes this to occur. You might look at the postings at http://technet.oracle.com:89/ubb/Forum36/HTML/000035.html and at http://technet.oracle.com:89/ubb/Forum36/HTML/000307.html
to see if they help.
null

Similar Messages

  • [svn:osmf:] 15950: Fix broken resize behavior in HelloWorld sample.

    Revision: 15950
    Revision: 15950
    Author:   [email protected]
    Date:     2010-05-07 09:54:21 -0700 (Fri, 07 May 2010)
    Log Message:
    Fix broken resize behavior in HelloWorld sample.
    Modified Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld7.as

  • Problems with jax-rpc HelloWorld sample

    Hi
    Running on Linux Red Hat 9.0
    Jwsdp 1.3
    I'm following the jwsdp tutorial trying to build the jax-rpc HelloWorld sample. I do what the tutorial says:
    "ant build" in the sample directory but it "Fails" with this message:
    init:
    [echo] -------- HelloWorld Sample --------
    prepare:
    generate-server:
    edit-config:
    [wscompile] modeler error: failed to parse document at "/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld//home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorl
    d/etc/HelloWorldService.wsdl": java.io.FileNotFoundException: /home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/Hell
    oWorld/etc/HelloWorldService.wsdl (No such file or directory)
    [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:179)
    [wscompile] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:85)
    [wscompile] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
    [wscompile] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:564)
    [wscompile] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [wscompile] at com.sun.xml.rpc.tools.ant.Wscompile.execute(Wscompile.java:686)
    [wscompile] at org.apache.tools.ant.Task.perform(Task.java:341)
    [wscompile] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wscompile] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wscompile] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [wscompile] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [wscompile] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [wscompile] at org.apache.tools.ant.Main.start(Main.java:196)
    [wscompile] at org.apache.tools.ant.Main.main(Main.java:235)
    [wscompile] CAUSE:
    [wscompile] failed to parse document at "/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld//home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/etc/HelloWorl
    dService.wsdl": java.io.FileNotFoundException: /home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/etc/Hell
    oWorldService.wsdl (No such file or directory)
    [wscompile] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLParser.java:252)
    [wscompile] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitions(WSDLParser.java:170)
    [wscompile] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parse(WSDLParser.java:162)
    [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:126)
    [wscompile] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:85)
    [wscompile] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
    [wscompile] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:564)
    [wscompile] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [wscompile] at com.sun.xml.rpc.tools.ant.Wscompile.execute(Wscompile.java:686)
    [wscompile] at org.apache.tools.ant.Task.perform(Task.java:341)
    [wscompile] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wscompile] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wscompile] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [wscompile] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [wscompile] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [wscompile] at org.apache.tools.ant.Main.start(Main.java:196)
    [wscompile] at org.apache.tools.ant.Main.main(Main.java:235)
    [wscompile] CAUSE:
    [wscompile] java.io.FileNotFoundException: /home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/etc/HelloWor
    ldService.wsdl (No such file or directory)
    [wscompile] at java.io.FileInputStream.open(Native Method)
    [wscompile] at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [wscompile] at java.io.FileInputStream.<init>(FileInputStream.java:66)
    [wscompile] at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
    [wscompile] at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
    [wscompile] at java.net.URL.openStream(URL.java:913)
    [wscompile] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:947)
    [wscompile] at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:893)
    [wscompile] at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:846)
    [wscompile] at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:264)
    [wscompile] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:513)
    [wscompile] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595)
    [wscompile] at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    [wscompile] at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253)
    [wscompile] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:206)
    [wscompile] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLParser.java:248)
    [wscompile] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitions(WSDLParser.java:170)
    [wscompile] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parse(WSDLParser.java:162)
    [wscompile] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:126)
    [wscompile] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:85)
    [wscompile] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
    [wscompile] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:564)
    [wscompile] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [wscompile] at com.sun.xml.rpc.tools.ant.Wscompile.execute(Wscompile.java:686)
    [wscompile] at org.apache.tools.ant.Task.perform(Task.java:341)
    [wscompile] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wscompile] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wscompile] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [wscompile] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [wscompile] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [wscompile] at org.apache.tools.ant.Main.start(Main.java:196)
    [wscompile] at org.apache.tools.ant.Main.main(Main.java:235)
    [wscompile] error: modeler error: failed to parse document at "/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld//home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/He
    lloWorld/etc/HelloWorldService.wsdl": java.io.FileNotFoundException: /home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/home/medimg/pablo/jwsdp-1.3/jaxrpc/sampl
    es/HelloWorld/etc/HelloWorldService.wsdl (No such file or directory)
    [wscompile] Command invoked: wscompile -d /home/medimg/pablo/jwsdp-1.3/jaxrpc/build/samples/HelloWorld/classes/server -import -keep -model /home/medimg/pablo/jwsdp-
    1.3/jaxrpc/build/samples/HelloWorld/model-wsdl-rpcenc.xml.gz -Xprintstacktrace /home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/etc/config.xml -classpath /hom
    e/medimg/pablo/jwsdp-1.3/jwsdp-shared/lib/mail.jar:/home/medimg/pablo/jwsdp-1.3/jwsdp-shared/lib/activation.jar:/home/medimg/pablo/jwsdp-1.3/jaxp/lib/jaxp-api.jar:/
    home/medimg/pablo/jwsdp-1.3/jaxp/lib/endorsed/dom.jar:/home/medimg/pablo/jwsdp-1.3/jaxp/lib/endorsed/sax.jar:/home/medimg/pablo/jwsdp-1.3/jaxp/lib/endorsed/xalan.ja
    r:/home/medimg/pablo/jwsdp-1.3/jaxp/lib/endorsed/xercesImpl.jar:/home/medimg/pablo/jwsdp-1.3/jaxrpc/lib/jaxrpc-api.jar:/home/medimg/pablo/jwsdp-1.3/jaxrpc/lib/jaxrp
    c-spi.jar:/home/medimg/pablo/jwsdp-1.3/jaxrpc/lib/jaxrpc-impl.jar:/home/medimg/pablo/jwsdp-1.3/saaj/lib/saaj-api.jar:/home/medimg/pablo/jwsdp-1.3/saaj/lib/saaj-impl
    .jar:/home/medimg/pablo/jwsdp-1.3/jwsdp-shared/lib/relaxngDatatype.jar:/home/medimg/pablo/jwsdp-1.3/jwsdp-shared/lib/xsdlib.jar:/home/medimg/pablo/jwsdp-1.3/jwsdp-s
    hared/lib/jax-qname.jar:/home/medimg/pablo/jwsdp-1.3/apache-ant/lib/ant.jar:/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/${compile.classpath}
    BUILD FAILED
    file:/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/build.xml:98: wscompile failed
    I took a look into the etc/config.xml file and the path location of HelloWorldService.wsdl is fine as follows
    "/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/etc/HelloWorldService.wsdl"
    BUT.. after "ant build", the path in th config.xml file automatically change for:
    "/home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld//home/medimg/pablo/jwsdp-1.3/jaxrpc/samples/HelloWorld/etc/HelloWorldService.wsdl"
    Anybody knows how to solve this problem
    HELP !!!
    J.Pablo

    Hi,
    I guess you need some changes in your build script.
    One solution would be to specify correct value for location attribute in your config.xml and then
    uncomment the call to "edit-config" target as show below in your build.xml file:
    <target name="generate-server" depends="prepare">
    <!--antcall target="edit-config">
    <param name="config.rpcenc.file" value="${config.rpcenc.file}"/>
    </antcall-->
    -Amol

  • [svn:osmf:] 13431: Integrate HelloWorld sample with API changes.

    Revision: 13431
    Revision: 13431
    Author:   [email protected]
    Date:     2010-01-11 18:05:51 -0800 (Mon, 11 Jan 2010)
    Log Message:
    Integrate HelloWorld sample with API changes.
    Modified Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/.actionScriptProperties
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld.as
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld2.as
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld3.as

    Silviu!
    I'm really sorry, but as all the office is trying to fix the problem, someone replaced the url content with the stuff that was pointing to the local machine.
    I've fix it, and the video player is available here again: http://pp.player.webtv.flumotion.com/params/apiKey/5PzLR2ULL3z2rumJ/videoId/60
    If there are other references to the localhost, please do not bother with them, as they do not affect player functionality.
    The stream that it uses is an RTMPE, so i'm afraid it will only works with this player. Anyway, the stream url is as follows: rtmpe://87.248.205.81/a4349/e2/veo7/ondemandrtmpe/mp4/med/first-person-mario-4d8741aa.mp4
    I really appreciate your help!
    Thank you!

  • How to create and see the user interface of helloworld sample??

    hello friends,
    i have deployed the hello world sample
    now i want to know how to create and see the user interface of hello world sample.
    thanks and regards..

    If you go to bpel console host:port/BPELConsole (in a dev install, localhost:9700), click on your process, we will generate, based on the describing wsdl a UI for you ..
    hth clemens

  • Error while running sample app HelloWorld on sun one web server 6.1

    I tried to deploy and run the HelloWorld - sample application on sun one web server 6.1. It's giving me following errrors.
    (1) , root cause: java.lang.NullPointerException
    (2) info ( 924): JSP11 Log:unable to load jsp class: jsps.index_jsp
    what's the solution for that?
    Thanks
    Naimesh

    Can You please explain me how can I deploy .war file of my application on sun one web server 6.1 ?
    It is deployed successfully. It only loads default.jsp and then fives following error:
    1) Package netscape.ldap not found in import.
    I imported this package to my java file.
    Thanks,

  • Error with banking sample

    Dear All,
    I am getting the following error when trying to run the banking sample..
    The pool AccountBeanPool could not be found.
    Please make sure it is declared in your config.xml
    If anyone could point me in the right direction I would
    appreciate it
    regards
    Tony

    I download and install BPEL Process Manager in mode:
    "BPEL Process Manager for Developers"
    When I open HelloWorld sample in folder E:\OraBPELPM_1\integration\orabpel\samples\tutorials\101.HelloWorld
    and test, in step 5 "click Visual Flow", a message box appears with blank

  • JAX-RPC Additional Sample Code

    I am attempting to modify the JAX-RPC HelloWorld scripts to build my own custom application. Is there someplace I can look for more information on creating new JAX-RPC applications? The HelloWorld sample is somewhat limited in explaining what the build scripts are doing, and why.
    Some documentation that describes the different requirements for J2EE app servers and Tomcat would also be helpful.

    section 3.8 of http://java.sun.com/blueprints/guidelines/designing_webservices/html/ details the j2ee side of things

  • How to run HelloWorld at CoreCLR

    I download HelloWorld sample code of corefxlab at GitHub, build and successfully run on my windows.
    And I download the coreclr source code, build, try to run the HelloWorld on coreclr following the steps described at http://blogs.msdn.com/b/dotnet/archive/2015/02/03/coreclr-is-now-open-source.aspx?Redirected=true&PageIndex=2,
    Modify CoreCLR to your heart’s content
    Build CoreCLR via build.cmd x64 release
    Copy the following files from coreclr\binaries\x64\release tocorfxlab\demos\CoreClrConsoleApplications\HelloWorld\NotYetPackages\CoreCLR:
    coreclr.dll
    CoreConsole.exe
    mscorlib.dll
    Rebuild HelloWorld.sln (either using the command line or in VS)
    Seems it's useless. If it should work, why the HelloWorld exe will search the folder ‘NotYetPackages\CoreCLR’?
    If not, How can I use the coreclr my own build to run the HelloWorld? thanks.

    You should probably open an issue on
    GitHub if you have problems with using CoreCLR, it's more likely that CoreCLR people will see it and provide an answer.
    And make sure you specify what modifications you did and what doesn't work.

  • HelloWorld problems

    I get the following error when I try to execute the HelloWorld sample. The service is called master.test and I can test connect to it from the Net8 Assistant and I can access iFS from a browser. I have updated the sample code to reflect proper service and authentication information.
    oracle.ifs.common.IfsException: IFS-20010: Failed to get PropertiesResourceBundler master.test
    java.util.MissingResourceException: Can't find bundle for base name oracle.ifs.server.properties.master.test, locale en_US
    The developers guide indicates the cause of this error is a missing service definition, but the service is defined and working, as confirmed by the Net8 Assistant and by accessing iFS through the local Apache server.
    Any help would be greatly appreciated. Thanks.
    null

    Okay, I think I'm getting closer to figuring this out. I am being sure to use a service name that a file exists for, but I still get the same error. Could this have to do with my classpath? I am using JBuilder 4.0 and while I have added all the appropriate jars to my classpath, I have made no other changes. Should I add something to my classpath or define some other variable?
    Thanks,
    Andrew Martin

  • Converting SOA VacationRequest sample to a BPM project

    Hi All
    I already posted this same question in BPM Forums also and so far could not get any response. Hence doing the same post here also, to see if any member from this group have attempted something that I want. The question and the details are listed in this post:
    Converting SOA VacationRequest sample to a BPM project
    Thanks in advance for any tips/pointers/directions/hints.
    Thanks
    Ravi Jegga

    Hi All
    Any directions/hints/pointers please. Basically I do not want to redo everything from scratch in BPM. Because we have in real, much more complex existing SOA workflow projects which we want to migrate to BPM, so that we can seed new instances directly from BPM Workspace. We do not have luxury to complete redo these projects in BPM Studio. Hence I want to explore simple SOA VactionRequest or helloworld sample migration from SOA to BPM Suite.
    Thanks
    Ravi Jegga

  • BPEL Process Won't Deploy

    I've tried deploying several processes to our BPEL Server, using 3 of the 4 supported ways.
    First I tried deploying the local HelloWorld sample using ant and the build.xml file. The script reports that the build was succesful, but it does not appear in the console in the default domain (or any domain).
    [oracle@apptl01anp 101.HelloWorld]$ obant.sh
    Buildfile: build.xml
    main:
    [bpelc] validating "/home/apps/oracle/products/10gr2mid/integration/orabpel/samples/tutorials/101.H
    elloWorld/HelloWorld.bpel" ...
    [bpelc] BPEL suitcase deployed to: /home/apps/oracle/products/10gr2mid/integration/orabpel/domains/default/deploy
    BUILD SUCCESSFUL
    Total time: 3 seconds
    I tried loading another sample of my own using the console and "Deploy New Process" link. After submitting, the server reports back that the load was succesful. Again, the process does not appear on the console in the defualt domain (or any domain).
    Lastly, I've tried to copy the suitcase to the deploy directory. Nothing happens. The process never appears in the console.
    All of the process jar files are in the deploy directory. I've even tried rebooting the server, hoping that would cause everything to be loaded. No affect. I was thinking that maybe the server is configured to turn OFF auto-deploy. In my domain.xml file I have processCheckSecs set to 1. I see no errors in any logfiles (perhaps I'm looking at the wrong log files?).
    We are using 10.1.2, BPEL is installed in an existing Mid-tier home in a Red Hat environment. I have installed all of the required patches.
    Anyone have any suggestions? Any help would be appreciated.
    Thanks,
    -Dan

    I'm seeing the exact same problem. I had Jdev 10.1.3.1 and OracleAS 10g 10.1.3.1. I just upgraded to JDev 10.1.3.3 and the problem remains. The odd thing is that it used to work fine.
    I created a new test BPEL domain, created a new test BPEL process, and tried to deploy from JDev. It compiles find and the Ant script says it is deploying to the proper server with no errors. However nothing shows up and the domain log files shows no attempts to deploy anything.
    I can take the same BPEL suitcase and manually deploy it with no problems. So what in the world is JDev (Ant) talking to when it thinks it is deploying this?
    ...richard

  • How to resolve Exception in thread "main" java.lang.NoSuchFieldError: strm

    Hi,
    Aplogies, if I am posting this in the wrong place, else please guide me.
    We were running JBoss server 4.2.3 GA with Java 5 Update 19 in Solaris 10.
    Details of uname command in Solaris box is,
    uname -a
    SunOS uktapp06 5.10 Generic_125100-10 sun4us sparc FJSV,GPUZC-M
    Due to performance issues we need to upgrade to latest Java [Java 6 Update 21] and when I tried to run JBoss with 64 bit mode using Java options like,
    JAVA_OPTS="*-d64* -Xms3g -Xmx3g -XX:ThreadStackSize=512 -XX:+UseParallelGC -XX:MaxPermSize=256m -XX:NewRatio=2"
    I get the below error,
    Exception in thread "main" java.lang.NoSuchFieldError: strm
            at java.util.zip.Inflater.initIDs(Native Method)
            at java.util.zip.Inflater.<clinit>(Inflater.java:68)
            at java.util.zip.ZipFile.getInflater(ZipFile.java:266)
            at java.util.zip.ZipFile.getInputStream(ZipFile.java:212)
            at java.util.zip.ZipFile.getInputStream(ZipFile.java:180)
            at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:465)
            at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(JavaUtilJarAccessImpl.java:21)
            at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:903)
            at sun.misc.URLClassPath.getLoader(URLClassPath.java:302)
            at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)I have posted this at JBoss Forum here, http://community.jboss.org/message/553489
    and got a response that we need to reinstall Java 6 Update 21 in Solaris
    However my System admin verified and said there are no issues in Java installation.
    I could run a HelloWorld sample program using the same Java options [with -d64 flag] and that runs perfectly.
    I do not have any clue because I do not think there is any issues in the JBoss server
    From the above trace, it is failing at a native call and not picking up the required libraries.
    Please also let me know the below
    1. Whether I need to set any environment variables?
    2. Whether the installation would have been corrupted and we need to reinstall?
    Thanks,
    Prabhu

    Hi Franco,
    Yes, I solved that by reinstalling Java 6 Update 21.
    There are three versions for Solaris namely, SPARC, x64 and x86. Our platform is SPARC and I think System admin has installed the wrong version instead of installing SPARC version of Java.
    After installing SPARC version of Java this got resolved. And I confirmed everything is fine by running a small program as below. You can run this program from command line using the -d64 flag. If the installation is wrong you will get the same exception as I mentioned.
    public class Analyzer {
          public static void main(String args[]) throws Exception{
               InputStream fin = new FileInputStream(args[0]);
               int iSize = fin.available();
               byte mvIn[] = new byte[iSize];
               fin.read(mvIn,0,iSize);
               fin.close();
               String strText = new String(mvIn);
               PrintStream fout = new PrintStream(new FileOutputStream(args[0]+".csv"));
               fout.println("Before,After,Seconds");
               Pattern p = Pattern.compile("\\[(?:Full |)GC (\\d*)K->(\\d*)K\\(\\d*K\\), ([\\d.]*) secs\\]");
               Matcher m = p.matcher(strText);
               while(m.find()){
                    fout.println(m.group(1)+ "," + m.group(2) + "," + m.group(3));
               fout.close();
    }Hope this helps.
    Regards,
    Prabhu

  • BPEL Process Integration with CEP?

    Hi,
    I would like to integrate a BPEL Process which generates a continuous stream of data, with Oracle CEP application.
    The use case is that the continuous stream of data gets converted into events by the adapter in CEP application and these events get filtered based on some criteria in the Processor and then the filtered events will be pushed to POJO where my business logic to present this data on a HTML Dashboard is implemented.
    Please let me know the detailed steps in achieving this as I'm very new to this application.
    Appreciate your help!
    Best Regards,
    CC

    Hi,
    It sounds like you are off to a pretty good start. I would begin by creating the EPN using the eclipse tooling. The helloworld sample application contains an example of a simple custom adapter which is probably something you will need to create to connect CEP to BPEL. Or you could use JMS as a bridge between BPEL and CEP, as well.
    Hope that helps.
    Seth

  • Installing OCEP in Mac OS X

    h4. Here are the steps to install OCEP in a Mac OS X platform:
    h5. 1) Download generic installer to your local Mac OS X machine:
    Go to OCEP download web-site page: http://www.oracle.com/technetwork/middleware/complex-event-processing/downloads/index.html
    And select the AIX installer, as it is a generic one, and download it to your local Mac OS X platform.
    h5. 2) Fix your local JDK for the installer to be able to recognize it:
    Follow the instructions at http://docs.oracle.com/cd/E16764_01/install.1111/e13666/ojdig.htm#BDCFFEJC
    This can be summarized as the following (in my machine):
    cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/
    su root
    mkdir jre
    cd jre
    mkdir lib
    cd lib
    ln -s ../../../Classes/classes.jar rt.jar
    h5. 3) Start installer specifying OS name to avoid check size problem:
    java -Dos.name=unix -jar ofm_ocep_generic_11-1.1.1.4.0_disk1_1of1.jar
    When prompted by the installer, select the system JDK that you fixed in step 2.
    That should do it! Just keep in mind that Mac OS X is NOT a supported platform.

    I have managed to get the HelloWorld sample working by switching to the Oracle JDK 7. I downloaded and installed the new MacOS JDK from OTN. I edited the setDomainEnv.sh script to change the JAVA_HOME environment variable:
    JAVA_HOME="/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/"
    Added bonus is that the JVM and CEP now shuts down with a control-c, which it did not do before.
    Regards
    Martin

Maybe you are looking for

  • Create shipment from inbound IDOC SHPMNT05 ?

    Hello All, I would like to create an individual shipment when i receive from a partner an inbound IDOC. I'm using Message type SHPMNT, Basic Type SHPMNT05, Process Code: SHPM and testing in WE19 via FM IDOC_INPUT_SHPMNT. How can I start the creation

  • How to search text in pdf file?

    Hi all I have to store the cover of a newspaper that include images and text and then should be able to search keywords in the cover. I've read about to store in pdf format and use intermedia text. I am just wondering the way to store and to do the s

  • New IMAP mail not appearing in inbox

    I've been having trouble with new mail appearing in the inbox. Mail is set to check every minute, and the account is enabled. New mail will only appear in the inbox if I click on another mailbox and then re-select the inbox. It will also appear if i

  • CREDIT MEMO -FI DOC TYPE ISSUE

    HI I have issued credit memo(va01)  to customer ..then create billing doc (vf01) against cerdit memo..here automatic account release is there ..system has post the accounting doc .. agaist this invoce .. system alsways take FI doc type RV  has taken

  • EEWB enhancement destroyed BP_HEAD ??

    Hi there, I did an EEWB enhancement for the objecttype BUPA. I added some new fields and a table as assignementblock. I followed the steps explained in the SAP help and in SAP Note # 1069791. What happens now is that I get following dumps opening an