JDK 1.6.0_12

I Installed Jdk1.6.0_12 ,I also set d class path &the program is compiled but Not shown d Output
but i have new doubt with java
i.e D program is complied successfully, But don't display d output
it raaises an error with
C:\Program Files\prhms>javac Example.java
C:\Program Files\prhms>java Example
Exception in thread "main" java.lang.NoClassDefFoundError: Example
Caused by: java.lang.ClassNotFoundException: Example
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Example. Program will exit.
C:\Program Files\prhms>
C:\Program Files\prhms>c

prometheuzz wrote:
njoy wrote:
where to download ?
only u13 available\
1 more thing D mentioned above is not a language but short for 'THE' also useful to send smses
Edited by: njoy on May 27, 2009 11:42 PMI nominate this post as the most useless reply this week. Heck, perhaps even this month!Look at all his posts.

Similar Messages

  • JRE & JDK v1.5.0_12 Upgrade

    Hi, I am part of a big organisation, we need to upgrade our servers and workstations with JRE and JDK v1.5.0_12. It is very difficult to schedule a time to upgrade the servers. I would like to know if we MUST upgrade servers and workstations at the same time or it doesn't matter if the workstation runs v1.5.0_12 and the server (Database and application server) runs JDK v1.5.0_4 and be updated at a later time.
    Thanks

    #1. In almost all cases, you don't need the JDK. You only need the JDK if developers are going to be writing java code on that machine. If all you need is to be able to run java, install the JRE instead
    #2. It's impossible for us to know what your work setup is like. It might be possible for you to upgrade some of your systems and not all of them.
    In general, when doing a java update, you should create a test environment that is a microcosm of your entire setup - one machine for each type of machine (ie desktop, server) that you will be changing. Install the new java and then test all of your apps and make sure that they work

  • JDK 1.6 on Solaris. Multiple java processes and thread freezes

    Hi, we've come across a really weird behavior on the Solaris JVM, reported by a customer of ours.
    Our server application consists of multiple threads. Normally we see them all running within a single Java process, and all is fine.
    At some point in time, and only on Solaris 10, it seems that the main Java process starts a second Java process. This is not our code trying to execute some other application/command. It's the JVM itself forking a new copy of itself. I assumed this was because of some JVM behaviour on Solaris that uses multiple processes if the number of threads is > 128. However at the time of spawn there are less than 90 threads running.
    In any case, once this second process starts, some of the threads of the application (incidentally, they're the first threads created by the application at startup, in the first threadgroup) stop working. Our application dumps a list of all threads in the system every ten minutes, and even when they're not working, the threads are still there. Our logs also show that when the second process starts, these threads were not in the running state. They had just completed their operations and were sleeping in their thread pool, in a wait() call. Once the second process starts, jobs for these threads just queue up, and the wait() does not return, even after another thread has done a notify() to inform them of the new jobs.
    Even more interesting, when the customer manually kills -9 the second process, without doing anything in our application, all threads that were 'frozen' start working again, immediately. This (and the fact that this never happens on other OSes) makes us think that this is some sort of problem (or misconfiguration) specific to the Solaris JVM, and not our application.
    The customer initially reported this with JDK 1.5.0_12 , we told them to upgrade to the latest JDK 1.6 update 6, but the problem remains. There are no special JVM switches (apart from -Xms32m -Xmx256m) used. We're really at a dead end here in diagnosing this problem, as it clearly seems to be outside our app. Any suggestion?

    Actually, we've discovered that that's not really what was going on. I still believe there's a bug in the JVM, but the fork was happening because our Java code tries to exec a command line tool once a minute. After hours of this, we get a rogue child process with this stack (which is where we are forking this command line tool once a minute):
    JVM version is 1.5.0_08-b03
    Thread t@38: (state = IN_NATIVE)
    - java.lang.UNIXProcess.forkAndExec(byte[], byte[], int, byte[], int, byte[], boolean, java.io.FileDescriptor, java.io.FileDescriptor, java.io.FileDescriptor) @bci=168980456 (Interpreted frame)
    - java.lang.UNIXProcess.forkAndExec(byte[], byte[], int, byte[], int, byte[], boolean, java.io.FileDescriptor, java.io.FileDescriptor, java.io.FileDescriptor) @bci=0 (Interpreted frame)
    - java.lang.UNIXProcess.<init>(byte[], byte[], int, byte[], int, byte[], boolean) @bci=62, line=53 (Interpreted frame)
    - java.lang.ProcessImpl.start(java.lang.String[], java.util.Map, java.lang.String, boolean) @bci=182, line=65 (Interpreted frame)
    - java.lang.ProcessBuilder.start() @bci=112, line=451 (Interpreted frame)
    - java.lang.Runtime.exec(java.lang.String[], java.lang.String[], java.io.File) @bci=16, line=591 (Interpreted frame)
    - java.lang.Runtime.exec(java.lang.String, java.lang.String[], java.io.File) @bci=69, line=429 (Interpreted frame)
    - java.lang.Runtime.exec(java.lang.String) @bci=4, line=326 (Interpreted frame)
    - java.lang.Thread.run() @bci=11, line=595 (Interpreted frame)There are also several dozen other threads all with the same stack:
    Thread t@32: (state = BLOCKED)
    Error occurred during stack walking:
    sun.jvm.hotspot.debugger.DebuggerException: can't map thread id to thread handle!
         at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.getThreadIntegerRegisterSet0(Native Method)
         at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.getThreadIntegerRegisterSet(ProcDebuggerLocal.java:364)
         at sun.jvm.hotspot.debugger.proc.sparc.ProcSPARCThread.getContext(ProcSPARCThread.java:35)
         at sun.jvm.hotspot.runtime.solaris_sparc.SolarisSPARCJavaThreadPDAccess.getCurrentFrameGuess(SolarisSPARCJavaThreadPDAccess.java:108)
         at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:252)
         at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:211)
         at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:50)
         at sun.jvm.hotspot.tools.JStack.run(JStack.java:41)
         at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
         at sun.jvm.hotspot.tools.JStack.main(JStack.java:58)I'm pretty sure this is because the fork part of the UnixProcess.forkAndExec is using the Solaris fork1 system call, and thus all the Java context thinks all those threads exist, whereas the actual threads don't exist in that process.
    It seems to me that something is broken in UnixProcess.forkAndExec in native code; it did the fork, but not the exec, and this exec thread just sits there forever. And of course, it's still holding all the file descriptors of the original process, which means that if we decide to restart our process, we can't reopen our sockets for listening or whatever else we want to do.
    There is another possibility, which I can't completely rule out: this child process just happened to be the one that was fork'd when the parent process called Runtime.halt(), which is how the Java process exits. We decided to exit halfway through a Runtime.exec(), and got this child process stuck. But I don't think that's what happens... from what I understand that we collected, we see this same child process created at some point in time, and it doesn't go away.
    Yes, I realize that my JVM is very old, but I cannot find any bug fixes in the release notes that claim to fix something like this. And since this only happens once every day or two, I'm reluctant to just throw a new JVM at this--although I'm sure I will shortly.
    Has anyone else seen anything like this?

  • CAM 6.6 and jdk

    Installed CAM 6.6 the other day on an RHEL build and all seemed to be
    fine but when came in the next day was getting java errors on webconsole.
    Turned out the jdk had been updated to the latest version and the one that
    ships with CAM 6.6 (jdk-1.6.0_12) had been removed. Linking
    /usr/java/jdk1.6.0_12 to /usr/java/latest managed to get CAM working
    again and hopefully future updates won't break it now.
    Any particular reason the CAM software is hard coded to the version
    of java that it ships with?

    NO. The first product to support JDK 1.4 is WLS 8.1.
    No plans to make prior releases compatible with JDK 1.4.
    Wayne
    Vladimir wrote:
    Hi,
    Does WLS 6.1 support JDK 1.4? I modified the startup script to point to my JDK1.4
    installation (as opposed to 1.3 that was installed with WLS) and the server started,
    but it printed an error message: Unable to load Performance pack - please ensure
    that libmuxer library is in PATH. java.lang.UnsatisfiedLinkError: no muxer in
    java.library.path. Is this error critical? If so, how do I fix it? I am running
    WLS 6.1 on WinXP, no service pack.
    Thanks,
    Vladimir

  • Where is Java DB in JDK 6?

    The Java DB documentation seems to tell us only that it's now in JDK 6. The JDK 6 documentation seems to tell us only that JDK 6 "co-bundles" Java DB. If the documentation answers my question, the answer is not easy to find.
    Attempting to follow the NetBeans instructions for [Working with the Java DB (Derby) Database|http://www.netbeans.org/kb/docs/ide/java-db.html], "Configuring the Database" starts with "If you have the GlassFish Server registered in your NetBeans IDE installation ... If you downloaded GlassFish (or Sun Java System Application Server) separately ... If you just downloaded Java DB on its own ..." None of those apply, so I skip ahead to "Registering the Database in NetBeans IDE".
    In NetBeans, I opened the "Java DB Properties" dialog. The instructions then tell us, "For the Java DB Installation text field, enter the path to the Java DB root directory (javadb) ...".
    I tried to find "javadb" on a Solaris 10 computer, where JDK 6 is installed:
    fonzie% javac -version
    javac 1.6.0_12
    fonzie% which java
    /bin/java
    fonzie% ls -l /bin
    lrwxrwxrwx   1 root     root           9 Dec  9 19:14 /bin -> ./usr/bin
    fonzie% ls -l /bin/java
    lrwxrwxrwx   1 root     other         16 Dec  9 19:19 /bin/java -> ../java/bin/java
    fonzie% ls -l /usr/java
    lrwxrwxrwx   1 root     root          10 Feb 14 20:20 /usr/java -> jdk/latest
    fonzie% ls -l /usr/jdk/latest
    lrwxrwxrwx   1 root     other         11 Feb 14 17:12 /usr/jdk/latest -> jdk1.6.0_12
    fonzie% ls -l /usr/jdk/jdk1.6.0_12
    lrwxrwxrwx   1 root     other         18 Feb 14 17:12 /usr/jdk/jdk1.6.0_12 -> instances/jdk1.6.0
    fonzie% find /usr/jdk/instances/jdk1.6.0 -name javadb
    fonzie% ls -l /usr/jdk/instances/jdk1.6.0
    total 37962
    drwxr-xr-x   3 root     bin         1024 Feb 14 17:34 bin
    -rw-r--r--   1 root     bin         3767 Jan 17 04:42 COPYRIGHT
    drwxr-xr-x  11 root     bin          512 Feb 14 17:19 demo
    drwxr-xr-x   3 root     bin          512 Feb 14 17:15 include
    drwxr-xr-x   6 root     bin          512 Feb 14 17:11 jre
    drwxr-xr-x   3 root     bin          512 Feb 14 17:15 lib
    -rw-r--r--   1 root     bin        17058 Jan 17 04:42 LICENSE
    drwxr-xr-x   3 root     bin          512 Feb 14 17:18 man
    -rw-r--r--   1 root     bin        28599 Jan 17 04:42 README.html
    -rw-r--r--   1 root     bin        25390 Jan 17 04:42 README_ja.html
    -rw-r--r--   1 root     bin        20768 Jan 17 04:42 README_zh_CN.html
    -r--r--r--   1 root     other       7385 Feb 14 17:35 register.html
    -r--r--r--   1 root     other       7817 Feb 14 17:35 register_ja.html
    -r--r--r--   1 root     other       6995 Feb 14 17:35 register_zh_CN.html
    drwxr-xr-x  10 root     bin          512 Feb 14 17:19 sample
    -rw-r--r--   1 root     bin      19018803 Jan 17 04:40 src.zip
    -rw-r--r--   1 root     bin       249556 Jan 17 04:42 THIRDPARTYLICENSEREADME.txt
    fonzie% Alan M. Feldstein
    [Cosmic Horizon|http://www.alanfeldstein.com/]

    masijade. wrote:
    find / -name Sun
    // or
    find / -name javadb
    // or
    find / -name sunIOW, it is bundled with jdk 6, but (at least on windows) it is not located in the jdk 6 directory, but somewhere else. On windows it is "Program Files/Sun/JavaDB", use that as a possible reference as to where it might be in Unix. I, currently, do not have a Unix system in front of me to check it with.
    You might, however, check to see if the environment variable DERBY_HOME is set.javadb is found:
    # find / -name javadb
    /usr/appserver/javadb
    # exit
    fonzie% ls -l /usr/appserver/javadb
    total 48
    -rwxr-xr-x   1 root     bin         6723 Aug 17  2005 CHANGES
    -rwxr-xr-x   1 root     bin          253 Aug 17  2005 COPYRIGHT
    drwxr-xr-x   4 root     bin          512 Dec  9 19:38 frameworks
    drwxr-xr-x   2 root     bin          512 Dec  9 19:38 lib
    -rwxr-xr-x   1 root     bin        11358 Aug 17  2005 LICENSE
    -rwxr-xr-x   1 root     bin         1032 Aug 17  2005 NOTICE
    fonzie% ls -l /usr/appserver/javadb/lib
    total 14430
    -rwxr-xr-x   1 root     bin       295353 Aug 17  2005 derbyclient.jar
    -rwxr-xr-x   1 root     bin      2143211 Aug 17  2005 derby.jar
    -rwxr-xr-x   1 root     bin        71262 Aug 17  2005 derbyLocale_de_DE.jar
    -rwxr-xr-x   1 root     bin        66757 Aug 17  2005 derbyLocale_es.jar
    -rwxr-xr-x   1 root     bin        70900 Aug 17  2005 derbyLocale_fr.jar
    -rwxr-xr-x   1 root     bin        66286 Aug 17  2005 derbyLocale_it.jar
    -rwxr-xr-x   1 root     bin        78765 Aug 17  2005 derbyLocale_ja_JP.jar
    -rwxr-xr-x   1 root     bin        73936 Aug 17  2005 derbyLocale_ko_KR.jar
    -rwxr-xr-x   1 root     bin        67819 Aug 17  2005 derbyLocale_pt_BR.jar
    -rwxr-xr-x   1 root     bin        67419 Aug 17  2005 derbyLocale_zh_CN.jar
    -rwxr-xr-x   1 root     bin        69426 Aug 17  2005 derbyLocale_zh_TW.jar
    -rwxr-xr-x   1 root     bin       163219 Aug 17  2005 derbynet.jar
    -rwxr-xr-x   1 root     bin      3938846 Aug 17  2005 derbyTesting.jar
    -rwxr-xr-x   1 root     bin       151937 Aug 17  2005 derbytools.jar
    -rwxr-xr-x   1 root     bin          729 Aug 17  2005 derby.war
    fonzie% echo $DERBY_HOME
    /opt/Derby_10
    fonzie% I don't know/remember where /usr/appserver/javadb comes from, but I suspect that it did not come from JDK 6. DERBY_HOME was certainly set by me, as I have been working with Apache Derby for some time. I'm exploring how I might break my dependency on downloads from apache.org.
    The README is helpful, revealing that I should have /opt/SUNWjavadb. I don't. (The answer to my question is very system-dependent, isn't it?) I downloaded jdk-6u12-solaris-sparc.tar.Z again and found its top-level content to be:
    fonzie% ls -l
    total 728
    -rw-r--r--   1 alan     staff       3767 Jan 23 11:44 COPYRIGHT
    -rw-r--r--   1 alan     staff      17058 Jan 23 11:44 LICENSE
    -rw-r--r--   1 alan     staff      28599 Jan 23 11:44 README.html
    -rw-r--r--   1 alan     staff      25390 Jan 23 11:44 README_ja.html
    -rw-r--r--   1 alan     staff      20768 Jan 23 11:44 README_zh_CN.html
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWj6cfg
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWj6dev
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWj6dmo
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWj6jmp
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWj6man
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWj6rt
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWjavadb-client
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWjavadb-common
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWjavadb-core
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWjavadb-demo
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWjavadb-docs
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWjavadb-javadoc
    drwxr-xr-x   4 alan     staff        512 Jan 23 11:44 SUNWjavadb-service
    -rw-r--r--   1 alan     staff     249556 Jan 23 11:44 THIRDPARTYLICENSEREADME.txt
    fonzie% But the JDK installation instructions say nothing about SUNWjavadb. Although Java DB is "co-bundled" with JDK 6, it is far too easy to accidentally not install it.

  • Unable to deploy a war(includes web services)packaged into EAR on jboss 5.0

    I am new to web services and wanted to develop one
    I used the following softwares / IDE
    Eclipse 3.4.2
    Apache Ant 1.7
    Jboss AS 5.0.1
    JBoss ws 2.0
    jbossws-native-bin-dist 3.2.1GA
    sun jdk 1.6.0_12
    So i started off quite well configuring all that is required to create a web service
    i took the help of eclipse ide tools like create web service and create web service clients.
    when i created the web project in eclipse i selected the option add project to ear.
    and finally i start the jboss server with in eclipse and add project the ear file that contains the war file.
    just when i thought all is fine the server throws an error
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    I have searched jira to find a solution for this , but i think i couldnt find an appropriate solution
    I am not sure if the search critirea i entered was close to the issue.
    The log pasted below is the one when i start jboss from with in eclipse .
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeployment(AbstractDeploymentModelBuilder.java:119)
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeploymentModel(AbstractDeploymentModelBuilder.java:62)
    at org.jboss.webservices.integration.deployers.deployment.WSDeploymentBuilder.build(WSDeploymentBuilder.java:82)
    at org.jboss.webservices.integration.deployers.WSDeploymentDeployer.internalDeploy(WSDeploymentDeployer.java:66)
    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
    ... 24 more
    13:01:52,945 WARN [HDScanner] Failed to process changes
    org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    DEPLOYMENTS IN ERROR:
    Deployment "vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/" is in error due to the following reason(s): java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Please help.

    When you say:
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
    Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
    I don't know of any problems with Solaris, JDK5, U12.
    What about if you do this to remove any issues with the remote copy aspect of the deployment.
    1. Stop OC4J.
    2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
    3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
    4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
    5. Start the server and see what happens -- the application should be deployed.
    Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
    -steve-

  • 11i Login Page is showing 'Error on Page' while using IE 7

    Hi DBAs,
    I am using Oracle 11.5.10.2 with DB 10.2.0.4 (Single Instance). The EBS is on RUP6 and using JDK 1.6.0_12.
    I was using Firefox and not getting any issue. I used first time IE-7 (7.0.5x) to access the application. I noticed that Pressing the 'Login' button on Login Page , it was saying in the left bottom of the IE says 'Error on page' and was not navigate to any page or did not perform any action.
    I verified all the services and everything was OK. While using Firefox , I was able to navigate the application w/o any issue.
    Using IE 7 , I am able to access
    http://host.domain:8000/OA_HTML/fndvald.jsp?username=sysadmin&;password=sysadmin
    Most of the stuff seems to be working fine while logging in using above URL but the 'GO' buttons are throwing same error in IE 'Error on page'. Rest of the Bottons like 'Edit Navigator' , 'Edit Favorites' are working fine but when on any Page I press the 'Go' button then IE showing Error. It seems to me that when a button need to navigate to next page then IE saying 'Error on page' but when a button have to lunch a new page it is working fine.
    All the responsibilities and links are working fine. Application Navigation using Firefox is working absolutely fine.
    Seeking your advise and suggestions to resolve the issue.
    Thanks
    -Samar-

    Hi Samar,
    You can clear the cache as follows (login as applmgr user, and source the application env file):
    $ cd $COMMON_TOP/_pages
    $ rm -R *
    ML Note: 285218.1 is not helpful as I am on later version of EBS (11.5.10.2 with RUP6 and Developer6i Patchset 19). At Client side I am using Windows XP SP3 with IE 7.0.5.x with JInit 1.3.21 and JRE 1.6.0.12.Did you review the steps under "Recommended MSIE Browser Settings" section?
    Can you reproduce the issue with JInitiator? If yes, any errors in the JInitiator console window? Enable debug (you may also enable trace for Sun JRE) and see if any errors are reported there.
    Note: 549423.1 - How to enable tracing and logging for Sun JRE (Native Plug-in)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=549423.1
    Regards,
    Hussein

  • Unable to install web server 7.0U2 on linux

    hello,
    i am trying to install web server 7.0U2 on amd64 Debian Linux. however, the installer seems to think that not enough disk space is available, even though there is 18GB free space on /.
    this is the transcript of the installation:
    harmony:/usr/home/river/sws64# ./setup
    Welcome to the Sun Java System Web Server 7.0U2 (64-Bit) installation wizard.
    You will be asked to specify preferences that determine how Sun Java System Web
    Server 7.0U2 (64-Bit) is installed and configured.
    The installation program pauses as questions are presented so you can read the
    information and make your choice. When you are ready to continue, press Enter
    (Return on some keyboards).
    <Press ENTER to Continue>
    Some questions require that you provide more detailed information. Some
    questions also display default values in brackets []. For example, yes is the
    default answer to the following question:
    Are you sure? [yes]
    To accept the default, press Enter.
    To provide a different answer, type the information at the command prompt and
    then press Enter.
    <Press ENTER to Continue>
    Sun Microsystems, Inc. ("Sun") SOFTWARE LICENSE AGREEMENT ("SLA") and
    ENTITLEMENT for SOFTWARE
    A. ENTITLEMENT for SOFTWARE. Capitalized terms not defined in this
    Entitlement have the meanings ascribed to them in the SLA (attached below
    as Section B). These terms will supersede any inconsistent or conflicting
    terms in the SLA.
    Licensee ("You"): The entity receiving the Software from Sun.
    Effective Date: Date You receive the Software.
    Software: Sun Software Portfolio, which may include the following: Solaris
    10, Sun Java System Access Manager, Sun Java System Directory Server
    Enterprise Edition, Sun Java System Identity Manager, Sun Java System
    Identity Manager Resource Adapters: (a) Windows Gateway Script Resource
    Adapter, (b) SQL Script Resource Adapter, (c) Unix Script Resource
    Adapter, (d) Database Table Resource Adapter, (e) Host Mainframe Resource
    Adapter, (f) JMS Resource Adapter, (g) Simulated Resource Adapter, and (h)
    Resource Extension Facility (REF) kit, Sun Java System Federation Manager,
    Sun Java Identity Auditor, Sun Java System Application Server Enterprise
    Edition, Sun Java System Message Queue, Sun Java System Web Server, Sun
    Java System Web Proxy Server, Sun Java System Portal Server, Service
    Registry, Sun Java System Connector for Microsoft Outlook, Sun Java System
    <--[6%]--[ENTER To Continue]--[n To Finish]-->n
    Sun Java System Web Server 7.0 License
    If you have read and accept all terms of the Software License Agreement,
    answer 'yes' to continue with the installation.
    If you do not accept all terms, answer 'no' to stop the installation without
    installing the product. You cannot install the product without accepting the
    agreement.
    Have you read the Software License Agreement and do you accept all terms
    [no] {"<" goes back, "!" exits}? yes
    Sun Java System Web Server 7.0 components will be installed in the directory
    listed below, referred to as the installation directory. To use the specified
    directory, press Enter. To use a different directory, enter the full path of
    the directory and press Enter.
    Sun Java System Web Server 7.0 Installation Directory [sun/webserver7] {"<"
    goes back, "!" exits}: /opt/webserver7
    Select the Type of Installation
    1. Express
    2. Custom
    3. Exit
    What would you like to do [1] {"<" goes back, "!" exits}? 2
    Component Selection
    1. Server Core
    2. Administration Command Line Interface
    3. Sample Applications
    4. Language Pack
    Enter the comma-separated list [ 1,2,3,4,] {"<" goes back, "!" exits}: 1,2
    Based on component dependencies for your selection...
    The following components will be installed:
    Server Core
    Administration Command Line Interface
    Java Configuration
    Sun Java System Web Server 7.0 requires Java SE Development Kit (JDK). Provide
    the path to a JDK 1.5.0_12 or greater.
    1. Install Java SE Development Kit (JDK) 1.5.0_12
    2. Reuse existing Java SE Development Kit (JDK) 1.5.0_12 or greater
    3. Exit
    What would you like to do [1] {"<" goes back, "!" exits}? 2
    Enter the path to an existing, compatible Java SE Development Kit (JDK)
    installation. [usr/home/river/sws64/WebServer/jdk] {"<" goes back, "!"
    exits} /usr/lib/jvm/java-1.5.0-sun-1.5.0.14
    Insufficient Disk space. Total product size is 89 MB. The installer requires
    additional disk space of 89 MB. Free up some disk space and try again.
    <Press ENTER to continue> {"<" goes back, "!" exits} !

    Hi,
    I've tried to install web server 7.0U3 on Debian etch 64 today and ran into the same problem. The solution to that problem was to install those packages: ia32-libs libstdc++5 as discribed here in one of the comments -> http://blogs.sun.com/kkranz/entry/installing_sun_java_system_web
    Cheers,
    Alex

  • Problem with Configuring Tomcat for running jsp web applications..Plz HELP

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

  • Not Getting All the Mails in Gmail

    Hi All,
    I have some 700 mails in my inbox of GMAIL. But When i m getting messges from INBOX. I am getting only 376.
    Is it a known Issue or what? What could be the cause for this?
    Thanks for ur replies in advance.....

    I didn't have a gmail account with lots of messages in it to test against, but I did some basic tests accessing gmail with javamail 1.4 and jdk 1.5.0_12 and had no trouble getting accurate message downloads via pop3. I used the "msgshow.java" demo program.
    I also noted that gmail allows you to specify that pop3 access can be enabled only for messages received after a certain date/time (the current date/time when this choice is selected), not just on/off for the entire account.
    Is it possible that the messages you cannot access via javamail are all old messages that were received before the date/time specified for pop3 access?

  • Problem getting Dataservices running on OC4J 10.1.3.1

    I'm having problems getting the Data services working
    correctly on an Oracle OC4J 10.1.3.1
    I followed the guidelines as described here:
    http://www.adobe.com/support/documentation/en/flex/2/install.html#oc4j
    and some of the samples seem to work, the Collaborative
    Dashboard runs without any problems
    But when I try to run the notes sample I get this error in
    the console, each time I try to send something:
    07/03/20 10:40:43 [Flex] [ERROR] Exception when invoking
    service: data-service
    with message: Flex Message (flex.data.messages.DataMessage)
    operation = transacted
    id = null
    clientId = 8F4FEAF9-DF0B-9471-5406-D540F7A77B56
    correlationId =
    destination = notes
    messageId = 2BC190CA-5B47-7BEA-7D27-6EB8494ACE96
    timestamp = 1174383642959
    timeToLive = 0
    body =
    Flex Message (flex.data.messages.DataMessage)
    operation = update
    id = ASObject(2709047){noteId=1}
    clientId = 162E9C1C-6BBC-A27C-F756-6EB78592B81D
    correlationId = 2BC190CA-5B47-7BEA-7D27-6EB8494ACE96
    destination = notes
    messageId = ADA188B3-8FB8-0B5A-9A44-6EB844693D12
    timestamp = 0
    timeToLive = 0
    body =
    noteText
    {noteId=1, noteText=Type your notes here and share them with
    other clients!},
    {noteId=1, noteText=df}
    hdr(DSEndpoint) = my-rtmp
    exception: flex.data.DataServiceException: Unable to access
    UserTransaction in DataService.
    Can anyone help me with this? I tried contacting Oracle, but
    they bounced the ball back to Adobe...

    OCMS stands for Oracle Communication and Mobility Server and is basically a SIP Container embedded as a hook into OC4J 10.1.3.1. I'm using JDK 1.5.0_12-b04. Wondering if there's any other way to check configuration of the JSP compiler.
    Thanks for your help,
    Adam

  • Problem in connecting remote server using Applet?

    Hello everybody,
    I am facing problem in connecting to remote server using Applet in browser. I am using JDK 1.5.0_12 and running the application on apache 2.2.
    Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. I have changed the java.policy file of JDK in server with grant all Permission but also it throws "java.security.AccessControlException:access denied(java.net.SocketPermission 127.0.0.1:1521 connect, resolve)".
    Can anybody suggest me how to solve this problem?
    Thank You.
    -Ritesh

    >
    I am facing problem in connecting to remote server using Applet in browser.
    Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. >Were you prompted to accept the digitally signed code? To see what I mean, check out the [Defensive loading of trusted applets demo|http://pscode.org/test/docload/]. If you are not getting the prompt, or refused it, follow the link to sandbox.html for tips on how to proceed.

  • [resolved] ServletAuthentication weak() method in Weblogic 9.2 return false

    I am working on migrating Weblogic custom Authentication provider from version 8.1.5 to 9.2.3
    I recompiled the login modules implementation with necessary changes and JDK 1.5.0_12. It's deployed fine.
    In login servelet I have the following code
    ServletAuthentication sa = new ServletAuthentication(LOGIN_USERNAME_LABEL, LOGIN_PASSWORD_LABEL);
    int authenticated = sa.weak(request, response);
    The problem is, this code always return
    ServletAuthentication.FAILED_AUTHENTICATION
    instead of
    ServletAuthentication.AUTHENTICATED
    I debug through the implementation modules, all values passing from form and values returned form database were all correct, but result of weak() is not correct.
    Anyone resolved similar issue before? any help will be appreciated.
    Edited by: manetora on Jul 22, 2009 12:58 PM

    The problem was solved.
    When I deploy Custom Authentication Provider, I set the Control Flag to "SUFFICIENT"
    Control flag for Default Weblogic Authentication Provider was set to "REQUIRED" by default.
    This give error and return failed value when validating user login.
    Custom Authentication Provider passed, but Default Weblogic Authentication Provider was not.
    Fixing it by set control flag for both to "SUFFICIENT"!

  • Generate SDK Documentation Using ASDoc

    I am trying to obtain a copy of the toplevel_classes.xml for the entire flex framework. I need the xml file as I suffer from RSI (violins out!) and I use the xml file to generate Voice Commands to help me dictate the code.
    I found an excellent article by Rob Dixon about how to generate the toplevel_classes.xml which apparently is not documented in livedocs.
    http://rantworld.blogs.com/flashlit/2007/02/use_asdoc_to_dr.html
    I am able to generate the required file for small projects, but when it comes to generating the code for the entire current version of the flex sdk, I am at a loss. I have checked out the latest version of the SDK from the svn repository but when I run the asdoc ant task I am faced with a number of errors, which mean no output is generated. I found a bug in the Flex Bug and Issue Management System which seems to relate to my problem. I made a clone of an original issue which was deemed to be resolved, please see key SDK-16843 in the issue management system for info. Please vote for resolution if you think the issue is worthy.
    http://bugs.adobe.com/jira/browse/SDK-16843
    I know that what I need to do is possible, I found out that the technique was used to generate some posters of the entire flex framework, these posters are awesome, I am going to get some printed. See the following link for details.
    http://www.onflex.org/ted/2006/10/cube-wallpaper-as3-and-flex-api.php
    Ideally I would like to include the data visualisation components in the documentation output (in fact as much of the flex framework as possible) I have worked out how to do this by following instructions given on the Flex Docs blog which enables me to have the source code for these components available. I am not sure how to set up the asdoc tool to ensure that these classes are included in the doc output.
    http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html
    My question comes down to this: Does anyone know how to generate the document I require for the entire framework? Your help is most appreciated.

    Having same issue on one of our systems, running ant task for
    asdoc (and off command line)
    Other system is not affected by the issue.
    Offending line in class-files.xsl has redirect:write element
    with select attribute - Xalan docs say that ‘file’ OR
    ‘select’ attributes are OK (ASDoc XSL has a select but
    no file attribute)
    http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html
    Tried with several JDKs (1.6.0_12, 1.5.0_6), still
    investigating ...

  • Human Task JSPs not deploying on SOA 10.1.3.1 production

    Hi All,
    I am trying to use a custom JSP for a Human Task on SOA Suite 10.1.3.1 & JDev 10.1.3.1. It seems that the JSPs are not being deployed, or they are being deployed in the wrong place.
    The error I get in the Worklist application, when I try to view a task is:
    The requested URL /default/FridayMorning/1.0/HumanTask1/HumanTask1.jsp was not found on this server.
    I have tried this on multiple SOA Suite server machines, one with only one domain, and one with multiple domains, and have also tried developing the project on different JDevelopers on different machines, with the same result.
    I could not find the JSP registered anywhere on the AS Control. I understand they are meant to be deployed under orabpel?
    The BPEL Suitcase does not contain any jsp files, and in the output directory, there is a .jsps folder which contains the java and class files that relate to the JSPs.
    To recreate:
    Open JDev
    Create a new application
    Create a new BPEL project
    Drop a Human Task into the process
    Give it a name
    Click on the magic wand to define the task
    Give it a name
    Click on the + to add a parameter, select the payload of inputVariable
    Click on the + to add someone to route to, pick a user
    Save
    Close Human Task
    Save process
    In the Applications Navigator, expand the project, right click on the HumanTask folder and select Auto Generate Simple Task Form
    Save all
    Build all
    Deploy to BPEL server
    Go to BPEL console, start the process
    Go to BPEL worklist, select the task
    The error appears.
    We have also tried using custom JSPs (instead of simple ones).
    Also, I noticed that if you delete task form files from the popup menu, and then regenerate them, you only get the .tform file, no JSPs are generated.
    Can anyone else verify this happens to them?
    Thanks,
    Mark Nelson

    OCMS stands for Oracle Communication and Mobility Server and is basically a SIP Container embedded as a hook into OC4J 10.1.3.1. I'm using JDK 1.5.0_12-b04. Wondering if there's any other way to check configuration of the JSP compiler.
    Thanks for your help,
    Adam

Maybe you are looking for

  • No recovery partition - no disk creator either

    urm this will be a weird one... I have a new tosh laptop brought for me through the DSA scheme in the UK (i'm currently a student) and well the supplying company have removed the Toshiba install of windows and given me their custom one including sett

  • Correlating VPN assigned IP address with particular users - CSACS and ASA

    We have an ASA running 7.0(6)8 and use CSACS v4.1 For remote access, we have VPN groups set-up on the ASA. Our remote users connect to our network, are authenticated via the CSACS server, then are assigned an IP address from the relevant address pool

  • Returning arrays using JDBC 2.0 and JDK 1.2.2

    I am able to return a varray from an PL/SQL stored procedure to a Java program using the Oracle JDBC 8.1.6 driver classes (oracle.jdbc.driver.* and oracle.sql.ARRAY). I want to avoid using the Oracle specific classes to do this and instead just use t

  • SAPNW7 Abap Trial installation problem

    Hi all,      I'm trying to install the SAPNW7 Abap Trial SP12, the installation ends correctly but it skips the MaxDB installation step... so I've the application server installed, not the DB. Any idea ? Thanks in advance,      Gianluca

  • My iphone don't turned on the Wi-Fi

    Please, I don't acess to wi-fi