Running problem with a translet & Java

Hi!
I'm usign JDK 1.4 and Xalan 2.6.0.
I'm able to compile the stylesheet filterAbsolutePathEscanearFuentes.xsl with the command line utility:
java org.apache.xalan.xsltc.cmdline.Compile filterAbsolutePathEscanearFuentes.xsl
However, when I try to run the XSL transformation using the generated translet, with the command line utility:
java org.apache.xalan.xsltc.cmdline.Transform input.xml filterAbsolutePathEscanearFuentes
the next error appear:
Exception in thread "main" java.lang.VerifyError: (class: filterAbsolutePathEscanearFuentes, method: topLevel signature: (Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V) Bad type in putfield/putstatic
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at org.apache.xalan.xsltc.cmdline.Transform.doTransform(Transform.java:100)
at org.apache.xalan.xsltc.cmdline.Transform.main(Transform.java:297)
Could you help me, please? I don't know what's the problem.
Thank you so much for read this e-mail.

It blocks because whoever is reading the other end is
slow and all the intermediate buffers have been
filled up. There is nothing short of NIO that you can
do about it at the writing end. You need to
investigate why the reader is slow.That was it! The application was running in debug mode, and my read loop sometimes logs statistic info. Which is bad when blocked. Now I have thrown out the unnecessary debug statements, and it runs smoothly. Thanks alot ejp!

Similar Messages

  • Problem with win2000sp3 and Java web start

    I have JRE and Java web start (1.2.0_01, build b01) which come downloading file j2re-1_4_1_01-windows-i586-i.exe from sun.
    I have win2000pro running on my PC.
    I had updated win2000 to service pack 2 and everything was fine.
    Now i decided to update to service pack 3 (in the process I also updated other components) from Microsoft and:
    1) Java applets seem to be running fine within i.e.
    2) If i try to run an application from java web start my PC freezes and I have to restart it.
    3) Staroffice 6.0, which runs on Java, seems to be fine.
    I reinstalled both sp3 and jre etc, with no result.
    Is this a known problem?
    Thanks to all.
    Maurizio

    I suspect that you have hit a known problem with Swing on Java 1.4.1 with buggy video drivers. Do you have an ATI card? They are the worst offenders. ATI released new drivers for its Radeon line today. They fix the problem.

  • [SOLVED] Problem with Vuze and Java RE x86_64

    Hello all !
    First of all, sorry if this issue was posted before, but find no related issue similar to mine.
    Using pacman, I successfully installed JRE (version 6u16-1-x86_64) and Vuze (version 4.2.0.8-1, former Azureus), but Vuze doesn't want to start.
    Running the Vuze's executable in the gnome-terminal, I notice messages from vuze informing it can't find Java executable ("Java exec not found in PATH, starting auto-search..." AND "OOPS, unable to locate java exec in /usr/java/latest /usr/java /usr/lib/jvm/latest /usr/lib/jvm hierarchy") and therefore cannot start the Vuze UI. I also tried but failed in verify the version of Java with the command "java -version" due to command not found.
    What is the best approach to fix this problem with Java 64 bits?
    Thanks in advance
    Last edited by josephg (2009-09-28 18:55:56)

    peart wrote:Just log out and back in, most likely.  There are scripts in /etc/profile.d/ that need to be run to set up your java environment.  They get run automatically when you log in.
    Yep, perfect answer - issue solved. Thanks a lot!

  • Startup Problems with CQ5.6, Java 1.7, and OSX 10.8

    I'm having a problem with installing CQ5.6 on OSX 10.8 with Java 1.7.  Installing with Java 1.6 is ok, and on OSX 10.7 is ok, but the combo of 10.8 and java 1.7 is having problems.  I've found two issues, but it hasn't gotten us to a solution:
    1) Just out of the box, I get an error connecting to the repository, with the root cause :
    Caused by: java.io.IOException: Could not create a listener on any of the following ports: [8088, 8089, 8090, 8091, 8092, 8093], and could not connect to another cluster node
    I then found this answer: http://www.eyelock.net/blog/archives/490 - and tried starting up with that JVM startup param.
    2) Then, the IOException went away, but was left with the Unknown Host Exception - described here: http://blogs.adobe.com/dmcmahon/2012/09/03/cq5-5-javax-jcr-repositoryexception-unable-to-r egister-data-store-in-cluster/
    After modifying the hosts file and restarting, I'm still having problems.  Anyone else have problems with this combo?
    Thanks in advance.
    - David

    Hi David,
        The envirnoment you are running does it have internet connection?  Please try with adding alias[1].  If does not solve let us know exact stack trace.
    [1]    sudo ifconfig en0 alias 127.0.0.1   
    Thanks,
    Sham

  • Problem with a Timer (Java.util)

    Hello guys,
    I have a small problem with Java timer. The problem is I wanne do some task let's say after 5 seconds, so I created a timer and set its delay to 5000 milli seconds and run my program to see that the task is well performed but the program doesn't end. I tried the timer.cancel() method or tried to assign it to null.... but never works.
    So how do i make the program stop gracefully after the scheduled task finishes.
    My Code...
    int delay = 5000;  
              timer = new Timer();
              //timer.schedule(task, delay)
              final boolean flag =true;
              timer.schedule(new TimerTask() {
                   public void run() {
                        System.out.println("hello");       // the program is still waiting after executing this.... why?
              }, delay);
              // timer.cancel();     
              System.out.println("ccc"); // these two are printed gracefully before the scheduled task... that's good.
              System.out.println("ddd");So any idea on how to solve this problem... make the timer stop after executing the required task.
    Thanks in advance

    Have a read of the JavaDocs, someone went to great lengths to write these to save you headaches like this.
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Timer.html
    Have a play around with this code un-commenting the cancel, runTimerInDifferentScope and garbage collection call to see how it behaves each time.
    import java.util.Timer;
    import java.util.TimerTask;
    public class TimerExample {
         public static void main(String[] args) {
              final Timer timer = new Timer();
              timer.schedule(new TimerTask() {
                   @Override
                   public void run() {
                        System.out.println("[A] After 1 second!");
                        //timer.cancel();
              }, 1000);
              System.out.println("[A]");
              //runTimerInDifferentScope();
              //System.gc();
         private static void runTimerInDifferentScope() {
              final Timer timer = new Timer();
              timer.schedule(new TimerTask() {
                   @Override
                   public void run() {
                        System.out.println(" After 1 second!");
                        //No need to cancel me, I will be garbage collected
              }, 1000);
              System.out.println("[B]");
    Forgot to mention that the call to System.gc() was necessary to clear the timer. This is not something you should depend on (the garbage collector) in your application. I used it in this example because it's likely it would never run with such a small program and plenty of heap space left. If in doubt then use timer.cancel() as with the first example.
    Edited by: michael- on Dec 15, 2009 12:42 PM

  • Problem with firewall and java on line sites internet explorer

    i have been experiencing problems with java on line games because the firewall has blocked usage.On two of them when i press play to play the game a message appears error on page.If i dowload mozilla will i have the same problems? also when downloading from my gmail account again error on page. When i donload your browser do i click on save or open?
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; WinNT-EVI 27.03.2010)

    Well... good; when we help each other here, we can't
    assume that any step has been taken, unless it's been
    specifically identified. I'm sure that makes it all
    the more frustrating, since you are a very experienced
    user.
    Now, then:
    -- since you have reinstalled the Java Update; and
    -- if you open your Help >> Installed Plug-ins, and
    scroll down the list and find these three items:
    Java Plug-in for Cocoa -- Java 1.4.2 "JavaPluginCocoa.bundle"
    Java Plug-in (CFM) -- Java 1.3.1 "Java Applet Plugin Enabler"
    Java Plug-in "Java Applet.plugin"
    -- and if Enable Java and Enable JavaScript are checked in:
    Safari >> Preferences >> Security, as you say they are; and
    -- if Enable Plug-ins is checked in the same section,
    as you say it is; and
    -- you have repaired permissions, as you say you have; and
    -- you have emptied your Cache; and
    -- your Icons folder ({YOU}/Library/Safari/Icons) has been
    trashed if it is over 750 KB; and
    -- you have Quit, then relaunched Safari after all this,
    as you say you have; and
    -- your {YOU}/Library/Caches and {YOU}/Library/Caches/Safari
    folders have read and write permissions
    ...then, I'm currently at a loss as to what else to suggest.

  • Problem with DigiChat and java

    I can't get into a chat room because of a problem with digichat and java

    can get a  java for mac book pro

  • Getting problem with the new java.util.concurrent package

    i m using the new concurrency package of jdk 1.5 in my code. see the line:
    Executor threadPool = Executors.newCachedThreadPool();
    about this, api doc says Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available
    but i dont find this method to create new threads whenever required. please tell me about this.
    in my code, in some rare cases many threads r created, and very difficult to detect the number of active threads.
    as the previous one failed i tried with another one newFixedThreadPool(int). but here i got another problem. it works successfully but i dont understand what should be the size of the pool. i tried with 1000, it works well, but in a very rare case, it failed also. then i tried with 10000. but i m still confused, i dont know whether it would work always or not. with traditional threads my code never fails.
    please tell me, what should be the size of the pool and also let me know what is the problem with the first one (newCachedThreadPool)

    The thread pool should not be more than 100 threads. Ideally you should only have a small number of threads per CPU. If your threads are not long running it is possible that you could add 10,000 runnables but on start a small number of threads. Note, adding a thread take a non trivial amount of time so while the thread is added, all the others could finish. This could mean the number of threads could be 140 or smaller.
    Have you looked at the code to see what it does?

  • Probleme with versions of java

    I've copmiled my Applet with java
    1.3.1_16 but doesn't work with the 1.3.1_01 version

    What else did you expect? You can't expect that your applet works with all older java versions... And what is the problem???
    Thea

  • Ebay - cannot copy and paste or type in 'decribe your item' box. Ebay support said it may be a problem with firefox and java and to contact you.

    I had the same problem with IE9. Ebay said try Mozilla as browser so I downloaded that but same problem.
    the 'Sell your item' page allows me to type in all relevant info except for the box where you have to provide a description. Using copy and paste, it can take several hours to paste into the box! Now with Mozilla the same is happening and I haven't yet been able to paste - or even type - anything after several hours wauting for the spinning thing to stop.

    See also:
    *https://support.mozilla.org/kb/firefox-opens-transparent-or-blank-window

  • Services are up and running - problem with browser access to Apps instance

    We are using 11.5.10 and I have just finished a clone from our TEST environment.
    We cannot connect to the login screen however.
    I suspect there is a problem with the address we are using
    http://*****.********l.com:8002/OA_HTML/AppsLocalLogin.jsp is the address for our TEST instance. and 8003 was for the previous encarnation of our newly cloned system.
    Which configuration file can I check to see how this instance was configured?
    I am looking at the adcfgclone returns and see nothing much except
    Target system proxy hostname (used default)
    Target system proxy port [80]: (left as this)
    Should I check the context file for the new instance?
    I am checking the webport , but no luck.
    Again, in the context file, I see
    <oa_web_server>
    <!-- Host & Domain -->
    <hostname oa_var="s_webhost">****cl</hostname>
    <externURL oa_var="s_external_url">http://****cl.****.com:8004</externURL>
    (8004 was the last port used for this instance before cloning)
    Should I check any specific table in the new instance??
    Thanks,
    DA
    Or am I jumping the gun here? Do I need to initialize paraemeters first? (note 216205.1)
    Edited by: Dan A on Oct 3, 2008 12:37 PM
    Edited by: Dan A on Oct 3, 2008 12:39 PM
    Edited by: Dan A on Oct 3, 2008 12:55 PM

    Well, checking here oracli3/oracle/devora/iAS/Apache/Apache/logs in the error_log :
    I see
    Cannot load /oracli3/oracle/devora/iAS/Apache/Apache/libexec/mod_mmap_static.so
    into server: A memory address is not in the address space for the process.
    But the last date I see is for June (although the file itself is dated from yesterday)
    Furthermore, in the error_log_pls, I see similar returns but again, the last date is from August:
    Cannot load /oracli3/oracle/devora/iAS/Apache/Apache/libexec/mod_mmap_static.so
    into server: A memory address is not in the address space for the process.
    Syntax error on line 232 of /oracli3/oracle/devora/iAS/Apache/Apache/conf/httpd_
    pls.conf:
    Cannot load /oracli3/oracle/devora/iAS/Apache/Apache/libexec/mod_mmap_static.so
    into server: A memory address is not in the address space for the process.
    ...

  • Anyone else having problem with the latest JAVA update?

    I'm not sure if it comes from Apple this or flip4mac. But anyway it said the other day, we think you should have this update it will make things work better. So I thought, what the heck, I might as well. Only, since I've installed the update I've have nothing but problems with the online games at yahoo. Keep getting stale pages, wont load that sort of thing. It's very frustrating, certainly since you have to type the screwed up letters on the screen everytime, and they are barely legible to the human eye most times.
    Message was edited by: STU9000
    Message was edited by: STU9000

    System Preferences->Software Update and review what was installed, then go to http://www.apple.com/downloads/macosx/apple/ and see what they were all about.

  • Problems with jsresources SingleChannelStereoAudioInputStream.java example

    I've noticed something quite peculiar with the SingleChannelStereoAudioInputStream.java example. The algorithm seems to be able to place the mono waveform on either the left or right channel (I confirm this using the Adobe Audition waveform display), but instead of leaving the other channel completely silent, it creates a periodic noise spike every other couple of seconds. I've tried this with many mono audio files with the same results. Has anyone else experienced this?
    Thanks in advance.

    Thanks for the quick reply.
    Unfortunately, whether sm_bOptimizeSilenceWriting is set to true or false, the results are the same. I'm not quite sure which array they're referring to when they state: +"This assumes that the array has been filled with 0's outside of this class, which is often the case."+
    The only array from the code (*m_abSilenceSample*) that seems to be filled with 0's in this example is the following:
    // A silence sample (mono) in byte representation of this stream.
    private byte[] m_abSilenceSample;
    int nSampleSizeInBytes = getFormat().getFrameSize() / 2;
    m_abSilenceSample = new byte[nSampleSizeInBytes];
    // For signed PCM representation, the values of the array
    // m_abSilenceSample are left with the initial value 0 (this
    // represents silence). For unsigned 8 bit, the value 128
    // represents silence. Therefore, the (single) byte is
    // initialized with this value. Unsigned formats with more
    // than 8 bits are not supported.
    if (getFormat().getEncoding().equals(AudioFormat.Encoding.PCM_UNSIGNED)) {
       if (getFormat().getSampleSizeInBits() == 8) {
          m_abSilenceSample[0] = (byte) 128;
       } else {
          throw new IllegalArgumentException("unsigned formats are only supported for 8 bit");
    }Unfortunately, it doesn't seem to be used in the read() portion of the code.

  • I have latest version of Java and the addin plug in is not there. I have a mac. I am not running on 32 bit. I have had so many problems with this new java updat

    I updated java to 7 up 45 (in error, this version of java does not work with vpn and according to apple, I can't go back to earlier version). The applet plugin does not show in my add ons. I am not running 32 bit. I have read and tried every article I can find. I have uninstalled and reinstalled still no luck. I have an iMac, just updated to maverick.

    See if anything here is helpful:
    *http://kb.mozillazine.org/Java#If_the_Java_plugin_does_not_appear_in_the_Add-ons_Manager_even_though_Java_is_installed

  • Problems With The  eGatetutorial Java Caps

    Hello i'm learning to use Java caps and i use the tutorial but when i create my project all run but my output data has don't created i put the directoy where is my xml file c:\eGate\Project3\*.xml this is in the input file
    and the output file i can't put the directory and only have s3_output.dat
    run my logicalhost
    build the project and deploy but the file dosn't created
    Please help thanks

    I had a similar problem during class and we made the following modifications. I had this happen with both 5.1.1 and 5.1.2
    running local install.
    on the inbound file eway e.g. eaFileIn under the parameter settings I had to change the "/" to a back slash "\"
    so from C:/temp to C:\temp
    next we had to modify the file eway properties in the connectivity map
    On the inbound
    Input file name *Input.dat
    Polling interval 5000 **Note you can set this to what you want 5 seconds works for me
    Remove EOL set to False
    Multiple records per file False
    Maximum bytes per record 4096
    Encoding "blank"
    SerialMode False
    Resend On Error False
    For the outbound same thing for the directory in the environment explorer
    Output file name the name you want to give it, if you don't need to have xml, you can put a "." dat
    e.g. FileOut%d.dat
    Hope this helps,

Maybe you are looking for

  • Mail on my MacBook pro not working

    Good morning. My mail account on my 13 inch MacBookPro has stopped working and I am out of ideas. I can receive my mail on the iMac, the 15inch MBP and on the iTouch, synchronization is working and I can also receive mail via MobileMe.Also my wife us

  • ITunes won't open, error -45054

    So a couple weeks ago, my MacBook Pro would not turn on. I had a similar problem a few months ago where the issue was the startup disk was full. I have a 256 GB hard drive so it can fill up fast sometimes. I had a back up of my full iTunes library so

  • Need desperate help removing residue

    I need a quick and easy way to remove residue from the top cover of my MacBook Pro. I put a bunch of stickers a while back and now that I removed them the residue is still intact. I have tried everything from rubbing alcohol,blow dryers,peanut butter

  • Aperture, iPhoto, Lion – magic problem [solved]

    Hello. I would like to share my experience, may be it will be useful for somebody. On MacBook Air (belongs to my wife) was installed iPhoto and decided to install Aperture, to sync our photos. It was around 80GB free space (Finder). When I installed

  • Regadrding select statements

    Hello to all Here in my requirement i did one select query logic bt performance wise it is not working proper way if u find any changes relevant to below select statement plz reply me here is my Select Query Extract all the data from the database tab