Java 3D Application With a Loaded Maya Scene

How Loaded Maya Scene in to Java 3D Application ?
when I run the application, I get "com.sun.j3d.loaders.ParsingErrorException: Unrecognized token, line 1" .
Please help me.
import com.sun.j3d.loaders.objectfile.ObjectFile;
import com.sun.j3d.loaders.ParsingErrorException;
import com.sun.j3d.loaders.IncorrectFormatException;
import com.sun.j3d.loaders.Scene;
import java.applet.Applet;
import java.awt.*;
import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.universe.*;
import com.sun.j3d.utils.geometry.ColorCube;
import javax.media.j3d.*;
import javax.vecmath.*;
import java.io.*;
public class A extends Applet{
public A() {
     setLayout(new BorderLayout());
GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
Canvas3D canvas3D = new Canvas3D(config);
add("Center", canvas3D);
BranchGroup scene = createSceneGraph();
scene.compile();
// SimpleUniverse is a Convenience Utility class
SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
// This moves the ViewPlatform back a bit so the
// objects in the scene can be viewed.
simpleU.getViewingPlatform().setNominalViewingTransform();
simpleU.addBranchGraph(scene);
} // end of ObjLoad (constructor)
     public BranchGroup createSceneGraph()
// Create the root of the branch graph
BranchGroup objRoot = new BranchGroup();
String filename = "D:/Maya/13.mb";
ObjectFile f = new ObjectFile();
Scene s = null;
try {
s = f.load(filename);
catch (FileNotFoundException e) {
System.err.println(e);
System.exit(1);
catch (ParsingErrorException e) {
System.err.println(e);
System.exit(1);
catch (IncorrectFormatException e) {
System.err.println(e);
System.exit(1);
objRoot.addChild(s.getSceneGroup());
return objRoot;
} // end of createSceneGraph method
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
Frame frame = new MainFrame(new A(), 500, 500);
}

My guess is that you are using the ObjectFile loader, which is for a (don't remember which application) object (.obj) file, rather than using a 3ds loader, which would be for loading a .3ds file.
You might want to go to this page: http://www.j3d.org/utilities/loaders.html and download the correct loader.

Similar Messages

  • How to launch a Java WebStart application with older JREs when Java 7u25 is on the client?

    How can I launch older versions of my Java WebStart application, that are built and run with Java 7u21 or earlier, even if Java 7u25 is installed locally on the client? Application launch and behaviour must be reliable and consistent.
    Background:
    As of 7u25 (and later), Java Webstart applications launch with a different class loader than pre-7u25.
    My Java Webstart application has supported versions that were built with older versions of the JDK (e.g. Java 5, 6, 7u21 or earlier). These applications run with their required JRE version, enforced through JNLP. Once Java 7u25 is installed locally, these older applications fail to launch, due to classloader differences.
    The question is: what is required to run older Java WebStart applications even if 7u25 (or later) Java Webstart is installed locally on the client?

    I confirm your findings when using shortcuts to try specific versions of JavaWS with 7u25 or later installed:
    JRE 5u14 launched and the classloader was as pre 7u25
    JRE 6u43 would not launch
    JRE 7u21 launched but the classloader was not as pre 7u25
    You can launch the shortcut with the JavaWS -verbose option to display a messagebox with valuable information.
    I am keeping a close watch on this thread.

  • Build applications with dynamic loaded subVI's as dll

    I want to build an application with some subVI's. The target would be to have an *.exe from the topVI and a seperate file for every subVI (I suppose this will then be a *.dll file)
    The topVI uses the "call by reference node" with a "type specifier VI refnum" reference.
    The path of the subVI's is read from a textfile and the subVI's are called dynamicly, all subVI's have the same connector layout.
    Until now I was not able to generate a *.exe file wich is able to dynamicly call subVI's which are not included in the *.exe file (I tried with *.vi, *.llb and *.dll versions of the subVI's).
    Building this application with all subVI's included in the *.exe is no problem and works fine, but is not what I want.
    The target would be to have the possibility to update only some subVI's without the need to build the whole application again.
    This way of working would increase the flexibility to have different combinations of versions a lot.
    I am using LV8.2.
    Is my question anyway possible and if yes can somebody tell me how?
    Thanks!

    Hello,
    A SubVI is actually what you call a sub-routine in text-based programming languages.
    So when you build an executable from a VI with SubVI's, it will simply build everything into one exe file.
    That's normal behaviour.
    If you would like to use dll's for flexibility, than you have to build VI's seperately for every dll you want to build.
    These dll's can than be called from within you main application executable.
    This practice is often used by system integrators to protect there code otherwise than a larger executable, but mainly because of easy maintenance.
    That is what I think you are also looking at.
    So what you would like to do is perfectly possible and common practice, you may only have to change your top view of the actual application.
    Best regards,
    Joeri
    National Instruments
    Applications Engineering
    http://www.ni.com/ask
    Make our forums great:
    If you like the answer, don't forget to "Kudos!".
    "Accept the Solution" if your question is answered!

  • Unable to launch Java Swing application with JSE 5.0

    Hi,
    we have a swing appln that gets downloaded via java webstart - which was working fine with 1.4.x until 5.0 came. I know that JSE 5.0 includes java webstart too - but when I start my application, I get Marshal error & filenotfound Exception. What we are doing in the application is to download some XML files that are to be used by the program. But the program is unable to find the files.
    If I manually install 1.4.x & Web Start separately, everything works fine.....
    Is there any change needed in the JNLP file?
    TIA

    Hi there,
    Here's the issue:
    I have modified our web page that helps the user download the swing appln - as per the guidelines given in the web site:
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/launch.html
    Let's say that I already have JRE 1.4x & JWS installed on my m/c. When I visit our web page that downloads / starts the client application, I get an error:
    Java Web Start : Invalid Argument Error.
    General
    An error occurred while launching/running the application.
    Category: Invalid Argument error
    Could not load file/URL specified: http://myserver:8080/testdev/app/testb.jnlp
    Exception
    CouldNotLoadArgumentException[ Could not load file/URL specified: http://myserver:8080/testdev/app/testb.jnlp]
         at com.sun.javaws.Main.main(Unknown Source)
    Wrapped Exception
    java.io.IOException: Service Unavailable : http://myserver:8080/testdev/app/testb.jnlp
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.main(Unknown Source)
    If I uninstall JRE 1.4+ & etal - JRE 5.0 gets downloaded and everything works smooth. But I need to take care of backward compatibility... Hence this post....
    BTW, the JNLP file looks like:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="$$codebase"
         href="testb.jnlp">
    <information>
    <title>Test Application</title>
    <vendor>TP</vendor>
    <homepage href="help.htm"/>
    <description>TEST Application using Java Web Start </description>
    <description kind="short">TEST Application.</description>
    <icon href="logocropped.jpg"/>
    <icon kind="splash" href="logocropped.jpg"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.4+"/>
    <jar href="bars.jar" part="lpc" />
    <jar href="castor-0.9.4.3.jar" part="lpc" download="eager" />
    <jar href="xercesImpl.jar" download="eager"/>
    <jar href="xmlParserAPIs.jar" download="eager"/>
    <jar href="bsh-1.2b6.jar" download="eager"/>
    <jar href="gnujaxp.jar" download="eager"/>
    <jar href="itext-0.99.jar" download="eager"/>
    <jar href="jcommon-0.8.2.jar" download="eager"/>
    <jar href="junit.jar" download="eager"/>
    <jar href="pixie-0.8.0.jar" download="eager"/>
    <jar href="BarsUtil.jar" download="eager"/>
    </resources>
    <application-desc main-class="bars.Bars"/>
    <security>
    <all-permissions/>
    </security>
    </jnlp>
    Is there a version incompatibility issue that I need to take care of ?
    TIA for any help/direction......

  • Java Web application with SSO cookie

    Hello All,
    We are having a web-Java application which is interacting with SAP-Web As and then calling RFC'c to get data from backend.
    My scenario should get user name and password from the MYSAPSSO2 cookie generated by the server.
    There are few issues with the application.
    1)When I am launching the application from my browser , a small pop up comes up "The server at Upload Protected area requires a user name and password".When I am providing the user name which is existing on my Java and ABAP stack ,its saying  "403   Forbidden :You are not authorized to view the requested resource."
    But when I am logging in with super user j2ee_admin, its allowing me to enter the application.
    Please let me the what settings are required for my user on the server to bypass this small window of protected area.
    2) Do we have any option to generate MYSAPSSO2 cookie programmatically ?
    3) Do we have any option to modify /add username in existing MYSAPSSO2 cookie?
    Thanks & Regards,
    Abhivyakti
    Edited by: Abhivyakti Srivastava on Jun 17, 2011 8:27 AM

    sorry,I 've got this:
    http://sourceforge.net/forum/forum.php?thread_id=1731549&forum_id=399715
    The problem is solved!
    forget my question...Thanks a lot!

  • Java WebStart application fails to load when cache is disabled.

    We have a problem with our application when using the latest version of Java (Update 20). We a lanching a jnlp file using Java WebStart.
    Until to the early release Update 21 b05, we had the following exception:
    java.lang.NullPointerException
         at java.util.jar.JarVerifier.mapSignersToCodeSource(Unknown Source)
         at java.util.jar.JarVerifier.mapSignersToCodeSources(Unknown Source)
         at java.util.jar.JarVerifier.getCodeSources(Unknown Source)...
    Which was fixed with the following bug resolution: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6943522
    Now with that latest version that initial problem got resolved, but a new one appeared. The problem described below, only appears when the "Java Cache"
    of the control panel is disabled. We tested all the following scenarios:
    - Cached data cleaned / Cache enabled: Works
    - Cached data / Cache enabled: Works
    - Cached data cleaned / Cache disabled -> Exception
    - Cached data / Cache disabled -> Exception
    * We have already check the signature of the resource manually and it is correctly signed.
    * We have checked the jnlp with JaNeLA, and it's good.
    * No matter what we change, every time Java Cache is disabled, we get the exception.
    The exception thrown is the following:
    com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://server/resource.jar
         at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(SigningInfo.java:405)
         at com.sun.javaws.security.SigningInfo.check(SigningInfo.java:291)
         at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1738)
         at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1508)
         at com.sun.javaws.Launcher.prepareResources(Launcher.java:1231)
         at com.sun.javaws.Launcher.prepareAllResources(Launcher.java:620)
         at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:326)
         at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:198)
         at com.sun.javaws.Launcher.launch(Launcher.java:115)
         at com.sun.javaws.Main.launchApp(Main.java:417)
         at com.sun.javaws.Main.continueInSecureThread(Main.java:249)
         at com.sun.javaws.Main$1.run(Main.java:111)
         at java.lang.Thread.run(Thread.java:619)
    Can someone give any light on this issue?
    For me it look very clearly like another bug related the first fix, but I wanted to pop the question here first.
    For now we are recommending our customers, to keep with Java Update 18 (Last working version),
    but it's becoming a bigger issue, since more and more customers are trying to update to the latest version.
    Regards.

    lizaro wrote:
    ..Can someone give any light on this issue?
    For me it look very clearly like another bug related the first fix, but I wanted to pop the question here first.Normally I would ask a lot of questions and demand more evidence before thinking of agreeing to such an assessment, but you seem to have put in the research needed to cover most of that.
    There were some recent (last month or three) reports of broken cache management, but AFAIR they were supposed to be fixed by update _20. Try update _21, and if that does not resolve the issue, raise a bug report with Sun.

  • Integrating a Java web application into the SAP NetWeaver Portal

    Hello experts,
    We have a requirement to integrate a Java based web application into the SAP NetWeaver Portal using iView/iFrame technology. The Java based web application is completely independent from the SAP environment but should be displayed as part of the SAP Portal environment. The other requirement is the main navigation menu for the Java based web application should be configured and provided in the SAP Portal.
    Any pointers on how exactly this can be done would be of great help.
    Also how can the SSO (Single-Sign-On) to the Java application be implemented so that the user can logon to the java application through the portal without providing the user credentials again.
    Thanks in advance.

    Hi,
    I think you can use URL iviews to integrate your java web application with EP. you have the option of doing SSO with the application as well.
    Have a look at the sap help material
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/eb51730e6a11d7b84900047582c9f7/frameset.htm
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CreateURLiviewintotheSAPEP+portal
    Regards,
    Ganesh N

  • Use Sun Java Studio 2 with Existing Java Application

    I have started using Sun Java Studio 2 and having fun and little difficulty creating a new Java web application from scatch. My question is where do I find information on Java Studio configuration to allow Java Studio to load up and modify Java server pages/forms in an existing Java application that I did not write?
    The Java application has been created with Javabeans and using BEA Weblogic version 7, with a SQL-Server 2000 database backend.
    Below is a bit of code out of one of the main Java forms.
    <%@ page buffer="256kb" autoFlush="false" errorPage="../../common/system/error.jsp"
    import="psdi.jsp.beans.*, psdi.jsp.common.*, psdi.jsp.app.wotrack.*, psdi.jsp.util.* , psdi.mbo.* , psdi.util.* "%>
    I have looked around and have not found what I need to setup in Java Studio to allow me to load up a form and view it in the Visual designer, I keep getting errors on the psdi. references and cannot load up any pages.
    I see on the server install ia folder under the main root <DIR> called <apps>, and inside the <apps> folder is a folder called <jsp> and in the <jsp> folder are sub folders for each main module within the application with all the related .jsp files. I have been manually editing the .jsp files using Windows Notpad and saving the changes. Then I rebuild the .ear file and my changes work fine. Since I have a lot of changes to make there has to be a better way than using Notpad.
    My hope is somewhere is a point-by-point document on what to so I can use Sun Java Studio 2 to make my changes in a visual IDE.
    Any assistance would really be appreciated.

    Hi Giri,
    Yep, this I know,b ut when I do I get errors messages and am looking for some form of point-bypoint instuction that better explains how to setup up custom libraries in Sun Java Studio, custom tags, etc.

  • Will you help me with troubleshooting why my applications are not loading and why I'm getting so many fork failures?

    I have an iMac, 2.5Ghz i5, 12GB RAM, OSX 10.8.4. Things were working fine, but recently I had to install Java (I had to avert my eyes) because it was needed to use a certain web site. This seemed to be the beginning of my problems, but they were easily fixed by repairing permissions. I typically leave my iMac running until recently I noticed applications weren't loading, but by repairing permissions everything seemed to return to normal.
    Then I had to use tech support from another company for a diffferent issue. The techy used GoToAssist Customer so he could access my desktop remotely. The problems began to show up more often. Lots of fork failures and spinning beach balls, and applications weren't launching. Consequently, I logged into a guest account to see if the problems existed in that account - and they didn't, everything worked fine, like a new machine. I have repaired permissions until I'm blue in the face - I even resorted to using Onyx, but that didn't help.
    I have since removed Java (I wonder if I should remove GoToAssist), but the problems seem to be getting worse (not better). Before I resort to performing a clean re-install of Mountail Lion (and the headaches that it causes) I thought I would reach out to the community to see if anyone has any suggestions. I have got to do something fairly quickly, I need my machine working tomorrow. I wil be so grateful if you can help me. Luckily, I have ML on a thumb drive so a clean install won't take so long, but I also use Windows 7 with Parallels, which makes it a pretty major hassle. Does anyone have any suggestions?

    You can try these steps in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Import and process larger data with SQL*Loader and Java resource

    Hello,
    I have a project to import data from a text file in a schedule. A lager data, with nearly 20,000 record/1 hours.
    After that, we have to analysis the data, and export the results into a another database.
    I research about SQL*Loader and Java resource to do these task. But I have no experiment about that.
    I'm afraid of the huge data, Oracle could be slowdown or the session in Java Resource application could be timeout.
    Please tell me some advice about the solution.
    Thank you very much.

    With '?' mark i mean " How i can link this COL1 with column in csv file ? "
    Attilio

  • Apache,IIS integration with Sun Java System Application Server

    Hi,
    Is any one know the way to connect Sun Appserver with IIS and Apace server.
    Edited by: shiju707 on Oct 10, 2007 8:22 PM

    I'm also looking at the same solution of how to configure IIS as the front end for the Sun Java System Application Server 9.1. I went though the following document from Sun, but still unable to configure the IIS as the front end of the application server.
    http://docs.sun.com/app/docs/doc/819-3679/abdhq?a=view
    After i have configured the IIS, the ISAPI filter shown the status down for the Sun Load balancer plugin.
    Did anyone have any idea of how can i configure IIS to working the Sun Java System Application Server 9.1?

  • Compiling application (with several sub-packages) from another java app

    Hi,
    I'm writing my own build tool and need to be able to compile an external application (pulled from cvs, subversion, ...) from within this build tool.
    Probably I need to use com.sun.tools.javac.Main.compile ?
    But how do I pass classpath, output dir, etc to this class and how can I make it compile all files in all (sub)packages of the given folder ?
    thanks for any help.

    Never mind my previous post, I found a solution to the "the input line is too long" problem:
    Putting all the files in a temporary file and then providing that file as the source to compile, like this:
    javac -g:none -cp <classpath> -d classes @sourcefiles.txtwhere sourcefiles.txt is the name of the temporary file that contains the names of the source files (note the "@"-prefix)
    For some reason, this is not mentioned/documented in the java docs (at least not in my docs)
    Ok, so everything is compiling now, but I have one problem remaining:
    For each "module" that I compile (the application I use for my tests consists of several "modules", i.e. subpackages), I get an error stating that "The system cannot find the path specified"
    This seems obvious, because it is trying to write a file <package-name>\classes\<package-name>\<classname>.class
    But why is it trying to write that file ?
    -> Is this a known bug or something ?
    Let me explain a little more...
    For each compilation I do using the com.sun.tools.javac.Main.compile() method, it is giving this error.
    Everything is compiling correctly, but it seems it is trying to write an extra class file to a wrong path.
    Until now, it was always the first file in the row that gave the problem.
    Example:
    ** module 1:
    sources/com/example/module1/class1.java
    sources/com/example/module1/class2.java
    sources/com/example/module1/class3.java
    sources/com/example/module1/sub1/subclass1.java
    sources/com/example/module1/sub1/subclass2.java
    sources/com/example/module1/sub1/subclass3.java
    ** module 2:
    sources/com/example/module2/class1.java
    sources/com/example/module2/class2.java
    sources/com/example/module2/class3.java
    sources/com/example/module2/sub1/subclass1.java
    sources/com/example/module2/sub1/subclass2.java
    sources/com/example/module2/sub1/subclass3.java
    => My application will compile module 1, do some other things with it and the module 2 and again do some other things with it.
    The result would be:
    Application started.
    Loading configuration: OK
    Compiling sources for module module1: E:\temp\_User_\project\packaging\workingdir\source\com/example/module1\class1.java:12: error while writing com.example.module1.class1: com\example\module1\classes\com\example\module1\class1.class (The system cannot find the path specified)public class class1 extends Thread {
           ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error
    OK
    Note: Contents of my classes directory for module1:
    classes/com/example/module1/class1.class
    classes/com/example/module1/class2.class
    classes/com/example/module1/class3.class
    classes/com/example/module1/sub1/subclass1.class
    classes/com/example/module1/sub1/subclass2.class
    classes/com/example/module1/sub1/subclass3.class
    => all class files are correctly compiled
    Compiling sources for module module2: E:\temp\_User_\project\packaging\workingdir\source\com/example/module2\class1.java:12: error while writing com.example.module2.class1: com\example\module2\classes\com\example\module2\class1.class (The system cannot find the path specified)public class class1 extends Thread {
           ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error
    OK
    Application finished without errors.
    Note: Contents of my classes directory for module2:
    classes/com/example/module2/class1.class
    classes/com/example/module2/class2.class
    classes/com/example/module2/class3.class
    classes/com/example/module2/sub1/subclass1.class
    classes/com/example/module2/sub1/subclass2.class
    classes/com/example/module2/sub1/subclass3.class
    So, as you can see everything compiles as expected, but an error message is displayed related to each first file that is compiled.
    ==> Is this a known issue ?
    ==> What can I do about it ?
    Suggestions welcome

  • Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Sorry for the late reply. My email firewall has become a little over zealous & sent a lot of my emails straight to my junk email folder, so I have only just now discovered your reply in my junk mail folder.
    The only "don't open files exceeding xxx megabytes" instruction I can find in my Prefs, is in the Bridge Prefs for Thumbnails, & mine is set at 1000mb. The biggest files I handle are bigger than 200mb so I should be able to open a few, not just one.
    However, this doesn't explain why I can open a psd format file of 180mb, close it, but then can't open a RAW format file of only 26mb immediately after.
    I can open the RAW file only if I restart my computer - very annoying!
    However, thanks for the advice about the video card & memory.
    So, I'm still stuck as to what the issue is.

  • Regarding Sun Java System Application Server Issue with JVM

    Regarding Sun Java System Application Server Issue with JVM
    Hi
    I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
    PWC6199: Generated servlet error:
    [javac] javac: invalid target release: 1.5
    [javac] Usage: javac
    [javac] where possible options include:
    [javac] -g Generate all debugging info
    [javac] -g:none Generate no debugging info
    [javac] -g:{lines,vars,source} Generate only some debugging info
    [javac] -nowarn Generate no warnings
    [javac] -verbose Output messages about what the compiler is doing
    [javac] -deprecation Output source locations where deprecated APIs are used
    [javac] -classpath Specify where to find user class files
    [javac] -sourcepath Specify where to find input source files
    [javac] -bootclasspath Override location of bootstrap class files
    [javac] -extdirs Override location of installed extensions
    [javac] -d Specify where to place generated class files
    [javac] -encoding Specify character encoding used by source files
    [javac] -source Provide source compatibility with specified release
    [javac] -target Generate class files for specific VM version
    [javac] -help Print a synopsis of standard options
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
    I have cheked jvm version on both system the only difference is :
    Solaris points to jdk 1.5.0_09
    Windows point to jdk1.5.0_05
    Even i tried to run blank jsp also but again i got the same error.
    Can any help me to sort out the problem or give me any idea so i can do something by my own.
    Thanks in Advance
    Gagan

    Do you have ANT installed and available?
    Thanks,
    Kedar

  • Implementing SQL Server Reporting Services with a Java EE Application

    Hi All,
    I need to find some tutorial on
    "Implementing SQL Server Reporting Services with a Java EE Application"
    for my j2EE application.
    Until now i have searched a lot of sites but have not any thing related to this topic.
    I am using apache axis along with SQL Server Report Manager for creating the sql server reports.
    I have done upto :
    Creating the webservice with the help of report manager.
    Now i want to connect it through my j2EE application and want to retrieve some data from that web service.
    I have got stuck on the following BOLD lines in my code .
    code:
    public CatalogItem[] getData(String res, String searchStr) throws RemoteException     {
                  ReportingService2005Soap port = null;
                  ReportingService2005Locator loc = new ReportingService2005Locator();
                  // Retrieve a port from the service locator
                  try {
                       port = loc.getReportingService2005Soap(new java.net.URL(res));
                  } catch (MalformedURLException e) {
                       // TODO Auto-generated catch block
                       e.printStackTrace();
                  } catch (ServiceException e) {
                       // TODO Auto-generated catch block
                       e.printStackTrace();
                  org.apache.axis.client.Stub stub = (org.apache.axis.client.Stub) port;
                  stub.setUsername("localhost\\Administrator");
                  stub.setPassword("servWIN@2007");
                  // Retrieve a port from the service locator
                  SearchCondition condition = new SearchCondition();
                  condition.setCondition(ConditionEnum.Contains);
                  condition.setName("Name");
                  if (searchStr != null)
                  condition.setValue(searchStr);
                  else
                  condition.setValue("");
        //           Create an array of SearchConditions which will contain our single search condition
                  SearchCondition[] conditions;
                  conditions = new SearchCondition[1];
                  conditions[0] = condition;
        //           Call the Web service with the appropriate CatalogItem[] returnedItems;
                  CatalogItem[] returnedItems = null;
                  port.findItems("foldername",BooleanOperatorEnum.Or, conditions);
                  return returnedItems;
             }i.e. while executing the findItems() method i got the following exception :
    System.Web.Services.Protocols.SoapException: The item '/reportingservices' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/reportingservices' cannot be found.
    at Microsoft.ReportingServices.Library.RSService.FindItems(String folder, String operation, SearchCondition[] properties)
    at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.FindItems(String Folder, BooleanOperatorEnum BooleanOperator, SearchCondition[] Conditions, CatalogItem[]& Items)
    Any any body has any idea please help me.
    I need it urgently.
    Regards.

    The above example is mentioned in msdn virtual lab that teaches how to connect to reporting services from a j2ee application.
    I have done the same thing .. but i am not able to render the report programmatically .. if anybody knows pls let me know the solution.

Maybe you are looking for

  • UBLR dosen´t work in an interfaces trunk?

    I´m configuring Aggregate policer in a Sup720-3B, I need to configure Aggregate Policer in a Trunk interfaces, It´s required to limit the bandwidth for vlan to L2 through an interface trunk, between two catalyst.  But it´s dosen´t work. The configura

  • Serie's Name in Hints on 2D Flash Chart

    Hello, I would like to have the name of the series in the Hints of a chart, with name and Value. I saw in the XML the following line: <text><![CDATA[{NAME}, {VALUE}]]></text> But I have no idea about what to add??? In advance, many thanks, Fred

  • Changed iTunes password, can't access purchased programs

    I changed my iTunes password and now I can't access all the TV shows I purchased. I tried using the old password but that didn't work. Perhaps I made a mistake but I don't want to loose all the stuff I'd bought. Any suggestions?

  • Difference between operational systems datamodelling & datawarehouse model

    »     An understanding of the differences between operational systems data modeling and data warehouse data modeling.

  • Help having program sleep during execution

    Hello, I am writing a program in which alot of data is being displayed, but I want to slow down the speed of the text so it can be viewed. (Like sports commentary, play by play) I tried using a thread (perhaps incorrectly, as a thread doesn't seem ne