Simulating an ALU in java?

Hi-
I am trying to simulate an ALU in java, i have written methods to do +,-,!,&&,||,^. I have different opcodes for each of the operations, I was wondering how i could use a simulated mux to pick between the different operations. I have written an 8 to 1 mux to do it, but am not sure how i would go along picking each of the operations. Also i was wondering how to do multiplication. I have each operand represented in a boolean array.
/***  ADDITION:       000
     *  SUBTRACTION:    001
     *  MULTIPLICATION: 010
     *  DIVISION:       011
     *  NOT:            100
     *  AND:            101
     *  OR:             110
     *  XOR:            111
     OPCODES
public boolean[] calc(boolean[] opcode, boolean[] left, boolean[] right) {
          boolean[] result = new boolean[WIDTH];
          boolean[] add= eightBitAdd(left,right);
          boolean[] subtract=subtract(left,right);
          boolean[] not=not(left);
          boolean[] and=and(left,right);
          boolean[] or=or(left,right);
          boolean[] xor=xor(left,right);
          System.out.println(opcode[0]+" "+opcode[1]+" "+opcode[2]+" ");
          return result; //want to set result to the array picked by the opcode, not using if statements
//two to one mux
public static boolean  twoToOne(boolean  a, boolean b, boolean s) {
          return((a&&!s)||(b&&s));
// four to one mux     
public static boolean fourToOne(boolean a, boolean b,
                        boolean c, boolean d,
                        boolean s0, boolean s1){
          return(twoToOne(twoToOne(a,b,s0),twoToOne(c,d,s0),s1));
//eight to one mux
public static boolean eightToOne(boolean a, boolean b, boolean c, boolean d,
                         boolean e, boolean f, boolean g, boolean h, boolean s0,
                        boolean s1, boolean s2){
          return(twoToOne(fourToOne(a,b,c,d,s0,s1),fourToOne(e,f,g,h,s0,s1),s2));
}Edited by: ak47 on Oct 5, 2009 7:37 PM

This is just an attempt, I could be wrong
Okay, I am assuming that the opcode is actually you select line data.
An 8:1 Mux has 3 select lines S0,S1,S2.
In case of multiplexer?s, if say select line data is
S2 S1 S0
1 0 0 //4and input line data is
I7 I6 I5 I4 I3 I2 I1 I0
0 1 0 1 0 0 0 1 ,then whatever is at input line I4 will propagate to the o/p. In the above case o/p = 1.
Now, as per your requirement, you want an o/p high for select line data from 000 to 111, So you need to tie up all the input data lines to logic high or Vcc. [Refer Fig|http://i34.tinypic.com/16a5vs4.jpg]
The Truth Table is as follows,
(MSB) (LSB)
S2 S1 S0 Y
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Ask the user to enter the opcode (binary) as input.
Convert the input from string to int, i.e obtain the decimal equivalent of the binary input. Use Integer.parseInt(strOpcode,2) or define your
own method.
Write a switch case ( case 0 to case 7 and a default case). In every case invoke the corresponding arithmetic operation (function call) and it
is in the function that you must ask the user to enter the operand?s.

Similar Messages

  • Simulating Multiple Inheritance in Java

    Problem:
    I am trying to obfuscate code and create wrapper classes to access code implementation. Problem is that some parameters in methods have different types. (i.e.
    public class Example{
    ExampleImpl exampleImpl;
    public void setExample(Problem exam) {
    exampleImpl.setExample(exam); //complile error
    //error message: problemImpl is not of type problem
    public class ExampleImpl {
    public void setExample(ProblemImpl exam) {
    //do something
    The objects Problem and ProblemImpl are abstract class that provode some implementation.
    I know I have to sumulate multipule inheritance but its really have to changed the abstract classes to inherate each other. Problem with that is the ProblemImpl abstract class will be obfuscated.
    Any suggestions.

    Not quite following you but perhaps
    java.lang.reflect.proxy
    could be of service

  • Simulating console activity in Java

    Hello,
    I have a small Java program that basically uses telnet to connect to another server. Currently, the program basically acts like the regular telnet client. When I run it, I get the basic login screen that I normally get in the standard command line. I can input my username and password and login normally through the console of this program.
    I want to automate this. Basically, I want the program to detect that there is a prompt and input the correct information accordingly. So when it sees the word "login:" it puts in a username etc.
    I am using the apache.commons.net package to do this (as I was unable to find something else). The code was taken from http://www.java2s.com/Code/Java/Network-Protocol/ExampleofuseofTelnetClient.htm
    The program uses a thread to display the text onto the screen. Here is the function that takes care of this:
        public void run()
            InputStream instr = tc.getInputStream();
            try
                byte[] buff = new byte[1024];
                int ret_read = 0;
                do
                    ret_read = instr.read(buff);
                    if(ret_read > 0)
                        System.out.print(new String(buff, 0, ret_read));
                while (ret_read >= 0);
            catch (Exception e)
                System.err.println("Exception while reading socket:" + e.getMessage());
            try
                tc.disconnect();
            catch (Exception e)
                System.err.println("Exception while closing telnet:" + e.getMessage());
        }Something needs to be changed in here I'm guessing, but I have no clue what to use to achieve this. I already have it implemented using a perl script but the organization I'm with wants to standardize everything and eliminate the dependencies for this application. Any help would be greatly appreciated.
    Cheers
    P.S. I wasn't sure if this is the correct forum to post this stuff into. Please move the thread if it belongs elsewhere

    I have a bot that run inside of our subnet and monitor all our Solaris servers via telnet. The gist of the solution is to read from the stream and buffer the input until you see something you can parse. You then interpret the result and send the corresponding commands though the wire. The reason for the buffering is that the read can be discontinuous, so you might see "log" first and then follow by "in:" on the next read. The parsing won't be trivial, but you can just treat it like a simple state machine. Line length can also be problematic, as some commands could wrap its output arbitrarily, so a newline is not a reliable delimiting token.

  • Some info about simulating different events in java or jsp...

    I work as a developer and I and some collegues of mine have been thrown in to a web portal project based on Struts/Spring framework.
    Since a long gone external consult made most of the initilal work in the project and we are kind of newbis to web-development many questions have been arised so I hope my questions isn't to strange.
    We are using something called Struts Bridge which uses a RenderAction when rendering the jsp and a ProcessAction for all submits from the jsp...
    Due to the fact that the whole Portal with all menues are configured in a xml-file also means that the startpage is some kind of hardcoded and thats what we want to change. By having a Welcome page without any buttons we want to depending on type of order automatically redirekt to the right jsp-page.
    To do this we tried to, in the execute-method, directly forward to the right jsp-page in the RenderAction but this doesn't work...
    Then we tried to simulate a menuitem-click in the ProcessAction(which work if an submit is done) but since we dont know how to simulate an submit in the Welcome jsp-page the ProcessAction is never called... so we are totally stucked...
    Can anyone explain what kind of events is possible use in the jsp and java files ?
    Maby I'm totally out of scope here but please enlighten me...

    I understand that its difficult to answer this kind of question whithout any code, was more looking for a general suggestion about how others have solved this kind of problem...
    Anyway... if I put a button on the jsp page and click it manually everything works fine but we need to know how to simulate the buttonclick "by code".
    It seem like all events in this kind of web development must be trigged by actually doing a submit on a jsp-page but there must be more ways to "by code" generate an event or am I wrong?

  • Small tennis simulation in Java

    Hello, I am a new programmer and I have Several questions about how to implement object oriented features in my tennis simulation being written in Java. http://telis.edugraf.ufsc.br/apliques/2007/2/ProjetoTenis/src
    (Just cut and paste it to see the source code for my simulator)
    First I will tell how my simulation works so that you all can understand better what I need to do, how to do it and especially how to do it in an object oriented way (can have some generic programming too)
    This is how the program works
    I am doing a little tennis program in which I implement the simulation of a game of a tennis match based on random number generation and probabilities. For example, it chooses a number between 1 to 2, and if the result is 1, the player hits the first serve. If not, then the second one.
    Then, when he hits any of the two serves, it sorts a number between 1 to 10. In the first serve case, if the number is anything between 1 to 8, the server wins the point. In the second serve case, the server wins the point if the value choosed is anything between 1 to 5.
    I have three big classes, one that has the main method and creates an object that represents a tennis match.
    This object calls for a method of the class "Game", the class responsible for 'managing' a game from a tennis match.
    For now the only thing this "Game" class is doing, is holding the method responsable for controlling the serves, that as was said in the above paragrapher, are the responsables for deciding who is going to win a point. The method "saque" (serve in english) chooses a serve and then send it to a certain method of the "Pontos" (points) class to select who winned the point.This class contains three methods, each one for one of the three possibilities: first serve in, second serve in and double fault. When the winner of the point is choosed, I would like it to return the two variables that represent the points that each player will have after the point is finished,
    back to method "saque" (serve) of the Game class.
    This brings me to the first problem: methods cannot return two values. So, can I create an object composed of two fields and return it? If I can, can you guys show how to do it?. If not, what you suggest?. I need to return them because I intend to create in the "Game" class, another method, one that will control the game, or in another words, finish the program when a player collects enough points to win the game.
    Then in the "game" class, I would like to send these two values, whether they will be in an object or in another form to the "control" method that I intend to create in the same class. This brings to the second question which is: when these points will be returned, should I create this "control method" in the same class and send the values to it, or should I do something completely different to allow bigger modularization?.
    And the last question comes to the surface due to the fact that the point count changes during the game. The way it is now. at each new point 15points will be given to the variable that represents the score of one of the players.
    How should I change this value according to occasion? Should I create an object of the type "Point" to do this?
    Thanks for all the suggestions and recomendations.
    Edited by: ratzenberguer on Dec 1, 2007 4:06 PM
    Edited by: ratzenberguer on Dec 1, 2007 4:07 PM

    This brings me to the first problem: methods cannot return two values. So, can I create an object composed of two fields and return it?
    Yes. Exactly... If you really must!
    But a method should return one and only value and have no (or limited and predictable) side effects.
    So for instance a getter (ie getAttribute() method) should NOT update the attribute in the GUI (for instance) as a side effect. But a getAverage() method might reasonably cache (store) the calculated average.
    The usual approach is:
    * perform some operation which stores values in class attributes
    * retrieve those class attributes via getters.
    for example:
    studentGrades.calculateAverage();
    studentGrades.getAverage();
    studentGrades.getSum();
    studentGrades.getCount();
    If a method really must return several values, and it is only used internally (within one class) then it's best to return an "inner class" (google that). I do this fairly routinely in swing apps... for inter-thread communication. I recommend making the attributes public and final.
    If a method is used externally (between classes) then I personally will create a package level class to return the value... but only if I must.
    If the method is public then I personally won't create a public class just to return multiple values from a method... coz this is a poor public API, coz it's difficult to figure out how to use it properly.
    Obviously, If the method returns a class which is allready part of the public API then that's ok... For example: TennisPlayerBuilder.getPlayer() might return a configured TennisPlayer... coz TennisPlayer is part of the public API.
    Clear as mud right?
    Jeez I hope someone else can explain this properly... On rereading this, I'm a mess.

  • Java Error while starting simulator - Screenshot attached

    Hi experts,
    I want to get internet in my blackberry simulator(9530). For this, when I start the MDS-CS Simulator, I get the Java exception(screenshot of the exception window is in the link given).
    http://docs.google.com/Doc?id=dfzrknk_20hf6g78cc
    My Java details are.
    JAVA_HOME - D:\Java_bk\jdk1.5.0_15
    CLASSPATH - D:\Java_bk\jdk1.5.0_15\bin;.;
    Path - D:\Java_bk\jdk1.5.0_15\bin;
    Kindly help me to solve this issue.
    Regards,
    Anees

    Thanks nambar,
    So, do I need to uninstall Java 1.5 in my system to correct this and change these details corresponding to Java 6?
    JAVA_HOME - D:\Java_bk\jdk1.5.0_15
    CLASSPATH - D:\Java_bk\jdk1.5.0_15\bin;.;
    Path - D:\Java_bk\jdk1.5.0_15\bin;

  • Issue with B2B Simulator for testing Healthcare Integration in SOA 11.1.1.6

    Hi All,
    I've installed the healthcare integration patch on top of SOA 11g PS5, and am now trying out the integration scenarios as detailed here . When running the B2B simulator as detailed in the readme, I'm able to see that the ADT file is polled from /tmp/blite/test/in folder, but the same file is not put into the /tmp/blite/test/out folder as expected. Nor am I able to see the messages in the Healthcare UI dashboards, neither the SCA composite instance is instantiated in the EM console.
    The simulator log generated by B2B simulator does not show any apparent error, except for a oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform. But the process seems to have gone ahead and also shows that the message sent count as 1. Has anyone tried this integration scenario in Healthcare? Any pointers would be highly appreciated. Thanks in advance.
    Simulator log below (did not find an option to upload the file)
    FINEST: Generating Inbound configuration : 1
    Mar 8, 2013 12:07:38 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: genInboundConfig : Enter
    Mar 8, 2013 12:07:38 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: genInboundConfig : Exit
    Mar 8, 2013 12:07:38 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Generating Outbound configuration : 1
    Mar 8, 2013 12:07:38 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: genOutboundConfig : Enter
    Mar 8, 2013 12:07:38 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: genOutboundConfig : Exit
    Mar 8, 2013 12:07:38 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Generating the simulator config file...
    Mar 8, 2013 12:07:38 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Exception while generating simulator config file
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: HL7Plugin: receriver(): Parameters =tcp.receiver.port:11002
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: HL7Plugin: receriver(): Parameters =isFARequired:false
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Setting the inbound config properties...
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger log
    FINE: Please enter CTRL+C to stop the B2B-Lite
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: initialization Enter
    Mar 8, 2013 12:07:39 PM oracle.integration.platform.blocks.FabricConfigManager <clinit>
    WARNING: JRF is unable to determine the current application server platform.
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger log
    FINE: TCP Listening on port : [11002]
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: SelectionKey for port 11002
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: initialization Exit
    Mar 8, 2013 12:07:39 PM oracle.integration.platform.blocks.WLSPlatformConfigurationProvider <clinit>
    WARNING: JRF is unable to determine the current application server platform.
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: startserver Enter
    Mar 8, 2013 12:07:39 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: startserver Enter (After Initialization)
    Mar 8, 2013 12:07:40 PM oracle.dms.instrument.DMSConsole init
    FINE: DMSConsole is being initialized at 1362724660538
    Thread (id):
    pool-6-thread-1 (13)
    Stack:
    oracle.dms.instrument.Noun(Noun.java:113):<init>
    oracle.dms.instrument.Noun(Noun.java:2261):<clinit>
    oracle.tip.b2b.metric.MetricRoot(MetricRoot.java:40):<init>
    oracle.tip.b2b.metric.EndpointSensors(EndpointSensors.java:86):<init>
    oracle.tip.b2b.metric.MetricFactory(MetricFactory.java:284):getEndpointSensors
    oracle.tip.b2b.metric.B2BSensors(B2BSensors.java:282):updateEndpointStatus
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:1347):updateMetrics
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:980):processMessages
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:397):run
    oracle.tip.b2b.transport.basic.FileReceiver(FileReceiver.java:483):init
    oracle.tip.b2b.simulator.basic.Worker(Worker.java:74):run
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:886):runTask
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:908):run
    java.lang.Thread(Thread.java:662):run
    Mar 8, 2013 12:07:40 PM oracle.dms.util.ServerEnvironment getServerEnvironment
    FINE: initialization error
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.dms.util.ServerEnvironment.getServerEnvironment(ServerEnvironment.java:125)
         at oracle.dms.instrument.DMSConsole.init(DMSConsole.java:307)
         at oracle.dms.instrument.Noun.<init>(Noun.java:114)
         at oracle.dms.instrument.Noun.<clinit>(Noun.java:2261)
         at oracle.tip.b2b.metric.MetricRoot.<init>(MetricRoot.java:40)
         at oracle.tip.b2b.metric.EndpointSensors.<init>(EndpointSensors.java:86)
         at oracle.tip.b2b.metric.MetricFactory.getEndpointSensors(MetricFactory.java:285)
         at oracle.tip.b2b.metric.B2BSensors.updateEndpointStatus(B2BSensors.java:282)
         at oracle.tip.b2b.transport.basic.FileSourceMonitor.updateMetrics(FileSourceMonitor.java:1347)
         at oracle.tip.b2b.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:1005)
         at oracle.tip.b2b.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:397)
         at oracle.tip.b2b.transport.basic.FileReceiver.init(FileReceiver.java:483)
         at oracle.tip.b2b.simulator.basic.Worker.run(Worker.java:74)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
         at java.lang.Thread.run(Thread.java:662)
    Mar 8, 2013 12:07:40 PM oracle.dms.clock.ClockManager createClock
    FINE: Checking if clock (default) is loaded
    Mar 8, 2013 12:07:40 PM oracle.dms.clock.ClockManager createClock
    FINE: The class name for (default) is oracle.dms.clock.SimpleClock
    Mar 8, 2013 12:07:40 PM oracle.dms.clock.ClockManager createClock
    FINE: Called Class.forName("oracle.dms.clock.SimpleClock")
    Mar 8, 2013 12:07:40 PM oracle.dms.clock.ClockManager createClock
    FINE: Created a new instance of oracle.dms.clock.SimpleClock
    Mar 8, 2013 12:07:41 PM oracle.dms.context.DMSContextManager init
    FINE: DMSContextManager is being initialized at 1362724661670
    Thread (id):
    pool-6-thread-1 (13)
    Stack:
    oracle.dms.instrument.DMSConsole(DMSConsole.java:364):init
    oracle.dms.instrument.Noun(Noun.java:113):<init>
    oracle.dms.instrument.Noun(Noun.java:2261):<clinit>
    oracle.tip.b2b.metric.MetricRoot(MetricRoot.java:40):<init>
    oracle.tip.b2b.metric.EndpointSensors(EndpointSensors.java:86):<init>
    oracle.tip.b2b.metric.MetricFactory(MetricFactory.java:284):getEndpointSensors
    oracle.tip.b2b.metric.B2BSensors(B2BSensors.java:282):updateEndpointStatus
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:1347):updateMetrics
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:980):processMessages
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:397):run
    oracle.tip.b2b.transport.basic.FileReceiver(FileReceiver.java:483):init
    oracle.tip.b2b.simulator.basic.Worker(Worker.java:74):run
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:886):runTask
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:908):run
    java.lang.Thread(Thread.java:662):run
    Mar 8, 2013 12:07:41 PM oracle.dms.context.internal.AbstractContextManager$ContextCleaner <init>
    FINE: Creating new Context Cleaner Thread
    Mar 8, 2013 12:07:41 PM oracle.dms.trace.TraceManager init
    FINE: TraceManager is being initialized at 1362724661891
    Thread (id):
    pool-6-thread-1 (13)
    Stack:
    oracle.dms.trace.TraceManager(TraceManager.java:242):init
    oracle.dms.instrument.DMSConsole(DMSConsole.java:373):init
    oracle.dms.instrument.Noun(Noun.java:113):<init>
    oracle.dms.instrument.Noun(Noun.java:2261):<clinit>
    oracle.tip.b2b.metric.MetricRoot(MetricRoot.java:40):<init>
    oracle.tip.b2b.metric.EndpointSensors(EndpointSensors.java:86):<init>
    oracle.tip.b2b.metric.MetricFactory(MetricFactory.java:284):getEndpointSensors
    oracle.tip.b2b.metric.B2BSensors(B2BSensors.java:282):updateEndpointStatus
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:1347):updateMetrics
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:980):processMessages
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:397):run
    oracle.tip.b2b.transport.basic.FileReceiver(FileReceiver.java:483):init
    oracle.tip.b2b.simulator.basic.Worker(Worker.java:74):run
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:886):runTask
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:908):run
    java.lang.Thread(Thread.java:662):run
    Mar 8, 2013 12:07:41 PM oracle.dms.trace.TraceManager shutdown
    FINE: TraceManager is being shutdown at 1362724661895
    Thread (id):
    pool-6-thread-1 (13)
    Stack:
    oracle.dms.trace.TraceManager(TraceManager.java:1249):shutdown
    oracle.dms.trace.TraceManager(TraceManager.java:256):init
    oracle.dms.trace.TraceManager(TraceManager.java:242):init
    oracle.dms.instrument.DMSConsole(DMSConsole.java:373):init
    oracle.dms.instrument.Noun(Noun.java:113):<init>
    oracle.dms.instrument.Noun(Noun.java:2261):<clinit>
    oracle.tip.b2b.metric.MetricRoot(MetricRoot.java:40):<init>
    oracle.tip.b2b.metric.EndpointSensors(EndpointSensors.java:86):<init>
    oracle.tip.b2b.metric.MetricFactory(MetricFactory.java:284):getEndpointSensors
    oracle.tip.b2b.metric.B2BSensors(B2BSensors.java:282):updateEndpointStatus
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:1347):updateMetrics
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:980):processMessages
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:397):run
    oracle.tip.b2b.transport.basic.FileReceiver(FileReceiver.java:483):init
    oracle.tip.b2b.simulator.basic.Worker(Worker.java:74):run
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:886):runTask
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:908):run
    java.lang.Thread(Thread.java:662):run
    Mar 8, 2013 12:07:41 PM oracle.dms.trace.TraceAggregator shutdown
    FINE: TraceAggregator is being shutdown at 1362724661900
    Thread (id):
    pool-6-thread-1 (13)
    Stack:
    oracle.dms.trace.TraceManager(TraceManager.java:1315):shutdown
    oracle.dms.trace.TraceManager(TraceManager.java:1249):shutdown
    oracle.dms.trace.TraceManager(TraceManager.java:256):init
    oracle.dms.trace.TraceManager(TraceManager.java:242):init
    oracle.dms.instrument.DMSConsole(DMSConsole.java:373):init
    oracle.dms.instrument.Noun(Noun.java:113):<init>
    oracle.dms.instrument.Noun(Noun.java:2261):<clinit>
    oracle.tip.b2b.metric.MetricRoot(MetricRoot.java:40):<init>
    oracle.tip.b2b.metric.EndpointSensors(EndpointSensors.java:86):<init>
    oracle.tip.b2b.metric.MetricFactory(MetricFactory.java:284):getEndpointSensors
    oracle.tip.b2b.metric.B2BSensors(B2BSensors.java:282):updateEndpointStatus
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:1347):updateMetrics
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:980):processMessages
    oracle.tip.b2b.transport.basic.FileSourceMonitor(FileSourceMonitor.java:397):run
    oracle.tip.b2b.transport.basic.FileReceiver(FileReceiver.java:483):init
    oracle.tip.b2b.simulator.basic.Worker(Worker.java:74):run
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:886):runTask
    java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:908):run
    java.lang.Thread(Thread.java:662):run
    Mar 8, 2013 12:07:41 PM oracle.dms.trace.TraceManager recordConfig
    FINE: DMS Transaction Tracing is enabled at MIN level
    Mar 8, 2013 12:07:41 PM oracle.dms.context.internal.AbstractContextFamily <init>
    FINER: New ContextFamily created [0000Jp8i2el0vlwLsES4yX1HEOSp000000] - invoked with stack:
    Thread (id):
    ContextCleaner (18)
    Stack:
    oracle.dms.context.internal.jse.JSEContextFamily(JSEContextFamily.java:55):<init>
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:616):newFamily
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:255):getContext
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:63):getContext
    oracle.dms.context.DMSContextManager(DMSContextManager.java:413):getContext
    oracle.dms.context.DMSContextManager(DMSContextManager.java:395):getContext
    oracle.dms.context.internal.AbstractContextManager$ContextCleaner(AbstractContextManager.java:1022):run
    Mar 8, 2013 12:07:42 PM oracle.dms.context.internal.AbstractExecutionContext <init>
    FINER: New AbstractExecutionContext created [0000Jp8i2el0vlwLsES4yX1HEOSp000000, 0] - invoked with stack:
    Thread (id):
    ContextCleaner (18)
    Stack:
    oracle.dms.context.internal.jse.JSEExecutionContext(JSEExecutionContext.java:108):<init>
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:619):newFamily
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:255):getContext
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:63):getContext
    oracle.dms.context.DMSContextManager(DMSContextManager.java:413):getContext
    oracle.dms.context.DMSContextManager(DMSContextManager.java:395):getContext
    oracle.dms.context.internal.AbstractContextManager$ContextCleaner(AbstractContextManager.java:1022):run
    Mar 8, 2013 12:07:42 PM oracle.dms.context.internal.jse.JSEExecutionContext activate
    FINER: JSEExecutionContext activated [0000Jp8i2el0vlwLsES4yX1HEOSp000000, 0] - invoked with stack:
    Thread (id):
    ContextCleaner (18)
    Stack:
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:269):getContext
    oracle.dms.context.internal.jse.JSEContextManager(JSEContextManager.java:63):getContext
    oracle.dms.context.DMSContextManager(DMSContextManager.java:413):getContext
    oracle.dms.context.DMSContextManager(DMSContextManager.java:395):getContext
    oracle.dms.context.internal.AbstractContextManager$ContextCleaner(AbstractContextManager.java:1022):run
    JSEExecutionContext instance: 0000Jp8i2el0vlwLsES4yX1HEOSp000000,0
    m_thread (id): ContextCleaner (18)
    m_suspended: false
    m_ctxContentMap: null
    m_ctxGlobalMap: 0
    m_ctxLocalMap: null
    m_inheritable: true
    m_listeners: null
    m_ctf:JSEContextFamily instance:
    mECID: 0000Jp8i2el0vlwLsES4yX1HEOSp000000
    mCtxMap: 1
    mGlobalMap: 0
    mPropagateKeys: null
    mLogKeys: null
    mLimitKeys: null
    Mar 8, 2013 12:07:42 PM oracle.dms.context.internal.AbstractContextManager cleanup
    FINE: AbstractContextManager.cleanup - Before Cleanup: JSEContextManager Class:
    mFamilyMap:1
    mCtxStashMap:0
    mCtxSuspendMap:0
    Mar 8, 2013 12:07:42 PM oracle.dms.context.internal.AbstractContextManager cleanup
    FINE: AbstractContextManager.cleanup - After Cleanup: JSEContextManager Class:
    mFamilyMap:1
    mCtxStashMap:0
    mCtxSuspendMap:0
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger log
    INFO:
    Message Body :
    Binary Data Not Displayed
    Message Parameters:
    id = 1362724662068-644430531
    Header Parameters:
    filename=MyCompany_ADTA03_2.3.1_1.txt
    filesize=450
    file_ext=txt
    fullpath=C:\tmp\blite\test\in\MyCompany_ADTA03_2.3.1_1.txt
    timestamp=2011-06-24T16:16:42.000+05:30
    Associated Endpoint:
    file://C:\tmp\blite\test\in
    null :
    Message Body :
    Binary Data Not Displayed
    Message Parameters:
    id = 1362724662068-644430531
    Header Parameters:
    filename=MyCompany_ADTA03_2.3.1_1.txt
    filesize=450
    file_ext=txt
    fullpath=C:\tmp\blite\test\in\MyCompany_ADTA03_2.3.1_1.txt
    timestamp=2011-06-24T16:16:42.000+05:30
    Associated Endpoint:
    file://C:\tmp\blite\test\in
    null
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger log
    FINE: MessageperSecond ::1
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Number of Message Processed ::1
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: To Complete 1 Messages, Blite Takes 0s
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Context is instantiated - HL7 : oracle.tip.b2b.simulator.model.OutboundConfigurationType@2109778
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: CtrlNogenerator Enter
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Message Control Number:CTLID_20080910112956
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: CtrlNogenerator Exit
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Msg ControlNo : CTLID_20080910112956
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: controlnumberdata Enter
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Control Number CTLID_20080910112956
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: controlnumberdata Exit
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: the transport msg is oracle.tip.b2b.simulator.util.BliteMessage@2082b6b
    Mar 8, 2013 12:07:47 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: the transport msg is
    Message Body :
    Binary Data Not Displayed
    Message Parameters:
    id = 136272466776957083775
    name=value
    Header Parameters:
    tcp.sender.dcID=abc
    tcp.sender.sb=0xb
    tcp.sender.port=11001
    SocketType=Client
    tcp.sender.ct=true
    tcp.sender.eb=0x1c
    tcp.sender.cr=0xd
    tcp.sender.host=localhost
    Associated Endpoint:
    null
    null
    Mar 8, 2013 12:07:48 PM oracle.tip.b2b.simulator.report.BLogger debug
    FINEST: Time taken to send Request Outbound 264ms
    Mar 8, 2013 12:07:48 PM oracle.tip.b2b.simulator.report.BLogger log
    FINE: Message was sent successfully
    Mar 8, 2013 12:07:52 PM oracle.tip.b2b.simulator.report.BLogger report
    INFO:
    ------------------------- Report Summary -----------------------------
    Position after 5s
    Threads in pool : Inbound 0 0 0 Outbound: 1 0 0 Ack: 0 0 0 Internal: 1 0 0 InternalAck: 0 0 0
    MLLP::     Send =1     Ack Receive =0     Msg Receive =0     Ack Send =0
    Total Message Sent:1     Total Ack Received:0
         Total Message Received:0

    Hello All, any pointers on this would be highly appreciated. All seems fine with the setup, configuration and the server. Not sure, why is the file not being transferred to the destination folder. Also since the file is picked up, no trace is there on its whereabouts, server log does not show any info as well!!

  • Problems with the article Building JSR 168-Compliant Portlets with Sun Java

    i try to make my first portlet with the article Building JSR 168-Compliant Portlets with Sun Java Studio Enterprise
    But when start the portlet simulator in the sun java studio i have an error. I did all that the article says. Please help me!!
    Thanks and sorry for my english
    Errors generated by provider instance - see log output
    Error in provider method getContent(): com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=HarnessPortletContent.jsp, java.lang.NullPointerException
    Message: Locale string - es_ES
    Message: Obtained client type - html.
    Message: Got session property "filePath" = "null".
    Message: Locale string - es_ES
    Message: Got String property "contentPage" for channel "HarnessPortletChannel" = "HarnessPortletContent.jsp".
    Message: Locale string - es_ES
    Message: Obtained client type - html.
    Message: Client path - null
    Message: Obtained template path: C:\Documents and Settings\jbonardi\jstudio_6ee_user\ps\desktop\default\HarnessPortletChannel\HarnessPortletContent.jsp
    Message: Set session property "javax.portlet.http_session_id" to object "BC7F955E23394EF2EA8772E8B60F1CC4".
    Message: Got localized String property "title" for channel "HarnessPortletChannel" = "HarnessPortletProvider".
    Message: Boolean property "isEditable" for channel "HarnessPortletChannel" does not exist.
    Message: Got localized String property "description" for channel "HarnessPortletChannel" = "HarnessPortletProvider".
    Message: String property "helpURL" for channel "HarnessPortletChannel" exists.
    Message: Got String property "helpURL" for channel "HarnessPortletChannel" = "desktop/usedesk.htm".
    Message: Locale string - es_ES
    Message: Got String property "docroot" for channel "HarnessPortletChannel" = "/portalserver/docs/".
    Message: Got String property "contentPage" for channel "HarnessPortletChannel" = "HarnessPortletContent.jsp".
    Message: Boolean property "showExceptions" for channel "HarnessPortletChannel" does not exist.
    Message: Locale string - es_ES
    Message: Obtained client type - html.
    Message: Client path - null
    Message: Obtained template path: C:\Documents and Settings\jbonardi\jstudio_6ee_user\ps\desktop\default\HarnessPortletChannel\HarnessPortletContent.jsp
    Message: Locale string - es_ES
    Message: Obtained client type - html.
    Message: Client path - null
    Message: Obtained template most specific path: C:\Documents and Settings\jbonardi\jstudio_6ee_user\ps\desktop\default\HarnessPortletChannel\HarnessPortletContent.jsp
    Message: Obtained client type - html.
    Message: Got collection property "hasHelpByMimeType" for channel "portlet_GoogleSearchPortlet.
    Message: Got localized String property "title" for channel "portlet_GoogleSearchPortlet" = "__Portlet__portlet.GoogleSearchPortlet".
    Message: Boolean property "isEditable" for channel "portlet_GoogleSearchPortlet" exists.
    Message: Got String property "entityIDPrefix" for channel "portlet_GoogleSearchPortlet" = "portlet|GoogleSearchPortlet".
    Message: Got session property "javax.portlet.portletc.renderParams.portlet|GoogleSearchPortlet|portlet_GoogleSearchPortlet" = "null".
    Message: Got session property "javax.portlet.portletc.portlet|GoogleSearchPortlet|portlet_GoogleSearchPortlet.isTarget" = "null".
    Message: Set session property "javax.portlet.portletc.portlet|GoogleSearchPortlet|portlet_GoogleSearchPortlet.isTarget" to object "false".
    Message: Obtained client type - html.
    Message: Collection property "roleMap" for channel "portlet_GoogleSearchPortlet" does not exist.
    Message: Collection property "userInfoMap" for channel "portlet_GoogleSearchPortlet" does not exist.
    Message: Boolean property "showExceptions" for channel "HarnessPortletChannel" does not exist.
    Error: Error in provider getContent()
    <<<<<<<< Stack Backtrace:
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=HarnessPortletContent.jsp, java.lang.NullPointerException
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:880)
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
         at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:546)
         at com.sun.portal.harness.HarnessPortletProvider.getContent(Unknown Source)
         at com.sun.portal.harness.ProviderHarness.createContent(Unknown Source)
         at com.sun.portal.harness.ProviderHarness.initProvider(Unknown Source)
         at com.sun.portal.harness.ProviderHarness.getHarness(Unknown Source)
         at org.apache.jsp.desktop_0005cdefault_0005charness_0005cPSSimTarget$jsp._jspService(desktop_0005cdefault_0005charness_0005cPSSimTarget$jsp.java:73)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
         at org.apache.jsp.PSSim$jsp._jspService(PSSim$jsp.java:84)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at com.sun.portal.harness.HarnessPortletProvider.doGetContent(Unknown Source)
         at _jspsC_0003a._Documents_00020and_00020Settings._jbonardi._jstudio_6ee_user._ps._desktop._default._HarnessPortletChannel._HarnessPortletContent_jsp._jspService(_HarnessPortletContent_jsp.java:215)
         at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
         at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
         at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:546)
         at com.sun.portal.harness.HarnessPortletProvider.getContent(Unknown Source)
         at com.sun.portal.harness.ProviderHarness.createContent(Unknown Source)
         at com.sun.portal.harness.ProviderHarness.initProvider(Unknown Source)
         at com.sun.portal.harness.ProviderHarness.getHarness(Unknown Source)
         at org.apache.jsp.desktop_0005cdefault_0005charness_0005cPSSimTarget$jsp._jspService(desktop_0005cdefault_0005charness_0005cPSSimTarget$jsp.java:73)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
         at org.apache.jsp.PSSim$jsp._jspService(PSSim$jsp.java:84)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
         at java.lang.Thread.run(Thread.java:534)
    >>>>>>>>
    Message: Got String property "width" for channel "HarnessPortletChannel" = "thick".

    You�ve got to unmount the portal server fs from your project, disable the portlet builder plugin (Tools->options->,,,PortletBuilder) then erase the ps folder inside your ide profile and then start the portlet builder module again. Try to simulate it again and it should work.
    Regards,
    Pablo.

  • Where can i get a simulator?

    hi,i'm a newbie to Java Card..i'm studying JavaCard and
    use OpenCard FrameWork to devlop java card applet,but it just begin,can anybody tell me where can i get a javacard simulator??or it already exists in JavaCard package or in OpenCard Framework??
    thx

    There is a simulator provided with the Java Card kit. The JCWDE is a very relaxed environment and it runs the VM of the JDK installed on your machine. Because it's running the VM of the JDK and not the JCVM ( Java Card VM ) you can invoke other APIs with your applet, like System.out.println....
    There is also an emulator provided with the Java Card kit, the C-REF. This is a JCVM simulator and is very strict. It will enforce rules that the JCWDE won't. You can also simulate EEPROM by saving your data to a file and loading it later.

  • Java.math for CLDC ?

    Hi all,
    I'm currently developing a MIDlet using WTK2.2 but the simulator does not support java.math. I need to use the package in my program, is it possible to include the package in the WTK2.2 ? How ?
    Or perhaps should i change to other simulators that support CDC? Any suggestions?
    Thanks.

    Use the search, there are several packages out there that will emulatie math function found in java.math.

  • NetBeans java card platform

    Dear All,
    I need a java card simulator to debug my java card applet code.
    I try to use Java Card Platform on NetBeans IDE 7.1 for debugging purpose. After successfully building the applet and loading it onto the simulated card environment I try to select the applet instance using the following command through the Console.
    select //aid/3F564379F5/00279CD982
    in response I receive the following error.
    "Connection reset by peer: socket write error"
    Is anyone using Java Card Platform for debugging? I would be very happy to hear how to resolve this problem.
    Thanks in advance!
    Cheers!
    Mehmet

    Mehmet wrote:
    Hello Rohit,
    If you download the Java Card Development Kit (http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javame-419430.html#java_card_kit-2.2.1-oth-JPR)
    you will have a set of sample java card applets to use.
    You can use JPShell to download the cap files(compiled applet) onto the card and send ADPU to the card to see if you get correct response.
    Following link provides all the information to set up the environment and start developing java card applets using NetBeans IDE and GPShell.
    https://minotaur.fi.muni.cz:8443/~xsvenda/docuwiki/doku.php?id=public:smartcard:javacardcompilation
    I hope this can help.
    MehmetI already have , Netbeans 7.1 and now i have gpshell 1.4.4 ,i think netbeans is capable to making .cap file, did you mean that with use of gpshell i can connect with java card through reader? gp shell would work stand alone or we need to set this to netbeans? i read the link which u passed to me, it seems very good but "it seems very tough to implement" . HELL IS WAITING FOR ME... KIDDING DEAR,
    one last thing, anything other than net beans { here we create applet and it automatically create cap file} and gp shell are require to load applet onto the card? OR these is enough to implement wholo java card application- I asked this because i get the term JCOP and etc when i read uploading applet to card.
    anyways thanks for your help.

  • Error publishing service in Service Registry

    Hi experts.
    I've configured Service Registry in a SAP PI 7.11. Everything seems to work correctly but I can't publish services there. When I try to publish from Directory or directly in Service Registry by wsdl I'm getting this error:
    com.sap.aii.ib.core.uddi.RegistryClientException: Services registry is not available; for more information, see the log
         at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishPhysicalSystems(RegistryClientDelegateProvider.java:440)
         at com.sap.aii.ibdir.server.wsquery.WSQUDDIPSPublishTB.execute(WSQUDDIPSPublishTB.java:91)
         at com.sap.aii.ibdir.core.simulation.DefaultTaskBroker.execute(DefaultTaskBroker.java:171)
         at com.sap.aii.ibdir.server.simulation.TaskQueryService.specialQuery(TaskQueryService.java:33)
         at com.sap.aii.ib.server.query.SpecialQueryServiceProvider$SpecialQueryServiceImpl.specialQuery(SpecialQueryServiceProvider.java:63)
         at com.sap.aii.ib.server.query.QueryServiceImpl.specialQuery(QueryServiceImpl.java:443)
         at com.sap.aii.ib.server.query.QueryServiceBean.specialQuery(QueryServiceBean.java:112)
         at sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:592)
         at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
         at $Proxy1646.specialQuery(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor761.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:592)
         at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:362)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:977)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    I think is a authorization problem but I have role to read and write in service registry. I can see this error in Service Registry Trace
    Invalid Response code (401). Server [http://xxxxxx:50000/uddi/api/publish/] returned message [Unauthorized].
    Any idea? Maybe the user you have to fill in Service Registry Configuration Wizard?
    Regards
    Edited by: Christian  Abad Chico on Feb 20, 2012 1:00 PM

    Hi,
    It looks like you are missing some Services Registry preconfiguration. Please find a description how to configure the Services Registry under the SAP Help document below:
    http://help.sap.com/saphelp_nwce711/helpdata/en/47/d391d7b8fc3c83e10000000a42189c/frameset.htm
    There is also a wizard that you can use for this purpose:
    http://help.sap.com/saphelp_nwce711/helpdata/en/f7/6182bd68434595ba5105a0a346efcc/frameset.htm
    Hope this helps,
    Greg

  • JVM crashes when starting application any ideals on what is causing it

    We are getting a error log generated when we startup our application. This does not occur often, but seems to happen in clusters(We get several crashes in a row) .
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0xb6bfe0a2, pid=10033, tid=1827658672
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x13b0a2]
    --------------- T H R E A D ---------------
    Current thread (0x6d002570): JavaThread "CompilerThread1" daemon [_thread_in_native, id=10042]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
    Registers:
    EAX=0x00000000, EBX=0xb706e7f0, ECX=0x00000000, EDX=0x081d66e8
    ESP=0x6cefc624, EBP=0x6cefc668, ESI=0x081579c8, EDI=0x0000004f
    EIP=0xb6bfe0a2, CR2=0x00000000, EFLAGS=0x00010216
    Top of Stack: (sp=0x6cefc624)
    0x6cefc624: 0000004e 00000014 00000002 6cefc660
    0x6cefc634: b706e7f0 6cefc688 0818eacc 00000000
    0x6cefc644: 6d0c5288 00000000 00000000 081d7378
    0x6cefc654: 00000002 00000014 b706e7f0 b7017408
    0x6cefc664: 081c8cd0 6cefc6a8 b6bfde0d 081d66e8
    0x6cefc674: 081c8cd0 00000050 6cefc9e0 081579c8
    0x6cefc684: 081c8cd0 00000000 00000000 ffffffff
    0x6cefc694: 0000004e 00000004 b706e7f0 6cefcf90
    Instructions: (pc=0xb6bfe0a2)
    0xb6bfe092: 08 83 ec 0c 8b 42 04 8b 04 b8 89 45 d8 8b 4d d8
    0xb6bfe0a2: 8b 00 51 ff 90 c0 00 00 00 89 c6 89 04 24 e8 db
    Stack: [0x6ce7d000,0x6cefe000), sp=0x6cefc624, free space=509k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x13b0a2]
    V [libjvm.so+0x13ae0d]
    V [libjvm.so+0x13b676]
    V [libjvm.so+0x4283e7]
    V [libjvm.so+0x1a216a]
    V [libjvm.so+0x19e46a]
    V [libjvm.so+0x1474b3]
    V [libjvm.so+0x1a6929]
    V [libjvm.so+0x1a6281]
    V [libjvm.so+0x4c8366]
    V [libjvm.so+0x4c2ba3]
    V [libjvm.so+0x424338]
    C [libpthread.so.0+0x4dec]
    Current CompileTask:
    opto: 3% com.sun.org.apache.bcel.internal.generic.InstructionList.setPositions(Z)V @ 28 (511
    bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x6d003920 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10043]
    =>0x6d002570 JavaThread "CompilerThread1" daemon [_thread_in_native, id=10042]
    0x6d001620 JavaThread "CompilerThread0" daemon [_thread_in_native, id=10041]
    0x6d000690 JavaThread "AdapterThread" daemon [_thread_blocked, id=10040]
    0x080f93b8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10039]
    0x080f7f88 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=10038]
    0x080f6388 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=10037]
    0x080e7ed0 JavaThread "Finalizer" daemon [_thread_blocked, id=10036]
    0x080e68f8 JavaThread "Reference Handler" daemon [_thread_blocked, id=10035]
    0x0805da48 JavaThread "main" [_thread_in_Java, id=10033]
    Other Threads:
    0x080e4468 VMThread [id=10034]
    0x6d004e50 WatcherThread [id=10044]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 5760K, used 1820K [0x6da20000, 0x6e060000, 0x74be0000)
    eden space 5120K, 23% used [0x6da20000, 0x6db471c0, 0x6df20000)
    from space 640K, 100% used [0x6dfc0000, 0x6e060000, 0x6e060000)
    to space 640K, 0% used [0x6df20000, 0x6df20000, 0x6dfc0000)
    tenured generation total 51008K, used 2964K [0x74be0000, 0x77db0000, 0xada20000)
    the space 51008K, 5% used [0x74be0000, 0x74ec51c8, 0x74ec5200, 0x77db0000)
    compacting perm gen total 16384K, used 5615K [0xada20000, 0xaea20000, 0xb1a20000)
    the space 16384K, 34% used [0xada20000, 0xadf9bf20, 0xadf9c000, 0xaea20000)
    No shared spaces configured.
    Dynamic libraries:
    08048000-08057000 r-xp 00000000 68:05 69618 /usr/jdk1.5.0_06/bin/java
    08057000-08059000 rwxp 0000e000 68:05 69618 /usr/jdk1.5.0_06/bin/java
    08059000-08782000 rwxp 00000000 00:00 0
    6c300000-6c389000 rwxp 00060000 00:00 0
    6c389000-6c400000 ---p 00105000 00:00 0
    6c408000-6c40e000 r-xp 00000000 68:05 528500 /usr/jdk1.5.0_06/jre/lib/i386/libnio.so
    6c40e000-6c40f000 rwxp 00005000 68:05 528500 /usr/jdk1.5.0_06/jre/lib/i386/libnio.so
    6c40f000-6c423000 r-xp 00000000 68:05 528499 /usr/jdk1.5.0_06/jre/lib/i386/libnet.so
    6c423000-6c424000 rwxp 00013000 68:05 528499 /usr/jdk1.5.0_06/jre/lib/i386/libnet.so
    6c424000-6c4f7000 r-xs 00000000 68:0a 552745 /sssss/simulator/ttttt/wmbrokerclient.jar
    6c4f7000-6c4fe000 r-xs 00000000 68:0a 552713 /sssss/simulator/ttttt/jms.jar
    6c4fe000-6c654000 r-xs 00000000 68:0a 552723 /sssss/simulator/ttttt/ojdbc14_g.jar
    6c654000-6c67f000 r-xs 00000000 68:05 643160 /usr/jdk1.5.0_06/jre/lib/ext/sunpkcs11.jar
    6c67f000-6c6a5000 r-xs 00000000 68:05 643159 /usr/jdk1.5.0_06/jre/lib/ext/sunjce_provider.jar
    6c6a5000-6c769000 r-xs 00000000 68:05 643269 /usr/jdk1.5.0_06/jre/lib/ext/localedata.jar
    6c769000-6c76b000 r-xs 00000000 68:05 643157 /usr/jdk1.5.0_06/jre/lib/ext/dnsns.jar
    6c76b000-6cd7b000 r-xs 00000000 68:0a 552731 /sssss/simulator/ttttt/rtc.jar
    6cd7b000-6cd7c000 ---p 00000000 00:00 0
    6cd7c000-6cdfc000 rwxp 00001000 00:00 0
    6cdfc000-6cdff000 ---p 00000000 00:00 0
    6cdff000-6ce7d000 rwxp 00003000 00:00 0
    6ce7d000-6ce80000 ---p 00000000 00:00 0
    6ce80000-6cefe000 rwxp 00003000 00:00 0
    6cefe000-6cf01000 ---p 00000000 00:00 0
    6cf01000-6cf7f000 rwxp 00003000 00:00 0
    6cf7f000-6cf82000 ---p 00000000 00:00 0
    6cf82000-6d0fd000 rwxp 00003000 00:00 0
    6d0fd000-6d100000 ---p 00117000 00:00 0
    6d10a000-6d10d000 ---p 00000000 00:00 0
    6d10d000-6d18b000 rwxp 00003000 00:00 0
    6d18b000-6d18e000 ---p 00000000 00:00 0
    6d18e000-6d20d000 rwxp 00003000 00:00 0
    6d20d000-6d210000 ---p 00001000 00:00 0
    6d210000-6d28e000 rwxp 00004000 00:00 0
    6d28e000-6d292000 r-xp 00000000 68:05 528478 /usr/jdk1.5.0_06/jre/lib/i386/libdt_socket.so
    6d292000-6d293000 rwxp 00003000 68:05 528478 /usr/jdk1.5.0_06/jre/lib/i386/libdt_socket.so
    6d293000-6d493000 r-xp 00000000 68:05 458853 /usr/lib/locale/locale-archive
    6d493000-6d496000 ---p 00000000 00:00 0
    6d496000-6d514000 rwxp 00003000 00:00 0
    6d514000-6d517000 ---p 00000000 00:00 0
    6d517000-6d595000 rwxp 00003000 00:00 0
    6d595000-6d596000 ---p 00000000 00:00 0
    6d596000-6d61f000 rwxp 00001000 00:00 0
    6d61f000-6d637000 rwxp 00009000 00:00 0
    6d637000-6d650000 rwxp 00000000 00:00 0
    6d650000-6d7ff000 rwxp 00019000 00:00 0
    6d7ff000-6d803000 rwxp 00000000 00:00 0
    6d803000-6d837000 rwxp 00004000 00:00 0
    6d837000-6d851000 rwxp 00000000 00:00 0
    6d851000-6d9ff000 rwxp 00052000 00:00 0
    6d9ff000-6da07000 rwxp 00000000 00:00 0
    6da07000-6da1f000 rwxp 00208000 00:00 0
    6da1f000-6e060000 rwxp 00000000 00:00 0
    6e060000-74be0000 rwxp 00861000 00:00 0
    74be0000-77db0000 rwxp 00000000 00:00 0
    77db0000-ada20000 rwxp 0a5b1000 00:00 0
    ada20000-aea20000 rwxp 00000000 00:00 0
    aea20000-b1a20000 rwxp 41221000 00:00 0
    b1a28000-b1a2a000 rwxp 00000000 00:00 0
    b1a2a000-b1aa8000 rwxp 00002000 00:00 0
    b1aa8000-b1b28000 rwxp 00000000 00:00 0
    b1b28000-b3aa8000 rwxp 00080000 00:00 0
    b3aa8000-b42e3000 r-xs 00000000 68:05 86044 /usr/jdk1.5.0_06/jre/lib/charsets.jar
    b42e3000-b42f7000 r-xs 00000000 68:05 86043 /usr/jdk1.5.0_06/jre/lib/jce.jar
    b42f7000-b437c000 r-xs 00000000 68:05 86089 /usr/jdk1.5.0_06/jre/lib/jsse.jar
    b437c000-b43e5000 rwxp 00000000 00:00 0
    b43e5000-b69cd000 r-xs 00000000 68:05 86157 /usr/jdk1.5.0_06/jre/lib/rt.jar
    b69cd000-b69e0000 r-xp 00000000 68:05 528505 /usr/jdk1.5.0_06/jre/lib/i386/libzip.so
    b69e0000-b69e2000 rwxp 00012000 68:05 528505 /usr/jdk1.5.0_06/jre/lib/i386/libzip.so
    b69e2000-b6a03000 r-xp 00000000 68:05 528485 /usr/jdk1.5.0_06/jre/lib/i386/libjava.so
    b6a03000-b6a05000 rwxp 00020000 68:05 528485 /usr/jdk1.5.0_06/jre/lib/i386/libjava.so
    b6a05000-b6a10000 r-xp 00000000 68:05 528504 /usr/jdk1.5.0_06/jre/lib/i386/libverify.so
    b6a10000-b6a11000 rwxp 0000b000 68:05 528504 /usr/jdk1.5.0_06/jre/lib/i386/libverify.so
    b6a11000-b6a1c000 r-xp 00000000 68:02 32809 /lib/libnss_files-2.3.2.so
    b6a1c000-b6a1d000 rwxp 0000a000 68:02 32809 /lib/libnss_files-2.3.2.so
    b6a28000-b6a30000 rwxs 00000000 68:07 180228 /tmp/hsperfdata_rtc/10033
    b6a30000-b6a62000 r-xp 00000000 68:05 528491 /usr/jdk1.5.0_06/jre/lib/i386/libjdwp.so
    b6a62000-b6a63000 rwxp 00032000 68:05 528491 /usr/jdk1.5.0_06/jre/lib/i386/libjdwp.so
    b6a63000-b6a66000 rwxp 00000000 00:00 0
    b6a66000-b6a78000 r-xp 00000000 68:02 32793 /lib/libnsl-2.3.2.so
    b6a78000-b6a79000 rwxp 00011000 68:02 32793 /lib/libnsl-2.3.2.so
    b6a79000-b6a7b000 rwxp 00000000 00:00 0
    b6a8e000-b6aaf000 r-xp 00000000 68:02 65552 /lib/tls/libm-2.3.2.so
    b6aaf000-b6ab0000 rwxp 00021000 68:02 65552 /lib/tls/libm-2.3.2.so
    b6aba000-b6ac0000 r-xp 00000000 68:05 381015
    /usr/jdk1.5.0_06/jre/lib/i386/native_threads/libhpi.so
    b6ac0000-b6ac1000 rwxp 00006000 68:05 381015
    /usr/jdk1.5.0_06/jre/lib/i386/native_threads/libhpi.so
    b6ac1000-b6ac2000 rwxp 00001000 00:00 0
    b6ac2000-b6ac3000 r-xp 00000000 00:00 0
    b6ac3000-b7010000 r-xp 00000000 68:05 315481 /usr/jdk1.5.0_06/jre/lib/i386/server/libjvm.so
    b7010000-b7072000 rwxp 0054d000 68:05 315481 /usr/jdk1.5.0_06/jre/lib/i386/server/libjvm.so
    b7072000-b748a000 rwxp 00000000 00:00 0
    b748a000-b75bc000 r-xp 00000000 68:02 65550 /lib/tls/libc-2.3.2.so
    b75bc000-b75bf000 rwxp 00132000 68:02 65550 /lib/tls/libc-2.3.2.so
    b75bf000-b75c2000 rwxp 00000000 00:00 0
    b75c2000-b75c4000 r-xp 00000000 68:02 32789 /lib/libdl-2.3.2.so
    b75c4000-b75c5000 rwxp 00001000 68:02 32789 /lib/libdl-2.3.2.so
    b75c5000-b75d2000 r-xp 00000000 68:02 65554 /lib/tls/libpthread-0.60.so
    b75d2000-b75d3000 rwxp 0000c000 68:02 65554 /lib/tls/libpthread-0.60.so
    b75d3000-b75d5000 rwxp 00000000 00:00 0
    b75e8000-b75e9000 rwxp 00001000 00:00 0
    b75e9000-b75fe000 r-xp 00000000 68:02 32776 /lib/ld-2.3.2.so
    b75fe000-b75ff000 rwxp 00015000 68:02 32776 /lib/ld-2.3.2.so
    bfe00000-bfe03000 ---p 00000000 00:00 0
    bfe03000-c0000000 rwxp ffe04000 00:00 0
    VM Arguments:
    jvm_args: -DprocessName=Mex -Dconfig.dir=/sssss/simulator/ttttt/config
    -Dframework.properties=/sssss/simulator/ttttt/framework.properties
    -Drubberbands.dir=/sssss/simulator/ttttt/sase -Dcheckpointroot.dir=/sssss/simulator/ckpt/ttttt
    -Dcheckpoint.dir=/sssss/simulator/ckpt/ttttt/checkpoint -Xdebug
    -Xrunjdwp:transport=dt_socket,address=50002,server=y,suspend=n -Xms56M -Xmx1024M
    java_command: /sssss/simulator/ttttt/rtc.jar CentralizedController.xml
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/usr/java5
    PATH=/sssss/simulator/logs/ttttt:/usr/java/jre/bin:/usr/java/jre/bin:/usr/local/bin:/usr/kerberos/bin:/usr/java/jre/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.:.:.
    LD_LIBRARY_PATH=/usr/jdk1.5.0_06/jre/lib/i386/server:/usr/jdk1.5.0_06/jre/lib/i386:/usr/jdk1.5.0_06/jre/../lib/i386:/sssss/simulator/ttttt/lib:/sssss/simulator/ttttt/utl_timer/lib:/sssss/simulator/ttttt/utl/lib:/sssss/simulator/ttttt/mqlib/lib:/sssss/simulator/ttttt/sdi/lib:/sssss/simulator/ttttt/sase/lib:/usr/lib
    SHELL=/bin/tcsh
    DISPLAY=rtcd05.rrr.kk:0.0
    HOSTTYPE=i386-linux
    OSTYPE=linux
    MACHTYPE=i386
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGBUS: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGFPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGPIPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGILL: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x424bb0], sa_mask[0]=0x00000000, sa_flags=0x14000004
    SIGHUP: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGTERM: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    --------------- S Y S T E M ---------------
    OS:Red Hat Enterprise Linux ES release 3 (Taroon Update 4)
    uname:Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686
    libc:glibc 2.3.2 NPTL 0.60
    rlimit: STACK 10240k, CORE infinity, NPROC 7168, NOFILE 1024, AS infinity
    load average:0.51 0.36 0.24
    CPU:total 4 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 1190k(697k free), swap 2047k(2047k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for linux-x86, built on Nov 10 2005 10:56:33
    by java_re with gcc 3.2.1-7a (J2SE release)

    The server JIT compiler is crashing.
    This could be an instance of bug 6332641, which will be fixed in 1.5.0_08. It has no known workaround, other than to exclude the method being compiled.
    You may want to file a bug.

  • Oracle 9i Release 2 - Installation hangs please help

    OS: SUSE 10
    I have to Install oracle 9i Release 2(9.2.0.4.0)
    I have java-1_4_2-sun installed, and the installation directory/path is /usr/lib/jvm.
    now my question is should I change the path of JRE_LOCATION, in the oraparam.ini from
    JRE_LOCATION=../../stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/linux
    to
    JRE_LOCATION=/usr/lib/jvm
    Second
    when as user oracle, i execute the installer, it goes smooth till the "Database Configuration" page, i select the
    General Purpose > Next > now here installation progress bar stuck/hangs at 87%
    following is the output of /opt/oracle/oraInventory/logs/oraInstall2007-04-26_04-37-20AM.err
    java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't find bundle for base name resources/libRes.properties, locale en
    at java.util.ResourceBundle.throwMissingResourceExcep tion(ResourceBundle.java:712)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:683)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:546)
    at OiGeneralPortQueryRes.<clinit>(OiGeneralPortQueryRes.java:7)
    at getFreePort.performQuery(getFreePort.java:477)
    at oracle.sysman.oii.oiis.OiisCompContext.doQuery(Oii sCompContext.java:2330)
    at Components.oracle.sysman.webserver.v9_2_0_1_0.Comp Context.getCalculatedValueObject_PORT(CompContext. java:304)
    at Components.oracle.sysman.webserver.v9_2_0_1_0.Comp Context.getCalculatedValueObject(CompContext.java: 224)
    at oracle.sysman.oii.oiis.OiisCompContext.getCalculat edValue(OiisCompContext.java:612)
    at oracle.sysman.oii.oiis.OiisVariable.getCalculatedV alue(OiisVariable.java:733)
    at oracle.sysman.oii.oiis.OiisVariable.setVariable(Oi isVariable.java:1407)
    at oracle.sysman.oii.oiis.OiisCompContext.doOperation (OiisCompContext.java:991)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.doOperat ion(OiicCompsWizEngine.java:182)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
    at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelC ompsInstall.doOperation(OiicInstallSession.java:87 8)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.ite rate(OiifbCondIterator.java:140)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation (OiicPullSession.java:614)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperat ion(OiicSessionWrapper.java:177)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInsta ller.java:358)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInst aller.java:637)
    Plz help me
    Regards

    Workaround consits of two steps:
    1. Use jre 1.3.1_n (where n>10) (1.4.n use only if your platform is x86_64)
    2. execute following commands before you execute runInstaller or dbca:
    unset LANG
    unset LC_TYPE

  • A save request exceeded the quantity limits for a given structure type.

    I am running PI7.1 SP6..
    I have created all the objects and done all of the configuration in the Enterprise Service Builder and the Integration Builder and I am trying to publish the Webservice in the Service Registry, but after displaying the WSDL, and then publishing the Webservice, I get the following error:
    com.sap.aii.ib.core.uddi.RegistryClientException: A save request exceeded the quantity limits for a given structure type.
    Number of Business Entities exceeds your limit of 1 (2)
         at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishServices(RegistryClientDelegateProvider.java:338)
         at com.sap.aii.ibdir.server.wsquery.WSQUDDISrvPublishTB.execute(WSQUDDISrvPublishTB.java:112)
         at com.sap.aii.ibdir.core.simulation.DefaultTaskBroker.execute(DefaultTaskBroker.java:158)
         at com.sap.aii.ibdir.server.simulation.TaskQueryService.specialQuery(TaskQueryService.java:31)
         at com.sap.aii.ib.server.query.SpecialQueryServiceProvider$SpecialQueryServiceImpl.specialQuery(SpecialQueryServiceProvider.java:63)
         at com.sap.aii.ib.server.query.QueryServiceImpl.specialQuery(QueryServiceImpl.java:443)
         at com.sap.aii.ib.server.query.QueryServiceBean.specialQuery(QueryServiceBean.java:112)
         at sun.reflect.GeneratedMethodAccessor534.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
         at $Proxy2177.specialQuery(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.esi.uddi.sr.api.ws.PublishServicesFault: A save request exceeded the quantity limits for a given structure type.
    Number of Business Entities exceeds your limit of 1 (2)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.deserializeException(JAXWSUtil.java:357)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault(JAXWSUtil.java:327)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:987)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:703)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:673)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:167)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:120)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:83)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:64)
         at $Proxy2689.publishServices(Unknown Source)
         at com.sap.esi.uddi.sr.api.ws.ejb.ServicesRegistryProxyFacade.publishServices(ServicesRegistryProxyFacade.java:358)
         at sun.reflect.GeneratedMethodAccessor1059.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
         at $Proxy255.publishServices(Unknown Source)
         at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishServices(RegistryClientDelegateProvider.java:335)
         ... 41 more
    As always, these errors are so informative! 
    It has published the Webservice in the Service Registry, but not with the End Points...
    has anyone come across the message before and know how to fix it so I can successfully publish the Webservice???
    I have searched SDN and OSS - also opened an OSS note about another error I am experiencing...

    Hi Barry
    Have you already published for the same server or this is first time you tried and got error ?
    Did you referred Troubleshooting guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e05829a5-55aa-2a10-f694-ba8e30c3c122
    Master installation guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0301486-758c-2a10-9d84-a195556df422
    Thanks
    Gaurav

Maybe you are looking for

  • How to make file folder structure from virtual folders

    lv 2013 sp1 This is the layout of an example project, (please don't mind the horrible naming) When i create a source distribution.. no matter what settings I try, the preview is always like this: But I want the folder structure from the build to beco

  • At a CRAWL here in 23113 at .5 or less MB/s

    on terminal hold with support - any other Richmond/Midlothian issues out there?

  • Can't start gnome 3 session

    When I login either from gdm or lxdm the screen sits blue for 1~2min then a message pops up like "Oh no! Something has gone wrong... Please logout and try again" and I can only logout and nothing else. A couple of days ago I installed arch and starte

  • Time machine did not back up photos

    When I was preparing to upgrade from Mountain Lion to Mavericks, I heeded advice and purchased an external drive and backed up my iMac with Time Machine.  I was very glad I did, because I encountered the 'There is a problem with your hard disc' messa

  • ATI Display Driver

    I am trying to install the the ATI Display Driver package for a T500 without any of the applications that are included with it. In other words, I only want to install the drivers and nothing else like the Catalyst Control Center, etc. When I try to d