Deployment of same Ear/Ejbs behaving differently in different machines.

I have configured an ejb and introduced only local interface for the same. All the localhome, localinterface and ejb implementation classes are packaged inside myejbs.jar. This is placed inside myapp.ear .
//MyEjbLocal.java
public interface MyEjbLocal extends  EJBLocalObject {
    public void someMethod() throws MyRemoteException;
//MyRemoteException.java
public class MyRemoteException extends RemoteException{
}When try to deploy this under weblogic9.2, it fails with following exception,
weblogic.ejb.container.compliance.ComplianceException: In EJB MyLocalSession, method someMethod() defined in the local interface must not include java.rmi.RemoteException in its throws clause.
     at weblogic.ejb.container.compliance.EJBObjectClassChecker.checkMethodsThrowRemoteException(EJBObjectClassChecker.java:182)
Which is expected, since local interfaces should not throw RemoteExceptions, they should throw EjbException. ( as per specification ).
But the question here is, the same ear is being successfully deployed in some other machines. Dont knw how....
When I checked my server log I found out that, weblogic server is failing to deploy ejbs when it is trying to compile ejbs
*'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1247035767016> <BEA-010087> <The EJB deployment named: myejbs.jar is being recompiled within the WebLogic Server. Please consult the server logs if there are any errors. It is also possible to run weblogic.appc as a stand-alone tool to generate the required classes. The generated source files will be placed in /data/weblogic92/user_projects/domains/mydomain/servers/myserver/cache/EJBCompilerCache/12z5b5x2cmp3g.>*
But the same log is not present in other machines where it is deploying successfully.
Any idea on what could be the reason??? Why it is not working in my system??
All the machines are using same Weblogic version i.e. 9.2

Thanks Guys.
I have found the root cause of this issue i.e even though mapping program is same in 2 environments,standard functions(i.e concat Text function)  behaviour may change based on support package versions.
As i explained in previous posts
(QA mapping program not generating some of the node in IDOC as DEV does, basically its SOAP to IDOC mapping)
QA(PI7.0 SP15) and DEV(PI7.0 SP10) have different Java support package stacks, especially SAP_XITOOL component.
Untill PI7.0 SP10 concat standard function was working for Queue values but in next SP releases it wasn't working(SAP made it Value function i guess, no where its documented by SAP as far as i know).
So I am sending this issue to SAP.
Cheers,
Jag
Edited by: jag on Sep 18, 2008 11:24 AM
Edited by: jag on Sep 18, 2008 11:39 AM
Edited by: jag on Sep 18, 2008 11:42 AM

Similar Messages

  • Possible solution to avoid deadlock when two inserts happen on same table from two different machines.

    Possible solution to avoid deadlock when two inserts happen on same table from two different machines.
    Below are the details from deadlock trace.
    Deadlock encountered .... Printing deadlock information
    Wait-for graph
    NULL
    Node:1
    KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
    Grant List 2:
    Owner:0x00000013F494A980 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:376 ECID:0 XactLockInfo: 0x000000055014F400
    SPID: 376 ECID: 0 Statement Type: INSERT Line #: 70
    Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
    Requested by:
    ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
    NULL
    Node:2
    KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
    Grant List 2:
    Owner:0x0000000B3486A780 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:238 ECID:0 XactLockInfo: 0x0000002AA53383F0
    SPID: 238 ECID: 0 Statement Type: INSERT Line #: 70
    Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
    Requested by:
    ResType:LockOwner Stype:'OR'Xdes:0x000000055014F3C0 Mode: RangeI-N SPID:376 BatchID:0 ECID:0 TaskProxy:(0x000000080426E538) Value:0x30614e80 Cost:(0/41748)
    NULL
    Victim Resource Owner:
    ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
    deadlock-list
    deadlock victim=process5daddc8
    process-list
    process id=process5daddc8 taskpriority=0 logused=38828 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994026815 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.347 XDES=0x2aa53383b0 lockMode=RangeI-N schedulerid=43 kpid=14156 status=suspended spid=238 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.463 lastbatchcompleted=2014-07-25T12:46:57.463 clientapp=pa hostname=pa02 hostpid=1596 loginname=myuser isolationlevel=serializable (4) xactid=2994026815 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
    executionStack
    frame procname=mydb.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
    INSERT INTO [dbo].[Prod1] .....
    inputbuf
    Proc [Database Id = 8 Object Id = 89923542]
    process id=process5d84988 taskpriority=0 logused=41748 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994024748 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.320 XDES=0x55014f3c0 lockMode=RangeI-N schedulerid=39 kpid=14292 status=suspended spid=376 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.440 lastbatchcompleted=2014-07-25T12:46:57.440 clientapp=pa hostname=pa01 hostpid=1548 loginname=myuser isolationlevel=serializable (4) xactid=2994024748 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
    executionStack
    frame procname=pa.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
    INSERT INTO [dbo].[Prod1]....
    inputbuf
    Proc [Database Id = 8 Object Id = 89923542]
    resource-list
    keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
    owner-list
    owner id=process5d84988 mode=RangeS-S
    waiter-list
    waiter id=process5daddc8 mode=RangeI-N requestType=convert
    keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
    owner-list
    owner id=process5daddc8 mode=RangeS-S
    waiter-list
    waiter id=process5d84988 mode=RangeI-N requestType=convert

    Don't know. Perhaps these can help. I scanned the second link but didn't see much about Ending Deadlocks. I'd say the Fourth link probably has better information than the first three links. But maybe read them all just in case the Fourth is missing something
    one of the first three have.
    Deadlocking
    Detecting and Ending Deadlocks
    Minimizing Deadlocks
    Handling Deadlocks in SQL Server
    Google search for "SQL Deadlock"
    La vida loca

  • Deployment of same EAR files to two separate clustered domains

    I am currently running all my portal applications and business objects from within one 8.1 clustered environment.
    However I would like to move to an architecture where we use two 8.1 clustered server domains.
    Where:
    Clustered domain 1 is used to service requests from back office applications from within the enterprise and
    Clustered domain 2 used to service requests for external facing applications from the portal jpf's.
    The deployment issue which concerns me is that each cluster will require an identical deployment of the same ear files.
    The datasources for each of the ear's will point to a common database.
    This solution is prefered over that of deploying the ear files to just one clustered domain and calling the application from the other clustered domain
    via the remote interface, as this would incure code changes and all the associated testing etc.
    I'd like to find out if there are any issues on of concurrency with this deployment model ?
    The business objects in the ears are comprised of mainly CMP EJB's and statless session beans.
    How will the container of each cluster manage the DB concurrency of the CMP EJB's when the datasource's of the ear files in each clustered domain
    point to the same DB ? Will this cause any concurrency conflicts?

    Sounds like you have some code that is not threadsafe. Instances are interacting, probably because you are using static data that is being shared between running instances in the same jvm. If so, convert to instance data if your code is the cause.
    Check this line of code, it may be the cause:
    at jep.MySimpleEventQueue.dispatchEvent(MySimpleEventQueue.java:59)

  • Deploy PetStore Webapps and EJBs to different tiers

    Hi,
    Basically, the PetStore example deploys JSP/Web/EJBs to one node in one petstore.ear.
    I want to seperate the Web apps and EJBs to different nodes that running Weblogic
    by re-packaging the ear file to get a war file and ejb ear file. I deployed this
    war file to one node and ejb ear to another node. Is this the right approach?
    If so, how the JSP knows that the EJBs are in different node now?
    Thanks,
    Cathy

    Hi,
    Basically, the PetStore example deploys JSP/Web/EJBs to one node in one petstore.ear.
    I want to seperate the Web apps and EJBs to different nodes that running Weblogic
    by re-packaging the ear file to get a war file and ejb ear file. I deployed this
    war file to one node and ejb ear to another node. Is this the right approach?
    If so, how the JSP knows that the EJBs are in different node now?
    Thanks,
    Cathy

  • Deployment of same EAR fails on one WLS and succeeds on another!

    Hello,
    We are migrating from 10g to 11G for our SOA/ADF application.
    Step1: We installed Jdev 11G and also weblogic server that is free on OTN, on our machines. We wanted to first test the deployment on this server on our local machines before we did the deployment on our company's WL server. We were able to successfully create an EAR file (after many road blocks) and deploy the application to the free weblogic server (please note I am NOT saying the embedded WLS or the Integrated WLS).
    Step2: We used the EAR file created in the step above and used the same Jdev 11g to do the deployment but instead of connecting to the WLS on our machines, we created a server connection pointing to the company's server. We were confident that this will go smoothly but noooooooo!!!!!! We are getting the following error while deployment. The deployment is failing.
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet
    Why should this happen? We are using the same EAR and the same JDev to do the deployment. ADF domain has been extended on both the servers. After the deployment failed on our company's WLS, we used the same ear and using JDev to do the deployment again but the one on our machine. It went smoothly. What is going on here?
    Any help is appreciated.

    Can being low on system tablespace effect creating indexes in anyway? Yes it can; even if your index (or table, or package) is created in a non-system tablespace, the description of the index is stored in Oracle's dictionary tables, owned by SYS:
    OBJ$ (the list of objects)
    IND$ (the list of indexes) - or TAB$, etc
    ICOL$ (index columns) - or COL$ for tables...
    SEG$ (the list of segments)
    UET$ (the list of used extents)
    etc. These are the tables on which the dictionary views (eg USER_INDEXES) that we all know and love are based.
    These tables grow over time; eventually they too need to be extended. And if there isn't enough free space in the SYSTEM tablespace, your DDL operation fails.
    With packages/procedures/functions you require space in a plethora of tables that store the code and the compiled forms of your PL/SQL.
    HTH
    Regards Nigel

  • Servlet and EJB on different machine: Security propagation

    Hi all,
    I have an application, where my servlets and EJBS are deployed on the same machine.So
    when in my servlet a user need to authenticate himself, security credentials are
    propagated to the EJB automatically.I'd like to know in the case where the components
    are on different machine if I need to put the credential in my InitialContext
    when my servlet calls my EJB or if it is also done automatically.
    Cheers
    romain

    Say your stub is in a jar called stub.jar.
    You need to put that stub somewhere that it can be reached through a protocol for which Java has a URL type - so you can put it on a shared file system and use a file URL or behind an http server and use an http URL.
    Let's use http - put stub.jar at the docroot of a web server.
    Then, when you start your SERVER code, include this VM parameter:
    -Djava.rmi.server.codebase="http://<serveraddress>stub.jar"
    Now your client will be able to use http to load the stub file out of stub.jar through http.
    If you do use a file URL, make sure the shared directory you put your jar in is not on the client's classpath.

  • How to copy data of a table to the same but on a DIFFERENT MACHINE?

    Hello experts,
    I want to copy all entries of table TE422 to the same, but on a <u>different machine</u>. I created a transport request (workbench request using TABU) intending to copy the entire table data from QA into DEV environment.
    However, this is not working, because, in our installation, QA is on one server, and DEV on another! So, in a way, each machine seem to be transparent to the other and I cannot, or, do not know, how to specify the DEV environment as target.
    I was told that I have to do something at the OS level. That is to say, have some kind of SQL query which collects data from one and uploads it onto the other.
    Now my question is: Is there a SAP way to do this, that is to say, forget the SQL thingy and do it with some SAP transaction? If yes, how? If not, do you have a sample code which does this please?
    Your help is greatly appreciated.
    Goharjou

    Method 1:
    You can transport using ALE/IDOC, Write a simple outbound function moule in Source System and Develop a Inbound function module in target system.
    Method 2:
    Download the entire table contents into a flat file from source system by developing a simple report using WS_DOWNLOAD function module. Then Develop a report using WS_UPLOAD in target system and upload thd flat file.
    Thanks & Regards,
    Vijay

  • Can I deploy the same ear one different OS

    Hi,
              I created 1 ear file on NT and deployed using WebLogic 6.1 SP2 on NT. It
              works fine. I want to deploy it on other OS (I don't have WebLogic on other
              OS installed yet). Can it work?
              Thanks.
              C Zhang
              

    Thanks a lot.
              "William Kemp" <[email protected]> wrote in message
              news:[email protected]..
              > Same JDK, same WLS version. It should work. It's Java/J2EE/WLS. It's why
              we are
              > all here. ;-)
              >
              > Bill
              >
              > BEA wrote:
              >
              > > Hi,
              > > I created 1 ear file on NT and deployed using WebLogic 6.1 SP2 on NT. It
              > > works fine. I want to deploy it on other OS (I don't have WebLogic on
              other
              > > OS installed yet). Can it work?
              > >
              > > Thanks.
              > >
              > > C Zhang
              >
              

  • Why Same UI Page Behaves Differently on Different EBS Env.?

    Hi Experts,
    I'm checking Accessibility of our UI page in EBS, on Firefox. There are two EBS env. having the same codeline R12.2. On one env., the page shows fine, but the other one shows "No ALT text specified" for the button/graph, etc. Our product page code are the same revision. I have no idea what might cause that. Could you give me some inputs here?
    Thanks!

    ''Possibly'' because when you access the file from your hard disk (I assume that's what you mean by "try the updated web page in my browser") and when you access it from a webserever, the file type is different. If you're brought up with windows you might think that the file type is determined by the extension (.pdf) but it's not. Depending on the webserver, your operating system, and your browser, it ought to depend on the 'mime type'
    So try uploading the amended page to your webserver (in a test area) and see if it works off the web.

  • Same FM version, same file, font behaves differently on different machines

    I've been tasked with finding a "number in circle" font that my client can use in lists with up to 99 entries, without doing anything fancy. They just want to use their Numbered1 (for the first list entry) and Numbered (for subsequent list entries) styles and not have to define additional styles, do bizarre keystrokes, etc,
    I was able to solve the problem on my own machine. I found a free font called CombiNumerals LTD that did the trick. I made a list with 99 entries and the numbers looked great. Two-digit numbers were contained within one circle, just like they wanted.
    Strangely, when I moved my test file to one of the client's machines, the font did a switcheroo and didn't work at all. I ended up with numbers in semi-circles and all kinds of problems. It's very strange because both machines have the same OS (Windows XP), same service pack (3), same version of Framemaker, same everything. I'm wondering if a different registry setting is causing the problem. However, I have no clue what to look for. Any ideas?

    Hi everyone, thanks for your help. I finally figured this out. It is not a Frame issue; it's a Windows issue. My machine runs Windows XP sp3, but this possibly applies to other versions.
    To enable ligature support in Windows XP, you must enable East Asian language support:
    Click Start > Control Panel > Regional & Language Options.
    Click the Languages tab.
    Select the Install files for East Asian languages check box. Click OK.
    Windows XP may prompt you to install your Windows XP disk.
    A very simple, but rather unintuitive fix. The font works great now. If you want a two-digit number in a circle, you just type the two numbers next to each other. And numbers from 1 - 99 will appear in sequence within a Frame autonumbered list.

  • Why the same function ToolTipText behaves differently in Jar and in Class

    Hi All! In my applet I use two similar statements from javax.swing:
    jListTeaSortSelect.setToolTipText("To stop the alarm just click over here.");
    jProgressBar1.setToolTipText("To stop the alarm just click over here.");
    Both work correctly when I run my applet from classes.
    Problem: When I run it from jar, composed from the same classes, second tool tip does not appear.
    I have no idea on where to get a hint to the solution. Could that be that the problem is caused by other graphical components or by the layout of the container?
    The applet and JAR in question with source code can be found on
    http://www.kobylkin.net/TeaTimer.htm , and the source code is included below in this letter as well..
    Thanks!
    Egor
    I do not include GNU GPL here, for histerical reasons [:-)]
    * TeaTimerJApplet.java
    * Created on 19. Januar 2002, 18:56
    * Tea timer with sound alarm to brew your tea right for the best taste.
    * Copyright Kobylkin Egor 2002. [email protected] www.kobylkin.net
    * This program is free software; you can redistribute it and/or
    * modify it under the terms of the GNU General Public License
    * as published by the Free Software Foundation; either version 2
    * of the License, or (at your option) any later version.
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    * You should have received a copy of the GNU General Public License
    * along with this program; if not, write to the Free Software
    * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    USA.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.*;
    import java.applet.Applet;
    import java.net.*;
    public class TeaTimerJApplet extends javax.swing.JApplet {
    /** Creates new form TeaTimerJApplet */
    public TeaTimerJApplet() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {//GEN-BEGIN:initComponents
    java.awt.GridBagConstraints gridBagConstraints;
    jListTeaSortSelect = new javax.swing.JList();
    jButtonTimerStart = new javax.swing.JButton();
    jProgressBar1 = new javax.swing.JProgressBar();
    getContentPane().setLayout(new java.awt.GridBagLayout());
    jListTeaSortSelect.setBorder(new
    javax.swing.border.TitledBorder("Select the tea type"));
    jListTeaSortSelect.setModel(new javax.swing.AbstractListModel() {
    String[] strings = { "Test................10sec.", "Green
    tea.........3min.", "Black tea...........4min.", "Black
    tea...........5min.", "Mint, Coffee......8min." };
    public int getSize() { return strings.length; }
    public Object getElementAt(int i) { return strings; }
    jListTeaSortSelect.setToolTipText("To stop the alarm just click
    over here.");
    jListTeaSortSelect.setName("jListTeaSort");
    jListTeaSortSelect.setSelectedIndex(2);
    jListTeaSortSelect.setSelectionBackground(java.awt.Color.yellow);
    jListTeaSortSelect.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    jListTeaSortSelect.setAutoscrolls(false);
    jListTeaSortSelect.addMouseListener(new
    java.awt.event.MouseAdapter() {
    public void mousePressed(java.awt.event.MouseEvent evt) {
    jListTeaSortSelectMousePressed(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    getContentPane().add(jListTeaSortSelect, gridBagConstraints);
    jButtonTimerStart.setBackground(java.awt.Color.lightGray);
    jButtonTimerStart.setText("Start the timer");
    jButtonTimerStart.setToolTipText("<html>Visit me at
    www.kobylkin.net <br> Copyright Kobylkin Egor 2002 under GNU GPL</html>");
    jButtonTimerStart.setDoubleBuffered(true);
    jButtonTimerStart.setMaximumSize(new java.awt.Dimension(180, 90));
    jButtonTimerStart.setMinimumSize(new java.awt.Dimension(120, 27));
    jButtonTimerStart.setNextFocusableComponent(jListTeaSortSelect);
    jButtonTimerStart.setPreferredSize(new java.awt.Dimension(140,
    27));
    jButtonTimerStart.addActionListener(new
    java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButtonTimerStartActionPerformed(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    getContentPane().add(jButtonTimerStart, gridBagConstraints);
    jProgressBar1.setToolTipText("To stop the alarm signal just click
    over here.");
    jProgressBar1.setMinimumSize(new java.awt.Dimension(140, 14));
    jProgressBar1.setPreferredSize(new java.awt.Dimension(140, 14));
    jProgressBar1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mousePressed(java.awt.event.MouseEvent evt) {
    jProgressBar1MousePressed(evt);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    getContentPane().add(jProgressBar1, gridBagConstraints);
    }//GEN-END:initComponents
    private void jListTeaSortSelectMousePressed(java.awt.event.MouseEvent
    evt) {//GEN-FIRST:event_jListTeaSortSelectMousePressed
    // Add your handling code here:
    if ( timerIsRunningFlag == false )
    jListTeaSortSelect.setBackground(java.awt.Color.white);
    so.stop();
    }//GEN-LAST:event_jListTeaSortSelectMousePressed
    private void jProgressBar1MousePressed(java.awt.event.MouseEvent evt)
    if ( timerIsRunningFlag == false )
    jListTeaSortSelect.setBackground(java.awt.Color.white);
    so.stop();
    private void
    jButtonTimerStartActionPerformed(java.awt.event.ActionEvent evt)
    {//GEN-FIRST:event_jButtonTimerStartActionPerformed
    //set the controls in dumb state:
    jButtonTimerStart.setEnabled(false);
    jListTeaSortSelect.setEnabled(false);
    jListTeaSortSelect.setBackground(java.awt.Color.white);
    switch ( jListTeaSortSelect.getSelectedIndex() ) {
    case 0 : timerDelay = 500; break; //Test 10 sec.
    case 1 : timerDelay = 9000; break; //Green tea 3 min.
    case 2 : timerDelay = 12000; break; //Black tea 4 min.
    case 3 : timerDelay = 15000; break; //Black tea 5 min.
    case 4 : timerDelay = 24000; break; //Mint tea 8 min.
    // every "timerDelay/100" seconds the progress bar status will be
    set to be -5% less by timerTaskPerformer.
    // After 20 times timerDelay will be less than 5% so the
    timerTaskPerformer fires the alarm.
    timer = new javax.swing.Timer(timerDelay, timerTaskPerformer);
    timer.setRepeats(true);
    timer.start();
    timerIsRunningFlag = true;
    progressBarStatus = 100;
    jProgressBar1.setValue( progressBarStatus );
    jButtonTimerStart.setLabel("Timer started");
    so.stop();
    }//GEN-LAST:event_jButtonTimerStartActionPerformed
    private ActionListener timerTaskPerformer = new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    if (progressBarStatus > 5){ progressBarStatus-=5;
    jProgressBar1.setValue(progressBarStatus);
    }else{
    timer.stop();
    timerIsRunningFlag = false;
    //user alarm actions
    jListTeaSortSelect.setBackground (java.awt.Color.red);
    Toolkit.getDefaultToolkit().beep();
    so=getAudioClip(getCodeBase(), "spacemusic.au");
    so.loop();
    /* "Server not found" IE error.
    open pop-up explorer window to alert user
    try {
    AppletContext ac = getAppletContext();
    ac.showDocument( new URL( getCodeBase() +
    "teaReady.html" ), "_self");
    catch (MalformedURLException exc) {
    showStatus("Cannot find file teaReady.html");
    progressBarStatus = 0;
    jProgressBar1.setValue( progressBarStatus );
    //return to the initial state
    jButtonTimerStart.setText("Start the tea timer");
    jButtonTimerStart.setEnabled(true);
    jListTeaSortSelect.setEnabled(true);
    //Variables declaration
    private int progressBarStatus = 100;
    public boolean timerIsRunningFlag = false;
    public int timerDelay;
    private javax.swing.Timer timer;
    public AudioClip so;
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButtonTimerStart;
    private javax.swing.JList jListTeaSortSelect;
    private javax.swing.JProgressBar jProgressBar1;
    // End of variables declaration//GEN-END:variables

    Hi
    What i understand from u'r problem is that when a jar is created and run under browser, ToolTipText for progress panel is not shown? is so is the case - i had no problems..
    The code given was compiled and created a jar successfully..
    this is how i created the jar..(under WindowsNT and MSIE)
    jar cf TeaTimer.jar TeaTimerJApplet.class
    TeaTimer.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <APPLET CODE="TeaTimerJApplet" archive="TeaTimer.jar" WIDTH="200" HEIGHT="200">
    </APPLET>
    </BODY>
    </HTML>
    cheers
    Mohan

  • Same Safari, same version, same OS, but behaves differently on two machines

    I have Safari 5.1.1 installed on two machines. Both have 10.6.8 and Safari 5.1.1 installed but some web pages look differently on both machines. There seems to be a problem with browser window sizes. Hmmm ...

    Could it be that the software on the installer CDs and via Software Update is "different" from the file I am able to download from Apple's own company website? Hu ... can you make it more complicated?
    Apple - Support - Downloads

  • Deployed project seems to fail on different machine

    Hi, I deployed my project on my webserver and it worked great on the developing machine.. I accessed the page from any computer using IP/projectname.  I moved the project to a different server and added it to the web server but it seems to fail.. Everything is loading except for the charts.. they just come out empty.. I am using Webservices which run on the development server. Any help would be Great... I thought I would need a crossdomain file butI'm not sure how to specify the domain... the web url is http://IP/eemtwebservice1/Service1.asmx . If i DO need to add a crossdomain policy how would i do it given the previous url?? and whatelse do i need to do?? thanks!!

    Got It!!!! Changed  Security setting for flashplayer
    Thanks to http://www.judahfrangipane.com/blog/2007/01/01/security-error-accessing-url/ <don't know if this is allowed but I have to give them credit

  • Ejbs on different machines

    ai have a session bean who invoke entity beans in 2 machines (local an remote) but i get a NamingException context.lookup about "xxxEJB" not found at lookup for remote EJB

    Are you creating a valid InitialContext for the remote EJB server and using it to look up the remote EJB? Also, it is generally a bad idea to use Entity EJB's remotely as their attribute setters and getters will require network round trips. Not a major issue if your system has a very light load and not very severe response time requirements.

  • Using same Aperture library with different machines

    Hi
    I travel between locations some 7hrs apart and want to take my Aperture Libary and Vault with me to add to and work on in each location.
    I have a Mac Pro at one location and MBP and 2011 Mac Mini (pre thunderbolt) at the other running Aperture v3.1.3 and Snow Leopard 10.6.8
    I have my Aperture Libary, Vault and Referenced files  etc on a seperate/external drive/s to my OS and applications.
    Having to reconstruct the libary from a vault each time I change locations is time consuming as I am working with a growing Libary at the moment 720GB + 500 GB of referenced files on a second HDD
    I would just like to be able to set it up so I can just plug the Aperture library and Referenced files in launch Aperture and start working
    Is anyone doing this? or has any ideas ?
    Many thanks in anticipation

    A few points to consider:
    To make a vault into a normal library you use the restore function in Aperture.
    Having the vault and live library on the same spindle is not a good idea as you realize, if one goes they both go, so you need to get the vault onto a separate drive ASAP. Also as the masters are referenced you need to make provision to get those backed-up as well. And remember as they are referenced backing up the library (either by vaulting it or copying it) will not back up the masters in this case.
    Given that you are physically moving the drive between locations getting everything backed-up is even more important.  Also remember if the environments you are moving the drive between are extreme (moving from cold to warm in either direction) give the drive time to acclimate before spinning it up. And after you have spun it up give it some time before actually writing to it.
    The question of using a vault over simply copying the library is asked a lot. There are pros and cons to each.
    On the plus side. If you have a managed library the masters are backed-up with the vault and as libraries with masters in them tend be large the fact that the vault operation only write the changes after the initial vault operation makes for quicker back-ups. Copying a full library with referenced masters can't be a long process.
    If the library has referenced masters in it the advantages of the vault aren't as great. You still need to back-up the masters seperatly and as the library tends to remain smaller copying it isn't as big a deal.
    One other thing to keep in mind about vaults. You can't get just a single image or project out of it. It needs to be restored before you can open it with Aperture. So you will need the disk space to do the restore. With a copy you can just access it with Aperture.
    Hope this helps,
    regards

Maybe you are looking for

  • Error in deploying the java studio creator application to tomcat

    Hi, I'm trying to deploy my Sun Java Studio application to Apache Tomcat 5.0.28. A simple JSF web application built using the creator works fine after deploying the war file under tomcat/weapps directory. In case of a application with databse connect

  • DVD burning error in Premiere Elements 11

    I recently filmed a friend's memorial service for their family.  I have footage from two different cameras that I have edited in Premiere Elements 11, for the purpose of making a DVD of the service. I run into a problem when I try to burn the project

  • KWin shows only black screen sometimes after suspend

    Hi. I've got an interesting, irritating, but not fatal bug here, hopefully someone can help me kill it. On my laptop, I run KDE (not KDEmod) 4.3.4, from repos, and when I resume from suspend, sometimes I get only a black screen IF the laptop is plugg

  • Wrong IP Address

    I have a WRT610N v2 router (IP address is 192.168.1.1), three desktops, one laptop and one Windows Home Server. Two desktops are running Win XP and one is Win 7, the laptop is running Win 7. I am using Cisco Network Magic Pro on all of my computers a

  • Assign a constant to element of message in Integration Process

    At the beginning of Integration Process I using Receive step and it receives message1, that contains only parameter "id": <message1>   <id>1234</id>   </counter> </message1> Than I have some steps, than Switch step with a condition. In otherwise bran