Annoying-as-hell 'wrong name' error

Hi all,
Okay, so I've got a Java app that compiles fine (ProxyTool.class), and works fine in Eclipse... but when I try to call it from the command-line (java ProxyTool), I'm getting this un-useful and un-helpful error: java.lang.NoClassDefFoundError: ProxyTool (wrong name: test/sys/ProxyTool).
I then attempt to do java /test/sys/ProxyTool, and I get java.lang.NoClassDefFoundError test/sys/ProxyTool.
Can someone please just tell me what I need to run this g*ddamn app? This is driving me nuts.

mracuraintegra wrote:
I had run the previous command from the package root - I simply thought I had to give a full path to the .class files. Simply using "bin" instead of the full path worked.Of course it worked, that's what I told you to do in the first place.
I completely understand (I think) the concept of a package as a logical container. I am completely baffled as to why it is this finicky in Java. I'm assuming the .NET equivalent is a namespace, and it's not nearly this termpermental!It is not finicky, you were just doing random stuff instead of reading the documentation on how packages work.
http://java.sun.com/docs/books/tutorial/java/package/managingfiles.html

Similar Messages

  • Wrong Name Error

    Hi,
    I created a package in eclipse with 3 .java files under it.
    In each of the three java files I have included the "package testpackage;" clause at the top.
    My first 2 files (lets call them one.java and two.java) is referenced in three.java, thus I use the import statement for both one and two in three.java.
    After I compile all 3 successfully in Eclipse, I go to the command line, to the specific directory (testpackage) and run: java one, but I get the message:
    NoClassDefFoundError: 1 (wrong name: testpackage/one)
    What is wrong?

    I found that you need to be in the PACKAGE directory when you execute the "java" command, not the directory containing the .class file(s). For example, if you have the following statement in your java program:
    package buServer;
    Your .class files (BUreceiver.class in my case) will reside in a directory named buServer. You need to be in the directory ABOVE the one that contains your class files (the package directory) and execute the program as shown below:
    java buServer/BUreceiver
    The above assumes that the current directory is in your CLASSPATH or is given by the " -cp ." on the java command line.
    The basic problem, I think, is that CLASSPATH points to directories that are supposed to contain .class files. When you use a package, you have to give the fully quallified name of the class with a root beginning in one of the directories in the CLASSPATH. In my case, the "package" statement says my class should be in a <CLASSPATH>\buServer\ directory. When I was in the buServer directory (containing my .class files) and added it to the CLASSPATH, there was no <CLASSPATH>\buServer\ directory, since the buServer\ directory was inside CLASSPATH. However, when I tried to execute it without qualifying it with the "buServer", it saw the package statement in the class file that was there and gave me the "wrong name" error.
    Another solution would have been to take out the package statement from the program.

  • Wrong name: error with Tomcat

    hello, I'm running Tomcat on Debian Sarge and I'm getting the following error:
    java.lang.NoClassDefFoundError: com/bluewolf/BlueWolf (wrong name: BlueWolf)
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1629)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Thread.java:595)
    The name of my servlet is BlueWolf. I have defined my servlet in my web.xml like so:
    <!-- servlet definitions -->
    <servlet>
    <servlet-name>BlueWolf</servlet-name>
    <servlet-class>com.bluewolf.BlueWolf</servlet-class>
    </servlet>
    <!-- define mappings -->
    <servlet-mapping>
    <servlet-name>BlueWolf</servlet-name>
    <url-pattern>/BlueWolf</url-pattern>
    </servlet-mapping>
    I've tried searching for this error but there were no fixes I found that helped my situation. Can anyone please help me out? If any more information is needed please let me know.
    Thanks!

    Okay, I made a simpler web application. I have:
    index.html
    WEB-INF/
    my WEF-INF directory looks like:
    classes/
    lib/
    web.xml
    my only servlet is WEB-INF/classes/com/servTest.class
    I defined the servlet in my web.xml like this:
    <!-- Name to Java class mapping -->
    <servlet>
    <servlet-name>servTest</servlet-name>
    <servlet-class>com.servTest</servlet-class>
    </servlet>
    <!-- Name to URL mapping -->
    <servlet-mapping>
    <servlet-name>servTest</servlet-name>
    <url-pattern>/servTest</url-pattern>
    </servlet-mapping>
    However, I still get the same error (NoClassDefFoundError .... wrong name: servTest blah blah)
    I am trying to access the servlet by the url http://localhost:8080/servTest/servTest and I've also tried http://localhost:8080/servTest/com.servTest. I also tried linking to it in my index via a form with action="servTest". I've also tried action="com.servTest" however I still can't seem to get past this wrong name error. However, I can create servlets fine without trying to use packages (i.e. if i place .class files directly in WEB-INF/classes), but I would really like to have packages working. Can anyone see any potential errors? thanks!

  • Wrong name error if I mess up url string case

    Hi:
              I have a url as the following: http://localhost:7001/APP/a.jsp. If I
              close browser and type it as lower case url
              http://localhost:7001/app/a.jsp later time, it will cause a null pointer
              exception(wrong name error). Is the url case sensitivity problem been
              fixed by any service pack.
              Thanks,
              David
              

    Okay, I made a simpler web application. I have:
    index.html
    WEB-INF/
    my WEF-INF directory looks like:
    classes/
    lib/
    web.xml
    my only servlet is WEB-INF/classes/com/servTest.class
    I defined the servlet in my web.xml like this:
    <!-- Name to Java class mapping -->
    <servlet>
    <servlet-name>servTest</servlet-name>
    <servlet-class>com.servTest</servlet-class>
    </servlet>
    <!-- Name to URL mapping -->
    <servlet-mapping>
    <servlet-name>servTest</servlet-name>
    <url-pattern>/servTest</url-pattern>
    </servlet-mapping>
    However, I still get the same error (NoClassDefFoundError .... wrong name: servTest blah blah)
    I am trying to access the servlet by the url http://localhost:8080/servTest/servTest and I've also tried http://localhost:8080/servTest/com.servTest. I also tried linking to it in my index via a form with action="servTest". I've also tried action="com.servTest" however I still can't seem to get past this wrong name error. However, I can create servlets fine without trying to use packages (i.e. if i place .class files directly in WEB-INF/classes), but I would really like to have packages working. Can anyone see any potential errors? thanks!

  • SQL Injection Produces "Wrong Name" Errors

    Hi all,
    By now, you're familiar with the SQL Injection attacks
    floatin' around out there, but what has me puzzled is how my
    ColdFusion servers are responding to them. For each SQL Injection
    attempt, CF throws an application error; this is from my
    APPLICATION.LOG:
    "Error","jrpp-953","09/19/08","13:27:04",,"Application (wrong
    name: com/ms/asp/Application) The specific sequence of files
    included or processed is: D:\MySite\web\product.cfm "
    I've seen others complaining about this on ColdFusion MX 6,
    ColdFusion MX 7 and ColdFusion 8, but every discussion terminates
    mysteriously without a solution. It's an evil conspiracy....
    Any help is greatly appreciated.

    Hello,
    Were you able to solve this problem and how?
    Thanks

  • Error building project using kXML2 - "Class loading error: Wrong name"

    Hi,
    I'm testing the XML-Parser KXML2 and downloaded the latest package, but the minimal version (kxml2-min.zip). I put this file into the directory "%j2mewtk%\apps\KxmlTest\lib" and wrote the lines
    import org.kxml2.io.*;
    import org.xmlpull.v1.*;
    When I try to build the project with the Wireless Toolkit (v1.04) it spits out the following error:
    Error preverifying class kxml2.io.KXmlParser
    Class loading error: Wrong name
    com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
    Build failed
    I also tried the full package "kxml2.zip" but the same error occurs.
    How can I get rid of this? Thanks in advance!

    Okay, finally worked it out (hopefully). I unpacked the archive to a directory (say "%J2MEWTK%\apps\KxmlTest\tmpclasses") and then preverified them "manually":
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.kxml2.io.KXmlParser
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.xmlpull.v1.XmlPullParser
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.xmlpull.v1.XmlPullParserException
    Then I packed them again to a jar-file:
    %J2SDK%\bin\jar.exe -cvf kxml2-min.jar %J2MEWTK%\apps\KxmlTest\tmpclasses\output\.
    That was all!

  • Error - Caused By: java.lang.NoClassDefFoundError: t : T (wrong name t)

    I am getting below error when the weblogic server starts. Can somebody help on this.
    DS (XreferenceDB) creation was successful but could not test (Not available in Testing tab).
    ####<Jul 3, 2012 7:18:14 PM IST> <Error> <Deployer> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323294981> <BEA-149231> <Unable to set the activation state to true for the application 'XreferenceDB'.
    java.lang.NoClassDefFoundError: t : T (wrong name t)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:101)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.rmi.internal.GenericMethodDescriptor.getActualClassName(GenericMethodDescriptor.java:216)
         at weblogic.rmi.internal.GenericMethodDescriptor.access$100(GenericMethodDescriptor.java:19)
         at weblogic.rmi.internal.GenericMethodDescriptor$TypeParameter.<init>(GenericMethodDescriptor.java:250)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseParams(GenericMethodDescriptor.java:111)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseGenericParameter(GenericMethodDescriptor.java:151)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseParams(GenericMethodDescriptor.java:109)
         at weblogic.rmi.internal.GenericMethodDescriptor.computeGenericMethodSignature(GenericMethodDescriptor.java:75)
         at weblogic.rmi.internal.GenericMethodDescriptor.computeGenericMethodSignature(GenericMethodDescriptor.java:46)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.initRemoteMethods(BasicRuntimeDescriptor.java:715)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.initializeRuntimeDescriptor(BasicRuntimeDescriptor.java:244)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:155)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:139)
         at weblogic.rmi.internal.DescriptorManager.createRuntimeDescriptor(DescriptorManager.java:106)
         at weblogic.rmi.internal.DescriptorManager.getBasicRuntimeDescriptor(DescriptorManager.java:85)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:51)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:37)
         at weblogic.rmi.internal.OIDManager.makeServerReference(OIDManager.java:194)
         at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:175)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceRemote(RemoteObjectReplacer.java:120)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:103)
         at weblogic.rmi.extensions.server.ServerHelper.replaceAndResolveRemoteObject(ServerHelper.java:403)
         at weblogic.jndi.internal.WLEventContextImpl.copyObject(WLEventContextImpl.java:381)
         at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:276)
         at javax.naming.InitialContext.bind(InitialContext.java:400)
         at weblogic.jdbc.common.internal.JDBCUtil.bindDeeply(JDBCUtil.java:147)
         at weblogic.jdbc.common.internal.JDBCUtil.bindAll(JDBCUtil.java:85)
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:394)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:157)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ###<Jul 3, 2012 7:18:15 PM IST> <Info> <Common> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323295059> <BEA-000626> <Free resources in pool "mds-owsm" will be tested every "300" seconds.>
    ####<Jul 3, 2012 7:18:15 PM IST> <Info> <JDBC> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323295075> <BEA-001124> <Created Connection Pool named mds-owsm.>
    ####<Jul 3, 2012 7:18:15 PM IST> <Info> <JDBC> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323295122> <BEA-001174> <Creating Data Source named mds-owsm, JNDI Name = jdbc/mds/owsm.>
    ####<Jul 3, 2012 7:18:15 PM IST> <Error> <Deployer> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323295122> <BEA-149231> <Unable to set the activation state to true for the application 'mds-owsm'.
    java.lang.NoClassDefFoundError: t : T (wrong name t)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:101)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.rmi.internal.GenericMethodDescriptor.getActualClassName(GenericMethodDescriptor.java:216)
         at weblogic.rmi.internal.GenericMethodDescriptor.access$100(GenericMethodDescriptor.java:19)
         at weblogic.rmi.internal.GenericMethodDescriptor$TypeParameter.<init>(GenericMethodDescriptor.java:250)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseParams(GenericMethodDescriptor.java:111)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseGenericParameter(GenericMethodDescriptor.java:151)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseParams(GenericMethodDescriptor.java:109)
         at weblogic.rmi.internal.GenericMethodDescriptor.computeGenericMethodSignature(GenericMethodDescriptor.java:75)
         at weblogic.rmi.internal.GenericMethodDescriptor.computeGenericMethodSignature(GenericMethodDescriptor.java:46)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.initRemoteMethods(BasicRuntimeDescriptor.java:715)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.initializeRuntimeDescriptor(BasicRuntimeDescriptor.java:244)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:155)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:139)
         at weblogic.rmi.internal.DescriptorManager.createRuntimeDescriptor(DescriptorManager.java:106)
         at weblogic.rmi.internal.DescriptorManager.getBasicRuntimeDescriptor(DescriptorManager.java:85)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:51)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:37)
         at weblogic.rmi.internal.OIDManager.makeServerReference(OIDManager.java:194)
         at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:175)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceRemote(RemoteObjectReplacer.java:120)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:103)
         at weblogic.rmi.extensions.server.ServerHelper.replaceAndResolveRemoteObject(ServerHelper.java:403)
         at weblogic.jndi.internal.WLEventContextImpl.copyObject(WLEventContextImpl.java:381)
         at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:276)
         at weblogic.jdbc.common.internal.JDBCUtil.bindDeeply(JDBCUtil.java:147)
         at weblogic.jdbc.common.internal.JDBCUtil.bindAll(JDBCUtil.java:85)
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:394)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:157)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: 944382 on Jul 4, 2012 2:34 AM

    Error while creating and saving the DS...
    ####<Jul 3, 2012 7:18:13 PM IST> <Info> <JDBC> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323293059> <BEA-001517> <Connection Pool "XreferenceDB" using Driver: "Oracle JDBC driver", Version: "11.1.0.7.0-Production".>
    ####<Jul 3, 2012 7:18:14 PM IST> <Info> <Common> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323294856> <BEA-000628> <Created "1" resources for pool "XreferenceDB", out of which "1" are available and "0" are unavailable.>
    ####<Jul 3, 2012 7:18:14 PM IST> <Info> <JDBC> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323294856> <BEA-001124> <Created Connection Pool named XreferenceDB.>
    ####<Jul 3, 2012 7:18:14 PM IST> <Info> <JDBC> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323294903> <BEA-001174> <Creating Data Source named XreferenceDB, JNDI Name = Xreference.>
    ####<Jul 3, 2012 7:18:14 PM IST> <Error> <Deployer> <PC165237> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1341323294981> <BEA-149231> <Unable to set the activation state to true for the application 'XreferenceDB'.
    java.lang.NoClassDefFoundError: t : T (wrong name t)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:101)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.rmi.internal.GenericMethodDescriptor.getActualClassName(GenericMethodDescriptor.java:216)
         at weblogic.rmi.internal.GenericMethodDescriptor.access$100(GenericMethodDescriptor.java:19)
         at weblogic.rmi.internal.GenericMethodDescriptor$TypeParameter.<init>(GenericMethodDescriptor.java:250)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseParams(GenericMethodDescriptor.java:111)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseGenericParameter(GenericMethodDescriptor.java:151)
         at weblogic.rmi.internal.GenericMethodDescriptor.parseParams(GenericMethodDescriptor.java:109)
         at weblogic.rmi.internal.GenericMethodDescriptor.computeGenericMethodSignature(GenericMethodDescriptor.java:75)
         at weblogic.rmi.internal.GenericMethodDescriptor.computeGenericMethodSignature(GenericMethodDescriptor.java:46)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.initRemoteMethods(BasicRuntimeDescriptor.java:715)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.initializeRuntimeDescriptor(BasicRuntimeDescriptor.java:244)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:155)
         at weblogic.rmi.internal.BasicRuntimeDescriptor.<init>(BasicRuntimeDescriptor.java:139)
         at weblogic.rmi.internal.DescriptorManager.createRuntimeDescriptor(DescriptorManager.java:106)
         at weblogic.rmi.internal.DescriptorManager.getBasicRuntimeDescriptor(DescriptorManager.java:85)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:51)
         at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:37)
         at weblogic.rmi.internal.OIDManager.makeServerReference(OIDManager.java:194)
         at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:175)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceRemote(RemoteObjectReplacer.java:120)
         at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:103)
         at weblogic.rmi.extensions.server.ServerHelper.replaceAndResolveRemoteObject(ServerHelper.java:403)
         at weblogic.jndi.internal.WLEventContextImpl.copyObject(WLEventContextImpl.java:381)
         at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:276)
         at javax.naming.InitialContext.bind(InitialContext.java:400)
         at weblogic.jdbc.common.internal.JDBCUtil.bindDeeply(JDBCUtil.java:147)
         at weblogic.jdbc.common.internal.JDBCUtil.bindAll(JDBCUtil.java:85)
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:394)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:157)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: 944382 on Jul 5, 2012 4:28 AM

  • Jabber Client CallerId displays wrong name

    Hi,
    I have a problem with the wrong name displaying in Jabber calls. This only occurs when John calls from his Jabber Client. There is always the CallerId of Sam showing up.
    Checked AD, Outlook contacts, CUCM & Webex configuration and found no errors.
    Then I generated a problem record in my Jabber for Windows client and found this in PROBLEM_FEEDBACK_Cisco_Jabber_17.49_01-08-2013\Contacts\PersonManager\PersonManagerForensics.txt:
    [1] <PersonResolver: 0D32AD90>
    Original record: <0D36E2B8>
    <Person: 0D36E370>
      <PersonRecord: 0D36E2B8> (Roster:[email protected])
      <PersonRecord: 09349160> Sam Sample (WebEx:[email protected])
      <PersonRecord: 0F10FE60> Doe, John (CallerID:+491234567890:Doe, John)
    In the other records there is only one name associated to one person. How did John number slip in here. And most interesting, how can I get rid of that entry? Where is it originated?
    Same Problem occurs at a customer site with a on premise deployment (CUPS). So it doesn't seem to be Webex related. Tried several Jabber versions from 9.1.3 to 9.2.3. Same behaviour.
    Any suggestions hints?
    Regards
    Andre

    I think I see what is going on, just not entirely sure why and how to prevent it yet.
    Look at the two records below, taken from the "PersonManagerForensics.txt" file generated once you report a problem through the Jabber application.
    That first contact is a personal contact in the users Outlook address book.
    The second contact is an employee.
    When the user calls the second contact in Jabber, the caller ID always shows up as first contact. Same thing happens if the second contact calls the user.
    The caller ID for the first contact is the same last 4 digits as the internal employees DID number. We use 4 digit dialing. Not really sure why the caller ID record for the first contact resolved to those last 4 digits of that one telephone number.
    Jabber issue....or Outlook issue???
    I'll open a TAC case.
    [2]
      Belinda Iberl (OutlookRecordSource:EF000000BC83CE4367E42B42B2EF336756A5DEA964E52100) [439-9380 OR 458-0170, 508-2938, 459-2220]
      (CallerID:2220:) [2220]
    3]
      Ryan Kooi (UDS:rkooi) [5204392220]
      (CallerID:5204392220:) [5204392220]

  • Invalid subreport name Error code:-2147483086

    The setup used in this particular environment is to run reports via Crystal reports server 2008. We call the servers via the rassdk_java_dg_12_en and the setup works just fine BUT in one particular case.
    The report that fails have a main report with a datasource to SQL. The report does have about 20 - 25 subreports mostly based on the same datasource. There are however 6 subreports that uses ttx files as datasources.
    The report works fine when there is no data for the ttx subreports, but whenever a "change datasource" is tried to the ttx subreports the error "Invalid subreport name Error code:-2147483086" pops up.
    We have done noumerous tests on the pojo approach in other reports so the technic and code works just fine - it most be some special case in the report.
    Before we start to try to rebuild the report we will give you a chance to help us out. The report sucker is big and complex so a rebuild is not wanted...
    Here is the particular code involved
    private static void passPOJO(ReportClientDocument clientDoc,
                ReportPojoHolder pojoHolder, String reportName)
                    throws ReportSDKException,ClassNotFoundException {
            //Its a pojo data source, but it's nothing in it
            if (pojoHolder.getPojos().size() == 0) {
                return;
            String reportTable = pojoHolder.getTableName();
            Object pojo = pojoHolder.getPojos().iterator().next();
            POJOResultSetFactory factory = new POJOResultSetFactory(pojo.getClass());
            POJOResultSet resultSet = (POJOResultSet)factory.createResultSet(pojoHolder.getPojos());
            if(reportName == null || reportName.equals("")) {
                clientDoc.getDatabaseController().setDataSource(resultSet, reportTable, reportTable);
            else {
                System.err.println("Setting data in " + reportName );
    //Here comes the error
                clientDoc.getSubreportController().getSubreport(reportName).
                    getDatabaseController().setDataSource(resultSet, reportTable, reportTable);
    Here is the stacktrace:
    table: srptMainCustomerList;1, subrapport: AddressField
    table: srptusrinf;1, subrapport: AdvisorName
    table: srptusrinf;1, pojo: Beta
    table: srptusrinf;1, pojo: JensensAlpha
    table: srptusrinf;1, pojo: PerformanceChart
    Setting data in PerformanceChart
    2009-02-06 09:05:31,720 ERROR (CrystalReportServlet:doGet()) - [Username=Patrik Andrén, UserID=n249060, CustId=005563741684, Cstid=37385] - (Creation of report: customer_report.rpt failed on: [ReportAppServer: CCA1CS0569. Datasource: cca1cd0046qa1|omega] com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Fel i filen customer_report {CDCDCEC2-050C-4405-865C-6031D4BFF2DE}.rpt:
    Ogiltigt underrapportnamn.---- Error code:-2147483086 Error code name:failed, ) - [applicationId=omega, omegaUserId=omega.userid, credentials=IT, groupName=IT, sessionId=yLkhJLtYpLlDQ5Jf5S2GkzhPfSZJBg2zZkT4LfQ0L1bJg2v20pz2!-2033571304!1233906968432, requestId=06968853:167:000], exception-stack=
    com.nordea.omega.report.exceptions.ReportGenerationFailedException: Creation of report: customer_report.rpt failed on: [ReportAppServer: CCA1CS0569. Datasource: cca1cd0046qa1|omega] com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Fel i filen customer_report {CDCDCEC2-050C-4405-865C-6031D4BFF2DE}.rpt:
    Ogiltigt underrapportnamn.---- Error code:-2147483086 Error code name:failed,
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.s.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bl.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.verifyDatabase(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bl.byte(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ao.onDataSourceChanged(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
         at com.nordea.crystalreports.ReportHelper.passPOJO(ReportHelper.java:814)
         at com.nordea.crystalreports.ReportHelper.changeDataSource(ReportHelper.java:124)
         at com.nordea.crystalreports.ReportGenerator.generate(ReportGenerator.java:115)
         at com.nordea.crystalreports.ReportGenerator.generate(ReportGenerator.java:62)
         at com.nordea.omega.report.servlet.CrystalReportServlet.doGet(CrystalReportServlet.java:116)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServi

    I have been able to wrestle this down after a lot of frustrating work. The error had nothing to do with pojos at all. The error was simple a store procedure that did not reply nothing.
    In the preparation of the subreport that did consist of the pojo data source. The report(server?) did send a "pre call" to the store procedure with NULL as parameters. The reply was unfortunately an "empty" reply. When we changed the reply to an empty result set it went pass the data sources.
    The error message given on this was "Invalid subreport name"! Not very helpful at all.
    I have used this new version for about 3 weeks now in a "proof of concept" work controlling if we would be able to upgrade from crystal 9/Harmoni to Crystal 2008/Crystal Report Server 2008. The answer will be yes. It will work. And with a minimum of report changes which is very nice.
    What have struck me the most during this work is a few proposals to improvements.
    1. Put the versions on jars and sdk's so it's obvious what's used. I spent a few days with an old version of a sdk believing that it was a newer than I already had. It should not be neccessary to go through a manifest file inside a jar in order to find out what the version is. Put it on the file names!
    2. Give proper error messages back when something goes wrong. If a parameter value is missing. Send back the parameter that's missed/misses a value for Gods sake. The programmer catching the error most know what's missed hence the message. Would save the user's of the API very much time.
    I spent about 5 - 10 days trying to find out what was wrong with my sub report name (This thread). It had nothing to do with the subreport name. It had to do with missing data from a called store procedure!
    3. The documentation can be a bit tricky to find. I saw that you have given away a eclipse plugin in order to gather the documentation inside the IDE. That's a good approach.
    If the error messages will be enhanced and more accurate it's a pretty handy api to work with. And the handling of unmanaged reports is a wet dream compared to usage of the Harmoni API. That's a real nightmare. The server seems to be very stable and just runs.
    I like this forum, fast replies when one is stuck is extremely helpful!
    /Patrik

  • CD showing up as wrong name

    I'm importing a CD into iTunes and it shows up under the wrong name and with all wrong info. Even if I delete it, when I try again it shows up as the same wrong name. How can I change it?

    This is likely due to an error in the Gracenote database that iTunes links to for retrieving album info. You'll have to manually edit the tags to correct them -- either before you import or after. If you correct them before you import, the nice thing is that iTunes will remember this if you ever have to re-import this album, and if you edit the tags before you import you have the ability to submit the corrections back to Gracenote (Advanced/Submit CD Track Names).

  • AirDrop showing the wrong name and picture with iOS 7

    AirDrop is showing the wrong name and picture on my wife's phone....It is showing my name and picture.  She has an iPhone 5 and I just updated her to iOS7 about an hour ago, same time as I did mine. Is it because we are connected with the same Apple ID and if so, how do I fix it?  She is annoyed by it and not seeing where I can change it in the settings is beginning to annoy me.  Help!

    I don't think that's the issue.  I'm having the same problem.  My wife, my son, and I all use the same Apple ID, but we have different email addresses and phone numbers for facetime and imessage (we've never had an issue with imessage or facetime).  Today, I updated my phone and ipad to ios 7 and tried to experiment with airdrop.  On both devices it showed my son's name.  Then my son updated his ipad and we tested airdrop again.  His ipad shows up on my phone and ipad with his name as well.  The email address that I use for Apple ID is not associated with him on any device.  His name is not listed on our Apple ID account.  One of them shows his photo that he uses for his facebook profile, but the other's just have a gray circle with his first initial.  I'm hoping it's just a bug that will get fixed soon, but if anyone knows a fix, please share.

  • I keep getting an invalid mailbox name error every 5 minutes

    I keep getting an invalid mailbox name error every five minutes. I am able to send and recieve mail, this is just very annoying.  Can anyone help?  Seem like it must be an easy fix. I was on the phone with Apple Care for over an hour and they could not figure it out.

    I have the same issue. Dont have a clue

  • Java.lang.NoClassDefFoundError: src/myproject/myapp (wrong name: myproject/

    Hi
    I was trying to build an app using JBuilder personal. It would build and run fine. Then i realised that i could not use the api from jdk1.4 as JBuilder would only work with jdk1.3.
    So, i moved the project from JBuilder to Forte thinking that Forte would allow me to use the jdk1.4 api. After significant trouble porting the project, i got the project to build successfully.
    But when i try to run it , i get the following error
    What could be causing it and how do i fix it? these errors are very frustrating. searching this site or the forte help, hasnt given me any tips yet. Thanks
    java.lang.NoClassDefFoundError: src/myproject/myapp (wrong name: myproject/myapp )
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    Exception in thread "main"

    But when i try to run from Forte, it still gives the same dumb errors ..
    Could it be a Forte settings problem??Definitely. Choose the Project menu, then the Settings... at the bottom. That brings you up a new dialog. On the left, select the "Execution types", and the "external execution" within. On the right pane, click on the "expert" tab on the bottom. There you have a field named classpath; add your classpath directories there. Then your program will probably run from Forte.
    For compiling, you also should set the classpath; you need "Compiler types" on the left pane, and you have to set the classpath for the fastJavac compilation and/or for the external compilation, depending which one you use.
    On the left also a "Java Sources" node - click on it, and check if the "default compilation" is either external or (preferable) fastJavac; and that the default execution is external.
    How Forte works with internal compilation, and internal execution, I don't know, never tried that.
    Best Regards,
    Ivan

  • FrutigerLTStd-Bold Cn font has wrong name in file and not installing

    Just purchased FrutigerLTStd-Bold CN font.  The font file name is correct, but In the font window it says the name is "Frutiger LT Std 47 Light Cn" but the font shows up as the bold one.  Installed the font but it is not showing up in my font list.  Think there must be an error since the wrong name is thereI already have the light one, I need the bold font.  Was on hold with Chat for 30 minutes, they told me to call support.  Phone and said there was a 2 hour wait - my phone battery died before I was connected.  Help!

  • Java.lang.NoClassDefFoundError: MyClass (wrong name: mypackage/MyClass)

    Bit nervous about posting again got absolutely slagged by the "big boys" for being an idiot. But here goes anyway -
    I'm getting the error in the subject line in an applet.
    What I am slightly confused about is why the code compiles and runs fine in NetBeans but as soon as I upload the class to my site it gives this error.
    I have read a lot about class paths being wrong on the computer and things in wrong directories, but how are the class paths wrong for a successfully compiled and built program?
    I have all the classes from the package in the same directory on the website.
    Any clues would be appreciated.
    Cheers
    Dan

    Hi cotton
    Thanks for the answer, I have tried a couple of variations in my applet tag.
    I started off very simply and managed to get a "HelloWorldApplet" to run.
    Then I simply tried embedding my programme, although not originally written for the web (it has a main class)
    I added the "HelloWorld" message output to my main class to see if the my classes and code is working.
    I fully expect the rest of the code to fall over elsewhere, however I did expect Java to find the "Main" class.
    I have tried the following
    <Applet code="flashcardserverside/Main.class" width="200" height="200"></applet>this gives the error-
    java.lang.ClassNotFoundException: flashcardserverside.Main.class
    also tried
    <Applet code="Main.class" width="200" height="200"></applet>this produces - Main (wrong name: flashcardserverside/Main)
    <Applet code="main.class" width="200" height="200"></applet>this returns - java.lang.ClassNotFoundException: main.class
    (I expected this because my class is Main)
    <Applet codebase = "http://www.mywebsite.co.uk" code="Main.class" width="200" height="200"></applet>giving- Main (wrong name: flashcardserverside/Main)
    <Applet codebase = "http://www.mywebsite.co.uk" code="flashcardserverside/Main.class" width="200" height="200"></applet>java.lang.ClassNotFoundException: flashcardserverside.Main.class
    I got the codebase tags from the following lesson:
    http://www.case.edu/help/wilbur/ch8.html
    Perhaps my problem is that I am trying to embed a program that I initially wrote as a non web application. Is it "illegal" to call a class Main when embedding applets.
    Cheers
    Dan
    PS thanks for the other info on classpaths.

Maybe you are looking for

  • Aging Report SQL Query

    Dear Guys, I have tried for aging report query , but still my expected results is not come. Please go through below the table and script data for your reference. Please wirte a query for aging report. USE [SAMPLES] GO /****** Object: Table [dbo].[NEW

  • How to print the contents of a form(window)

    I'm devloping visitors application in java. After the data entry, I need to display the selected information from database along with the photo and take a printout so that it looks like a card. I know how to display the contents in a form. How do I p

  • Having trouble opening pages

    when i try to open Pages document (or even Pages itself), all I'm getting is this window with spiriling blue lines.

  • How do i change the number fax number

    my hp officejet pro 8600 i enter the wrong fax number, i completed the installation and now the screen on the  printer is frozen reading fax test in progress  please wait

  • Re-installation for Creative Suit 6

    I accidentally deleted some of the CS6 applications from my computer when cleaning my applications folder. When I try and put the CS6 disk in my laptop, it only allows me the option to uninstall, but not reinstall. If I were to uninstall my entire cr