Problems with P-215

In OS 10.8 I had no problems with running my Canon P-215 and it was recognised in Image Capture.
However, after upgrading to Mavericks neither my MBP nor MBA will recognise my Canon P-215 in Image Capture! 
Can anyone suggest how to fix this? 
Many thanks.

gadawg98 wrote:
The scanner is Mac compatible, but only if one installs and uses some 3rd party scanning software...
Correct.
gadawg98 wrote:
one cannot use the software which is built into the Apple OS for the purpose of scanning, namely "Image Capture" or "Preview."
Correct again. Image Capture and Preview require an ICA driver. They don't support a scanner that has a TWAIN driver. So unless Canon releases an ICA driver for the P-215, or Apple changes the specs so that a TWAIN driver will work with Image Capture, then to use the P-215 on the Mac you must have a scanning application installed that supports TWAIN, such as Adobe Acrobat Standard or Pro.

Similar Messages

  • Problem with addRow and MultiLine Cell renderer

    Hi ,
    Ive a problem with no solution to me .......
    Ive seen in the forum and Ivent found an answer.......
    The problem is this:
    Ive a JTable with a custom model and I use a custom multiline cell renderer.
    (becuse in the real application "way" hasnt static lenght)
    When I add the first row all seem to be ok.....
    when I try to add more row I obtain :
    java.lang.ArrayIndexOutOfBoundsException: 1
    at javax.swing.SizeSequence.insertEntries(SizeSequence.java:332)
    at javax.swing.JTable.tableRowsInserted(JTable.java:2926)
    at javax.swing.JTable.tableChanged(JTable.java:2858)
    at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableMo
    del.java:280)
    at javax.swing.table.AbstractTableModel.fireTableRowsInserted(AbstractTa
    bleModel.java:215)
    at TableDemo$MyTableModel.addRow(TableDemo.java:103)
    at TableDemo$2.actionPerformed(TableDemo.java:256)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
    64)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1817)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5134)
    at java.awt.Component.processEvent(Component.java:4931)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3639)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3480)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    at java.awt.Container.dispatchEventImpl(Container.java:1609)
    at java.awt.Window.dispatchEventImpl(Window.java:1590)
    at java.awt.Component.dispatchEvent(Component.java:3480)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    This seems to be caused by
    table.setRowHeight(row,(getPreferredSize().height+2)); (line 164 of my example code)
    About the model I think its ok.....but who knows :-(......
    Please HELP me in anyway!!!
    Example code :
    import javax.swing.*;
    import javax.swing.table.*;
    import java.text.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class TableDemo extends JFrame {
    private boolean DEBUG = true;
    MyTableModel myModel = new MyTableModel();
    MyTable table = new MyTable(myModel);
    int i=0;
    public TableDemo() {
    super("TableDemo");
    JButton bottone = new JButton("Aggiungi 1 elemento");
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    //table.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    //Add the scroll pane to this window.
    getContentPane().add(bottone,BorderLayout.NORTH);
    getContentPane().add(scrollPane, BorderLayout.CENTER);
    bottone.addActionListener(Add_Action);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    class MyTable extends JTable {
    MultiLineCellRenderer multiRenderer=new MultiLineCellRenderer();
    MyTable(TableModel tm)
    super(tm);
    public TableCellRenderer getCellRenderer(int row,int col) {
              if (col==1) return multiRenderer;
              else return super.getCellRenderer(row,col);
    class MyTableModel extends AbstractTableModel {
    Vector data=new Vector();
    final String[] columnNames = {"Name",
    "Way",
    "DeadLine (ms)"
    public int getColumnCount() { return 3; }
    public int getRowCount() { return data.size(); }
    public Object getValueAt(int row, int col) {
    Vector rowdata=(Vector)data.get(row);
                                                                return rowdata.get(col); }
    public String getColumnName(int col) {
    return columnNames[col];
    public void setValueAt (Object value, int row,int col)
         //setto i dati della modifica
    Vector actrow=(Vector)data.get(row);
    actrow.set(col,value);
         this.fireTableCellUpdated(row,col);
         public Class getColumnClass(int c)
              return this.getValueAt(0,c).getClass();
         public boolean isCellEditable(int row, int col) {
    //Note that the data/cell address is constant,
    //no matter where the cell appears onscreen.
    if (col == 1)
    return false;
    else
    return true;
    public void addRow (String name,ArrayList path,Double dead) {
         Vector row =new Vector();
         row.add(name);
         row.add(path);
         row.add(dead);
         row.add(name); //!!!Mi tengo questo dato da utilizzare come key per andare a
         //prendere il path nella lista dei paths di Project
         //(needed as key to retrive data if name in col. 1 is changed)
         data.add(row);
         //Inspector.inspect(this);
         System.out.println ("Before firing Adding row...."+this.getRowCount());
         this.fireTableRowsInserted(this.getRowCount(),this.getRowCount());
    public void delRow (String namekey)
    for (int i=0;i<this.getRowCount();i++)
    if (namekey.equals(this.getValueAt(i,3)))
    data.remove(i);
    this.fireTableRowsDeleted(i,i);
    //per uscire dal ciclo
    i=this.getRowCount();
    public void delAllRows()
    int i;
    int bound =this.getRowCount();     
    for (i=0;i<bound;i++)     
         {data.remove(0);
         System.out.println ("Deleting .."+data);
    this.fireTableRowsDeleted(0,i);          
    class MultiLineCellRenderer extends JTextArea implements TableCellRenderer {
    private Hashtable rowHeights=new Hashtable();
    public MultiLineCellRenderer() {
    setEditable(false);
    setLineWrap(true);
    setWrapStyleWord(true);
    //this.setBorder(new Border(
    public Component getTableCellRendererComponent(JTable table,Object value,                              boolean isSelected, boolean hasFocus, int row, int column) {
    //System.out.println ("Renderer called"+value.getClass());
    if (value instanceof ArrayList) {
    String way=new String     (value.toString());
    setText(way);
    TableColumn thiscol=table.getColumn("Way");
    //System.out.println ("thiscol :"+thiscol.getPreferredWidth());
    //setto il size della JTextarea sulle dimensioni della colonna
    //per quanto riguarda il widht e su quelle ottenute da screen per l'height
    this.setSize(thiscol.getPreferredWidth(),this.getPreferredSize().height);
    // set the table's row height, if necessary
    //System.out.println ("Valore getPreferred.height"+getPreferredSize().height);
         if (table.getRowHeight(row)!=(this.getPreferredSize().height+2))
         {System.out.println ("Setting Row :"+row);
             System.out.println ("Dimension"+(getPreferredSize().height+2));
             System.out.println ("There are "+table.getRowCount()+"rows in the table ");
             if (row<table.getRowCount())
             table.setRowHeight(row,(getPreferredSize().height+2));
    else
    setText("");
    return this;
    /**Custom JTextField Subclass che permette all'utente di immettere solo numeri
    class WholeNumberField extends JTextField {
    private Toolkit toolkit;
    private NumberFormat integerFormatter;
    public WholeNumberField(int value, int columns) {
    super(columns);
    toolkit = Toolkit.getDefaultToolkit();
    integerFormatter = NumberFormat.getNumberInstance(Locale.US);
    integerFormatter.setParseIntegerOnly(true);
    setValue(value);
    public int getValue() {
    int retVal = 0;
    try {
    retVal = integerFormatter.parse(getText()).intValue();
    } catch (ParseException e) {
    // This should never happen because insertString allows
    // only properly formatted data to get in the field.
    toolkit.beep();
    return retVal;
    public void setValue(int value) {
    setText(integerFormatter.format(value));
    protected Document createDefaultModel() {
    return new WholeNumberDocument();
    protected class WholeNumberDocument extends PlainDocument {
    public void insertString(int offs,
    String str,
    AttributeSet a)
    throws BadLocationException {
    char[] source = str.toCharArray();
    char[] result = new char[source.length];
    int j = 0;
    for (int i = 0; i < result.length; i++) {
    if (Character.isDigit(source))
    result[j++] = source[i];
    else {
    toolkit.beep();
    System.err.println("insertString: " + source[i]);
    super.insertString(offs, new String(result, 0, j), a);
    ActionListener Add_Action = new ActionListener() {
              public void actionPerformed (ActionEvent e)
              System.out.println ("Adding");
              ArrayList way =new ArrayList();
              way.add(new String("Uno"));
              way.add(new String("Due"));
              way.add(new String("Tre"));
              way.add(new String("Quattro"));
              myModel.addRow(new String("Nome"+i++),way,new Double(0));     
    public static void main(String[] args) {
    TableDemo frame = new TableDemo();
    frame.pack();
    frame.setVisible(true);

    In the addRow method, change the line
    this.fireTableRowsInserted(this.getRowCount(),this.getRowCount()); to
    this.fireTableRowsInserted(data.size() - 1, data.size() - 1);Sai Pullabhotla

  • Problem with complete task via email

    Hello,
    I have problem with complete task via email. I found this blog very useful (http://blogs.adobe.com/ADEP/2010/11/how-to-complete-a-task-via-email-using-reply-to-comple te.html), but...
    I set up everything as it’s written in blog mentioned above. When a task is assigned to me, I received an email notification with actions (accept, deny). After that I replied with action “accept”. Then I received email with subject “Errors from LiveCycle ES”:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.pof.POFRuntimeException: Transaction is not active: tx=TransactionImple ; – nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple )
    This response to your original email
    Subject:RE:Task Assignment – Process: Test/Email_Test. Task 76 has been assigned to you.
    Date Sent:Thursday, October 24, 2011 1:17 PM
    Body:accept
    DO-NOT-DELETE: MTMhMzE0ITMyOA==!
    Attachments:
    In log appeared this following error:
    Caused by: ALC-DSC-215-000: com.adobe.idp.dsc.DSCRuntimeException: None of the Auth Provider could authenticate the user. Authentication Failed
    at com.adobe.livecycle.notification.TaskNotificationServiceImpl.processEmailComplete(TaskNot ificationServiceImpl.java:1157)
    Can you me please? I have no idea what to do to succesfully complete task via email endpoint. Thanks
    Jan Petrla

    Hi Diana, thanks for your reply.
    You're probably right about 2 different error messages.
    To the 1st one: I'm sure that status task is Assigned (to me). I received an email and I also reply on that email.
    To error log: I found out that error log appears when I enable email endpoint on Complete Task service. But I managed to solve this problem. I set wrong user. Now I have here the same user as is written in login-config.xml so log seems to be ok.
    So I created new task and tried to complete it via email. Now I receive email with another error:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context
    This response to your original email
    Subject:RE:Task Assignment - Process: WorkFlowClient/Test. Task 92 has been assigned to you.
    Date Sent:Thursday, October 27, 2011 3:05 PM
    Body:Complete
    DO-NOT-DELETE: MTIxMSExNjAzITIwMTE=!
    Attachments:
    And to the last point: email endpoint is set up with TestPOP3@mydomain and user receiving email has jpetrla@mydomain. I use Lotus Notes as email client, I tried another account with gmail, but the result was same.
    Now I really don't know to do...
    Jan

  • Problem with ONE SINGLE site with WRT610N

    Hello,
    First, sorry for my very poor English
    I have a Linksys WRT610N with firmware  1.00.03 B15 (latest I think)
    Last three days I have trouble connecting to a single website. This site is www.bdgest.com
    I can access all other sites I want, but that one is very difficult to access, very slow with timeouts and error 404 messages.
    When I connect to my modem with a cable, everything is OK. If I connect with a cable or wifi to the Linksys router, the access is weak. The problem is not my PC because I have the same problem with my I-Pod touch.
    I don't made any change to the Linksys configuration.
    Can somebody help me ?

    I found another site that goes weak. www.enviedeseduire.fr 
    The TRACERT informations for both sites are VERY interresting :
    tracert enviedeseduire.fr
    Détermination de l'itinéraire vers enviedeseduire.fr [91.121.76.160] avec un maximum de 30 sauts :
    1 8 ms 1 ms 1 ms 172.16.1.1
    2 14 ms 24 ms 15 ms 10.89.128.1
    3 13 ms 8 ms 11 ms 78.129.127.113
    4 17 ms 17 ms 12 ms 212.68.211.2
    5 16 ms 16 ms 16 ms 212.68.211.29
    6 36 ms 14 ms 22 ms 212.68.211.133
    7 14 ms 11 ms 15 ms 195.219.227.5
    8 14 ms 19 ms 13 ms 195.219.227.14
    9 20 ms 20 ms 16 ms if-10-1-1-0.tcore1.PVU-Paris.as6453.net [80.231.153.69]
    10 21 ms * 27 ms th2-5-6k.fr.eu [213.186.32.245]
    11 * * * Délai d'attente de la demande dépassé.
    12 29 ms 29 ms 105 ms rbx-g1-a9.fr.eu [91.121.215.133]
    13 111 ms 22 ms * rbx-2-6k.fr.eu [213.186.32.234]
    14 * * * Délai d'attente de la demande dépassé.
    15 23 ms 24 ms 22 ms ns25848.ovh.net [91.121.76.160]
    Itinéraire déterminé.
    tracert bdgest.com
    Détermination de l'itinéraire vers bdgest.com [87.98.152.92] avec un maximum de 30 sauts :
    1 7 ms 1 ms 1 ms 172.16.1.1
    2 11 ms 9 ms 11 ms 10.89.128.1
    3 10 ms 12 ms 8 ms 78.129.127.113
    4 18 ms 17 ms 17 ms 212.68.211.2
    5 62 ms 9 ms 13 ms 212.68.211.29
    6 19 ms 11 ms 17 ms 212.68.211.133
    7 13 ms 16 ms 16 ms 195.219.227.5
    8 91 ms 14 ms 15 ms 195.219.228.1
    9 20 ms 21 ms 17 ms if-10-1-1-0.tcore1.PVU-Paris.as6453.net [80.231.153.69]
    10 * * * Délai d'attente de la demande dépassé.
    11 * * * Délai d'attente de la demande dépassé.
    12 30 ms 29 ms 28 ms rbx-g2-a9.fr.eu [91.121.215.151]
    13 38 ms 24 ms 24 ms rbx-s3-6k.fr.eu [213.186.32.166]
    14 22 ms 30 ms 28 ms 87-98-152-92.ovh.net [87.98.152.92]
    Itinéraire déterminé.
    Everything goes wrong after both  if-10-1-1-0.tcore1.PVU-Paris.as6453.net [80.231.153.69]
    Any idea ?

  • Problems with MI 70 SP 16 and DB2e 912. Error: 500. XMAU/home/home_mgmt.do

    Hi,<br>
    i have problems with my MI and DB2e.<br>
    I installed database DB2e but i cannot do that this work.<br><br>
    My configuration is:<br>
    Mobile Infrastructure version: MI 70 SP 16 Patch 0<br>
    DB2e 9.1.2 <br><br>
    When i want to access to the application, i getting the following error:<br><br>
    Error: 500<br>
    Localizacion: /XMAU/home/home_mgmt.do<br>
    Error interno del servlet:<br><br>
    java.lang.NullPointerException<br>
         at com.sap.mbs.mam.bo.impl.Mam090ManagerImpl.getMam090s(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.UserCustomCache.getUserCustomizing(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.UserCustomProcessImpl.getUserCustomizing(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.GenericCustomCache.getMamScenario(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.process.impl.GenericCustomCache.getDeviceSettingsProfile(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.util.DateTimeUtils.getDeviceSettingsProfile(Unknown Source)<br>
         at com.sap.mbs.mam.cstm.util.DateTimeUtils.getDateFormat(Unknown Source)<br>
         at com.sap.mbs.mau.application.impl.MauApplicationImpl.init(Unknown Source)<br>
         at com.sap.mbs.mam.application.web.FrontServlet.init(Unknown Source)<br>
         at com.sap.mbs.mau.application.web.FrontServlet.init(Unknown Source)<br>
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br>
         at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)<br>
         at org.apache.tomcat.core.Handler.init(Handler.java:215)<br>
         at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)<br>
         at org.apache.tomcat.core.Handler.service(Handler.java:254)<br>
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)<br>
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)<br>
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)<br>
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)<br>
         at mam_0005fstart._jspService(Unknown Source)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)<br>
         at org.apache.tomcat.core.Handler.service(Handler.java:287)<br>
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)<br>
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)<br>
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)<br>
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)<br>
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)<br>
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)<br>
         at java.lang.Thread.run(Unknown Source)<br><br>
    and in the trace log, i'm getting the following message:<br><br>
    [20100316 13:57:36:792] D [MI/API/Services ] CREATED MEPropertyResourceBundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@111bfbc for bundleName: MAUText with Locale: _es  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] CREATED parent MEPropertyResourceBundle for child bundle: com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@111bfbc using bundle name: MAUText  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle(ZMAMText, es_AR, com.sap.ip.me.core.Startup@9664a1)  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1  <br>
    [20100316 13:57:36:792] W [AppLog/MI/API/Services ] cannot find resource bundle ZMAMText_es_AR  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle(ZMAUText, es_AR, com.sap.ip.me.core.Startup@9664a1)  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1  <br>
    [20100316 13:57:36:792] W [AppLog/MI/API/Services ] cannot find resource bundle ZMAUText_es_AR  <br>
    [20100316 13:57:36:792] D [Unknown ] FrontServlet:setResourceBundle() done.  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle((null), es_AR, (null))  <br>
    [20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1  <br>
    [20100316 13:57:36:792] I [MI/API/Services ] Cannot find resource key LIST_TAG_TOTAL within MAUText  <br>
    [20100316 13:57:36:792] I [MI/API/Services ] Cannot find resource key LIST_TAG_PAGE within MAUText  <br>
    [20100316 13:58:11:215] D [MI/Core ] Deactivated application XMAU  <br>
    [20100316 13:58:11:215] P [MI/Core ] Set current MSD to Name: / MOBILEENGINE_JSP (V. 70160), Target=, Type=com.sap.ip.me.core.FrameworkApplicationType  <br>
    [20100316 13:58:11:215] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'  <br><br>
    Someone can i help me?<br>
    Thanks for your help.<br>

    I can't be sure but most of the dota2 output looks "normal" to me (I get the same yet it works fine).
    eurotrucks is clearly crashing. You could try to force the resolution it uses in its config files?
    Or maybe it's missing a lib (you may need to install 32bit versions):
    ldd /path/to/eurotrucks
    to see if that's the case. If not, you might have to take it up with the eurotrucks developers.
    And you could try using fluxbox/openbox just to see what happens. A lot lighter than KDE.
    Have a good look though: https://wiki.archlinux.org/index.php/Steam
    and remember to check for missing 32bit libs.

  • Weird problem with role assignment in Portal

    Hi,
    In our newly installed Portal for eRecruitment Production System we encounter a weird problem with assigning roles to users.
    When I open User Administration and search for roles, it displays the Portal roles perfectly.
    However, when I search for a user in User Administration and click on it when found, I am unable to find any roles to assign! So I am unable to find any roles, when I want to modify the assigned roles for a particular user, while the roles do exist and can be found on its own. How is this possible? Am I missing something here?
    We have installed SPS 15 and use ABAP as user store. We have used reverse proxy and web dispatchers in this case.
    Thanks in advance and best regards,
    Jan Laros

    Found some entries in the default trace from this morning:
    #1.#005056A15F78006A000004F400006D310004520B11DB3CE8#1216107404407#com.sap.security.core.jmx.impl.CompanyPrincipalFactory#sap.com/tc~wd~dispwda#com.sap.security.core.jmx.impl.CompanyPrincipalFactory.static Set evaluateDatasourcesToSearchFor(String[] requestDatasourceIds,     String privateType, Locale locale)#JALAROS#58762##nun.efteling.nl_POP_9750151#JALAROS#581700b0524011ddc029005056a15f78#SAPEngine_Application_Thread[impl:3]_36##0#0#Error##Java###Error while connecting to remote producer {0}
    [EXCEPTION]
    {1}#2#PRODUCER_0KTHQ3YTJV#com.sap.security.core.persistence.remote.CommunicationException: Cannot display remote roles of selected producer. The producer has removed your consumer instance from their portal.
            at com.sap.portal.ivs.global.roles.RemoteProducerAccessImpl.sendToRemote(RemoteProducerAccessImpl.java:497)
            at com.sap.portal.ivs.global.roles.RemoteProducerAccessImpl.checkConnectivity(RemoteProducerAccessImpl.java:220)
            at com.sap.security.core.jmx.impl.CompanyPrincipalFactory.evaluateDatasourcesToSearchFor(CompanyPrincipalFactory.java:656)
            at com.sap.security.core.jmx.impl.CompanyPrincipalFactory.simplePrincipalSearchByDatasources(CompanyPrincipalFactory.java:3172)
            at com.sap.security.core.jmx.impl.JmxSearchHelper.getSimpleEntitySearchResult(JmxSearchHelper.java:74)
            at com.sap.security.core.jmx.impl.JmxSearchHelper.calculateSimpleEntityTable(JmxSearchHelper.java:1182)
            at com.sap.security.core.jmx.impl.JmxServer.calculateSimpleEntityTableByDatasources(JmxServer.java:1061)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
            at javax.management.StandardMBean.invoke(StandardMBean.java:286)
            at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
            at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
            at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
            at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
            at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
            at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
            at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
            at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
            at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:776)
            at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
            at com.sap.security.core.jmx._gen.IJmxServer$Impl.calculateSimpleEntityTableByDatasources(IJmxServer.java:717)
            at com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.calculateSimpleEntityTable(JmxModelCompInterface.java:396)
            at com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.calculateSimpleEntityTable(InternalJmxModelCompInterface.java:443)
            at com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface$External.calculateSimpleEntityTable(InternalJmxModelCompInterface.java:746)
            at com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.getSimpleEntityTable(UmeUiFactoryCompInterface.java:471)
            at com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface.getSimpleEntityTable(InternalUmeUiFactoryCompInterface.java:517)
            at com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface$External.getSimpleEntityTable(InternalUmeUiFactoryCompInterface.java:894)
            at com.sap.security.core.wd.relaterole.RelateRoleComp.searchNewRoles(RelateRoleComp.java:259)
            at com.sap.security.core.wd.relaterole.wdp.InternalRelateRoleComp.searchNewRoles(InternalRelateRoleComp.java:282)
            at com.sap.security.core.wd.relaterole.AssignParentRolesView.onActionSearchNewRoles(AssignParentRolesView.java:215)
            at com.sap.security.core.wd.relaterole.wdp.InternalAssignParentRolesView.wdInvokeEventHandler(InternalAssignParentRolesView.java:261)
            at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
            at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
            at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
            at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
            at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
            at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
            at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
            at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
            at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1257)
            at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
            at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:826)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
            at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
            at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
            at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:180)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.#005056A15F780060000004FD00006D310004520C6A35F87C#1216113181849#com.sap.engine.services.security.roles.SecurityRoleReference##com.sap.engine.services.security.roles.SecurityRoleReference#J2EE_GUEST#0####399cb180524e11dd9849005056a15f78#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#/System/Security/Audit/J2EE#Java###{0}: Authorization check for caller assignment to J2EE security role [{1} : {2}] referencing J2EE security role [{3} : {4}].#5#ACCESS.ERROR#service.naming#jndi_all_operations#SAP-J2EE-Engine#administrators#
    #1.#005056A15F78005C00000C0500006D310004520C6A394185#1216113181992#com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl##com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl#J2EE_GUEST#0####39aa6d20524e11ddaee2005056a15f78#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Java###Runtime exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 150 |  src: 2 target-node: 9750150 req: getAttribute params-number: 2 params-bytes: 0 |  ]
    [EXCEPTION]
    {0}#1#com.sap.engine.services.jmx.exception.JmxSecurityException: Caller J2EE_GUEST not authorized, only role administrators is allowed to access JMX
            at com.sap.engine.services.jmx.EngineAuthorization.checkMBeanPermission(EngineAuthorization.java:88)
            at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:77)
            at com.sap.engine.services.jmx.JmxServerFrame.checkMBeanPermission(JmxServerFrame.java:98)
            at com.sap.engine.services.jmx.MessageClientSecurityWrapper.checkPermissions(MessageClientSecurityWrapper.java:76)
            at com.sap.engine.services.jmx.MessageClientSecurityWrapper.invokeMbs(MessageClientSecurityWrapper.java:38)
            at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:196)
            at com.sap.engine.services.jmx.ClusterInterceptor.getAttribute(ClusterInterceptor.java:512)
            at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:84)
            at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
            at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
            at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
            at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
            at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:180)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

  • Problem with Google Web-Service Example

    Hi guys,
    i have a problem with the Google Web-Service Example.
    I am running EP6.0 SP9 and NWDVST 2.0.9
    I did everything according to the tutorial. Got my google license key too.
    When i test the web-service i get the following exception:
    +
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.studie.webdynpro1/com.Allgemein.Allgemein/com.Allgemein.iViews/com.Allgemein.Google
    Component class : com.tutorial.wsdl2service.MyGooglePage
    User : Administrator
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
    at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Exception during PageProcessorComponent.doContent()
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:139)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    ... 32 more
    Caused by: com.sapportals.portal.prt.service.ServiceException: Service not found: MyGoogleService
    at com.sapportals.portal.prt.core.service.ServiceManager.getPortalServiceItem(ServiceManager.java:384)
    at com.sapportals.portal.prt.core.service.ServiceManager.get(ServiceManager.java:184)
    at com.sapportals.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:132)
    at com.tutorial.wsdl2service.MyGooglePage$GoogleDynPage.onSearchButtonClicked(MyGooglePage.java:98)
    ... 39 more+
    My XML File has the following content:
    ++
    The MyGooglePage.java includes the following line:
    IMyGoogleService googleService = (IMyGoogleService) PortalRuntime.getRuntimeResources().getService("MyGoogleService");
    any ideas what the problem is? I read all of the existing forum threads about this topic but could not solve the problem.
    Message was edited by: Dirk Jäckel

    no ideas so far?

  • Problem with (MSIE?) Acrobat 8.2.0.  Uninstalling/installing

    First of all:
    Trying to uninstall and re-install Acrobat as it apparently got (messed up) when some fool installed Acrobat Reader 9.3 on the same computer, or at least, so I've been lead to believe.   I had been trying to modify a security setting on a couple of PDF's and wasn't able to do it, then noticed that the occasional updates were not installing, so I was told (here and elsewhere) that I was going to continue experiencing problems as long as I had Reader AND Acroat installed.
    I managed to uninstall Reader this AM but when trying to either uninstall OR repair Acrobat, I continually get the same message, to wit:
    "Windows Installer
    This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows installer patch package."
    OK, so I go looking thru a LOT of KB articles and finally come to understand that the message refers to a WINDOWS (MSIE) installer problem, not a problem with Acrobat, per se.  The recommended action was to use the MSIECUU (Clean Up Utility), except that THAT seems to have been deleted by Microsoft as being not the greatest thing to do to one's registry entries.
    Sooooo....
    I'm stumped, it's hot and I've been futzing with this chazzerai all day.
    What do I do now?  All I wanna do is change a few security settings, get Acrobat back to where it was, go home and have a martoonie.

    Ah, the anti-virus... of course!  I will do this next time I'm at the shop
    (2 weeks).
    Vince Brennan, Artisan
    Frayed Knot Arts
    416 West Woodlawn St
    Philadelphia PA 19144
    215-843-7207
    http://www.frayedknotarts.com
    Serving your knotting and fancywork needs worldwide..

  • Problem with ESB instances:

    Hi Gurus,
    I am facing a problem with ESB Console, wherein it doesn't show esb instances.
    When I checked the log file, I've got the following error:
         Activity monitor manager received an unexpected exception while processing the activity messages. Due to the error "[POL-5205] column SEQ not found", the activity message could not be stored.
    I am using 10.1.3.3.1 version of SOA Suite. Applied MLR# 6869621 on top of 10.1.3.3.0.
    The detailed message is as follows:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-06T16:06:56.859+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ashdesai</HOST_ID>
    <HOST_NWADDR>9.182.199.114</HOST_NWADDR>
    <MODULE_ID>esb.server.dispatch.agent</MODULE_ID>
    <THREAD_ID>19</THREAD_ID>
    <USER_ID>Administrator</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>9.182.199.114:90002:1210062110000:290</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Failed to process deferred message</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Error occured while handling monitor message dequeued from monitor topic.  Message text is "<activityMessages><activityMessage order='1' type='0'><flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId><subFlowId>1210070214437</subFlowId><source>C7797ED01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName><timestamp>1210070214468</timestamp><operationGUID>C77BEFD01B4311DDBF5435914A58A53E</operationGUID><operationQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</operationQName><source>C7797ED01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName><timestamp>1210070214468</timestamp></activityMessage><activityMessage order='2' type='8'><flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId><subFlowId>1210070214437</subFlowId><source>C77BEFD01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</sourceQName><timestamp>1210070214468</timestamp><operationGUID>15D3A1A11B4411DDBF5435914A58A53E</operationGUID><operationQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestFileWriteOUT.Write</operationQName><routingRuleOutputStatus>4</routingRuleOutputStatus><source>C77BEFD01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</sourceQName><timestamp>1210070214468</timestamp></activityMessage><activityMessage order='2' type='15'><flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId><subFlowId>1210070214437</subFlowId><timestamp>1210070214468</timestamp><timestamp>1210070214468</timestamp></activityMessage></activityMessages>"
         at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:96)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:180)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:134)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
         Caused by: oracle.tip.esb.monitor.MonitorException: Due to the error "[POL-5205] column SEQ not found", the activity message could not be stored.
         <activityMessage order="1" type="0">
         <flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId>
         <subFlowId>1210070214437</subFlowId>
         <source>C7797ED01B4311DDBF5435914A58A53E</source>
         <sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName>
         <timestamp>1210070214468</timestamp>
         <operationGUID>C77BEFD01B4311DDBF5435914A58A53E</operationGUID>
         <operationQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</operationQName>
         <source>C7797ED01B4311DDBF5435914A58A53E</source>
         <sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName>
         <timestamp>1210070214468</timestamp>
         </activityMessage>
         at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(DBActivityMessageStore.java:340)
         at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.store(DBActivityMessageStore.java:128)
         at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:83)
         ... 7 more
         Caused by: java.sql.SQLException: [POL-5205] column SEQ not found
              at oracle.lite.poljdbc.LiteThinJDBCConnection.thinSQLError(Unknown Source)
              at oracle.lite.poljdbc.LiteThinJDBCStatement.thinSqlPrepare(Unknown Source)
              at oracle.lite.poljdbc.LiteThinJDBCPreparedStatement.prepare(Unknown Source)
              at oracle.lite.poljdbc.POLJDBCPreparedStatement.<init>(Unknown Source)
              at oracle.lite.poljdbc.POLJDBCPreparedStatement.<init>(Unknown Source)
              at oracle.lite.poljdbc.OraclePreparedStatement.<init>(Unknown Source)
              at oracle.lite.poljdbc.POLJDBCConnection.prepareStatement(Unknown Source)
              at oracle_lite_poljdbc_OracleConnection_Proxy.prepareStatement()
              at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(DBActivityMessageStore.java:185)
              ... 9 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Kindly let me know what is missing here.
    Thanks in advance for any help you can provide.
    Ashish.

    Hi Sebastien V,
    I am using the below function to open popUp ...I am calling this function from another mxml file...
    private function comparePlans(result:*):void
        var planCompPopUp:PlanComparisonPopUp = new PlanComparisonPopUp();
        //PopUpManager.addPopUp(planCompPopUp, Application.application as DisplayObject, true);
        planCompPopUp = PlanComparisonPopUp(PopUpManager.createPopUp(Application.application as DisplayObject,PlanComparisonPopUp,true));
        planCompPopUp.dataProvider = new BAllBenefits().getBenefitTypeData(result as BAllBenefits);
        PopUpManager.centerPopUp(planCompPopUp);
    And my component file which is being opened in PopUp is as below:
    PlanComparisonPopUp.mxml (My Main component....)
    <mx:VBox>
         <comp:Component1  />
         <comp:Component2  />
         <comp:Component3  />
         <comp:Component4  />
         <comp:Component5  />
         <comp:Component6  />
         <comp:Component7  />
    </mx:VBox>
    So I am talking about the dataproviders and ArrayCollection in my components Component1 , Component2, Component3 etc..; So when I try to debug after closing the PopUp and opening it again at the first instance the values should be null since these have not yet been instantiated...but it is showing me the previous value pouplated when I opened the PopUp first time...
    I am having the event listeners from withing the components  Component1 , Component2, Component3 etc..;  but how do I remove them when I am trying to close the PopUp which is opened from other file...???
    Also I scoped my planCompPopUp instance local to the function so there should be no question of setting to null as you mentioned in your last point...
    Although I had set it to null when I first decalred the instance as global but no use...the problem still persists...
    Thanks & Regards,
    Bhaske Chari

  • Problem with deploying : SDM could not start the J2EE cluster on the host .

    Hello, All
    I have following problem with deploying the aplication I get  this messenger:
    16/09/2008 07:59:44 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 192.168.0.14
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Aborted: development component 'ZChangeRequestDatabase'/'local'/'LOKAL'/'0.2008.05.03.04.24.17'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated. There is no cluster control instance running on host Jupiter which is described in SecureStorage . The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :|Name:JM_T1221612526745_0_penitus15 |Host:PENITUS15 |State:5|HostAddress:192.168.0.205||Name:JM_T1221612357814_0_Jupiter |Host:pfs |State:5|HostAddress:192.168.0.14||Name:JC_Jupiter_JTP_00 |Host:pfs |State:5|HostAddress:192.168.0.14|Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Deployment exception : The deployment of at least one item aborted
    I dont'n know  How do I  solver this error?
    - I reviewed the virtual memory and I increase the virtual memory
    - I restarted the server and  the system
    - I reviwed the parameter in the config tool --> cluster --> security storage it is OK
    Any suggestion for solver this  problem
    Thanks
    Regards
    DS

    I found this messenger in   Additional log information., Please si 
    17/09/2008 03:04:51 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [004]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[C:\usr\sap\JTP\JC00\SDM\program\log\sdmcl20080917200328.log]/>
    <!PATTERN[sdmcl20080917200328.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Sep 17, 2008 1:04:40 PM  Info: -
    Starting deployment -
    Sep 17, 2008 1:04:40 PM  Info: Error handling strategy: OnErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Update strategy: UpdateAllVersions
    Sep 17, 2008 1:04:40 PM  Info: Starting deployment prerequisites:
    Sep 17, 2008 1:04:40 PM  Info: Loading selected archives...
    Sep 17, 2008 1:04:40 PM  Info: Loading archive 'C:\usr\sap\JTP\JC00\SDM\program\temp\temp62604ZIssueDatabase.ear'
    Sep 17, 2008 1:04:41 PM  Info: Selected archives successfully loaded.
    Sep 17, 2008 1:04:41 PM  Info: Actions per selected component:
    Sep 17, 2008 1:04:41 PM  Info: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:41 PM  Info: Ending deployment prerequisites. All items are correct.
    Sep 17, 2008 1:04:43 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Saved current Engine state.
    Sep 17, 2008 1:04:45 PM  Info: Starting: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:45 PM  Info: SDA to be deployed: C:\usr\sap\JTP\JC00\SDM\root\origin\local\ZIssueDatabase\LOKAL\0\0.2008.04.17.10.53.03\temp62604ZIssueDatabase.ear
    Sep 17, 2008 1:04:45 PM  Info: Software type of SDA: J2EE
    Sep 17, 2008 1:04:45 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Starting cluster instance processes.
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: An error occured while starting a cluster instance.
    Sep 17, 2008 1:04:45 PM  Error: There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    Sep 17, 2008 1:04:45 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Aborted: development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated.
    There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Sep 17, 2008 1:04:45 PM  Info: Starting to save the repository
    Sep 17, 2008 1:04:46 PM  Info: Finished saving the repository
    Sep 17, 2008 1:04:47 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Sep 17, 2008 1:04:47 PM  Error: -
    At least one of the Deployments failed -
    Any help will be well received about this problema
    Thk
    Regards
    DS

  • Problem with integrating Web Dynpro into anonymous Portal

    The problem is that we can't run the Web Dynpro application in combination with an anonymous portal.
    <b>We get the following error:</b>
    Runtime error portaal
    Fout opgetreden bij verwerking opdracht voor :
    iView : pcd:portal_content/com.spe.spe_intranet/content/sites/nullAtSPE2/Connecting/nullAtSPE/AtSPE/Random4
    Naam component : com.sap.portal.appintegrator.sap.WebDynpro
    Exception in SAP Application Integrator occured: ApplicationIntegratorException.
    Exception id: 02:31_29/10/07_0168_426375450
    See the details for the exception ID in the log file
    <b>Detail description of the situation:</b>
    At one of our companies we are using a Portal in combination with a Web Dynpro application. The portal is for internal use only so therefore we are using a language specific anonymous user (/irj/portal/anonymous?guest_user=Guest_intra_NL). The Web Dynpro application needs no authentication either. The Web Dynpro applications runs inside an appintegrator iView somewhere on the frontpage. If we set the authentication schema on 'default' instead of 'anonymous' we have to authenticate (inside the iView only). If we authenticate then the Web Dynpro application works fine. So only in combination with a anonymous user the application is not working.
    <b>We performed all these settings:</b>
    Anonymous user access to Web Dynpro
    <b>This is a small part of the trace file:</b>
    Component : pcd:portal_content/com.spe.spe_intranet/content/sites/nullAtSPE2/Connecting/nullAtSPE/AtSPE/Random4
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : Guest_intra_NL
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: ApplicationIntegratorException
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more
    #1.5 #00144F790FF0005D00000D8500000D5500043D60120F2656#1193382735975#com.sap.portal.sapapplication#sap.com/irj#com.sap.portal.sapapplication#Guest#0####c817f770839211dc850f00144f790ff0#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Server#Java###Content pass of Application Integrator failed.
    Component Name:       'com.sap.portal.appintegrator.sap.WebDynpro',
    Context Name (iView): 'pcd:portal_content/com.spe.spe_intranet/content/sites/nullAtSPE2/Connecting/nullAtSPE/AtSPE/Random4',
    Top Layer:            'WebDynpro/TopLayer',
    Producer ID (FPN):    'null',
    System Alias:         'SAP_LocalSystem',
    [EXCEPTION]
    #1#com.sapportals.portal.appintegrator.ApplicationIntegratorException: ApplicationIntegratorException
         at com.sapportals.portal.appintegrator.accessor.ume.UMEAccessor.getTicket(UMEAccessor.java:96)
         at com.sapportals.portal.appintegrator.accessor.system.SAP_LocalSystemAccessor.getAuthenticationData(SAP_LocalSystemAccessor.java:83)
         at com.sapportals.portal.appintegrator.layer.authenticationmethod.AbstractAuthenticationMethod.getUserCredentials(AbstractAuthenticationMethod.java:54)
         at com.sapportals.portal.appintegrator.layer.authenticationmethod.SAPLogonTicket.computeAuthentication(SAPLogonTicket.java:31)
         at com.sapportals.portal.appintegrator.layer.SingleSignOnLayer.processLayer(SingleSignOnLayer.java:45)
         at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:159)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doActionPass(AbstractIntegratorComponent.java:68)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:54)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:396)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
         at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java:799)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.security.api.umap.NoLogonDataAvailableException: No logon ticket available.
         at com.sap.security.core.umap.imp.UserMappingDataImp.getAuthenticationTicket(UserMappingDataImp.java:1772)
         at com.sap.security.core.umap.imp.UserMappingDataImp.enrich(UserMappingDataImp.java:351)
         at com.sapportals.portal.appintegrator.accessor.ume.UMEAccessor.getTicket(UMEAccessor.java:91)
         ... 33 more
    #1.5 #00144F790FF0005D00000D8700000D5500043D60120F3B56#1193382735981#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0####c817f770839211dc850f00144f790ff0#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Server#Java###Exception ID:09:12_26/10/07_0701_426375450
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.spe.spe_intranet/content/sites/nullAtSPE2/Connecting/nullAtSPE/AtSPE/Random4
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : Guest_intra_NL
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: ApplicationIntegratorException
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 29 more
    Hopefully someone has any clues. Thanks in advance. Of course will I reward points for the solution.
    Grtz, JM

    Hi Kelly,
    the point here is native SharePoint integration. If your company does not have a SharePoint strategy then I absolutely agree with you. There are plenty of ways on how you can integrate WebDynpros, iViews, and other "SAP views" in SharePoint.
    The "problem" with these integrations is always that it is not a native / low-level integration. It is just an iFrame within SharePoint that contains data coming from another system. This means that this data is isolated from any other functionality that is available in SharePoint.
    Of course this can be enough for some usecases (maybe for all of yours ), but there are lots of companies who do want to leverage all of SharePoints (collaborative) functionalities. In this case Duet Enterprise does offer a way to integrate SAP objects into SharePoint on a "low-level". All objects that are integrated into SharePoint are then available as "real" SharePoint objects. You can work with them like with any other SharePoint object. You can even offline them using standard SharePoint functionalities. You can bring them to Outlook without any major development, ...
    All this because we not only include an isolated iFrame in SharePoint, but really integrate the data.
    Like I said: there are certainly usecases where this is not required and a simple iFrame is all that you need. However, we have seen in several projects now that there is also a requirement / need for a "deeper" integration.
    Regards,
    Holger.

  • Problems with Javamail Attachments

    Hi,
    i've got a major problem with my application and i can't find the answer. Whenever i'm trying to send an attachment i have this error :
    javax.mail.internet.ParseException
    at javax.mail.internet.ParameterList.<init>(ParameterList.java:77)
    at javax.mail.internet.ContentDisposition.<init>(ContentDisposition.java:69)
    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1104)
    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:824)
    at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:215)
    at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1056)
    at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1914)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1895)
    at javax.mail.Transport.send(Transport.java:79)
    at Send$5.run(Send.java:209)
    at java.lang.Thread.run(Thread.java:536)
    Interactive Session Ended
    My source code is :
    public class DemoSend implements ActionListener{
    public void actionPerformed(ActionEvent evt) {
    try {
    final Properties props = System.getProperties();
    props.put("mail.host", hostField.getText());
    final Session mailConnection = Session.getDefaultInstance(props, null);
    final MimeMessage msg = new MimeMessage(mailConnection);
    final Address to = new InternetAddress(toField.getText());
    final Address from = new InternetAddress(fromField.getText());
    msg.setContent(message.getText(), "text/plain");
    msg.setFrom(from);
    msg.setRecipient(Message.RecipientType.TO, to);
    msg.setSubject(subjectField.getText());
    msg.setSentDate(new java.util.Date());
    final MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText(message.getText());
    final MimeBodyPart mbp2 = new MimeBodyPart();
    mbp2.setDisposition(mbp2.ATTACHMENT);
    final FileDataSource fds=new FileDataSource(FileName);
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName(fds.getName());
    final Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    mp.addBodyPart(mbp2);
    msg.setSentDate(new Date());
    msg.setContent(mp);
    Runnable r = new Runnable() {
    public void run() {
    try {
    Transport.send(msg);
    JOptionPane.showMessageDialog(null," Your message has been sent successfuly","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
    catch (Exception e) {
    e.printStackTrace();
    JOptionPane.showMessageDialog(null," -- E r r o r -- Your message has not been sent!!!!! ","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
    Thread t = new Thread(r);
    t.start();
    message.setText("");
    catch (Exception e) {
    e.printStackTrace();
    and i define at the beggining the string FileName
    public static String FileName = new String();
    and thats for the attach button
    attachButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    if (fc == null) {
    fc = new JFileChooser();
    fc.addChoosableFileFilter(new ImageFilter());
    fc.setAcceptAllFileFilterUsed(true);
    fc.setFileView(new ImageFileView());
    fc.setAccessory(new ImagePreview(fc));
    fc.setMultiSelectionEnabled(true);
    int returnVal = fc.showDialog(Send.this,"Attach File");
    fc.getSelectedFile();
    File file = fc.getSelectedFile();
    It would be a great help if you can can help me find an answer to my problem.
    Thanks in advance.

    I tried to set a specific file for the FileChooser but again the same results.I tried without the preview classes again the same mistake.But when i tried without the JFileChooser it worked, but i must use a JFileChooser in order to choose a file to attach.I used a simple FileChooser and again the same mistakes.I don't know where the mistake is.
    I will be grateful if you can help me out,this is an emergency it is for my project and i'm desperate.
    I include the whole class.
    Thanks again and sorry for the long message.
    I hope you have some free time to help me out.
    Thanks again
    import java.awt.*;
    import javax.swing.JFileChooser.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.activation.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.util.Properties;
    public class Send extends JFrame {
         public static void main(String[] args) throws Exception{
              Send client = new Send();
              client.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              client.show();
         public static JLabel fromLabel = new JLabel("From: ");
              public static JLabel toLabel = new JLabel("To: ");
              public static JLabel hostLabel = new JLabel("SMTP Server: ");
              public static JLabel subjectLabel = new JLabel("Subject: ");
              public static JTextField fromField = new JTextField(40);
              public static JTextField toField = new JTextField(40);
              public static JTextField hostField = new JTextField(40);
              public static JTextField subjectField = new JTextField(40);
              public static JTextArea message = new JTextArea(40, 80);
              public static JScrollPane jsp = new JScrollPane(message);
         public static JButton sendButton = new JButton("Send Message");
         public static JButton clearButton = new JButton("Clear");
         public static JButton attachButton = new JButton("Attach File");
         public static JButton adbButton = new JButton("AddressBook");
         public static JFileChooser fc;
         public static String FileName = new String();
         public Send() {
              super("SMTP Send email");
              Container contentPane = this.getContentPane();
              contentPane.setLayout(new BorderLayout());
              JPanel labels = new JPanel();
              labels.setLayout(new GridLayout(4, 1));
              labels.add(hostLabel);
              JPanel fields = new JPanel();
              fields.setLayout(new GridLayout(4, 1));
              final String host = System.getProperty("mail.host", hostField.getText());
              hostField.setText(host);
              fields.add(hostField);
              final String to = System.getProperty("mail.to", toField.getText());
              labels.add(toLabel);
              fields.add(toField);
              final String from = System.getProperty("mail.from", fromField.getText());
              fromField.setText(from);
              labels.add(fromLabel);
              fields.add(fromField);
              labels.add(subjectLabel);
              fields.add(subjectField);
              Box north = Box.createHorizontalBox();
              north.add(labels);
              north.add(fields);
              north.add(attachButton);
              north.add(adbButton);
              contentPane.add(north, BorderLayout.NORTH);
              message.setFont(new Font("Arial", Font.PLAIN, 12));
              contentPane.add(jsp, BorderLayout.CENTER);
              JPanel south = new JPanel(new FlowLayout());
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(sendButton);
              south.add(clearButton);
              contentPane.add(south, BorderLayout.SOUTH);
              this.pack();
              adbButton.addActionListener(new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             AddressBook adbook = new AddressBook();                     
              clearButton.addActionListener(new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             fromField.setText("");
                             toField.setText("");      
                             hostField.setText("");     
                             subjectField.setText("");
                             message.setText("");
              attachButton.addActionListener(new ActionListener()
                             public void actionPerformed(ActionEvent e)
    if (fc == null) {
                             fc = new JFileChooser();
                                  fc.addChoosableFileFilter(new ImageFilter());
                                  fc.setAcceptAllFileFilterUsed(true);
                                  fc.setFileView(new ImageFileView());
                                  fc.setAccessory(new ImagePreview(fc));
                                  fc.setMultiSelectionEnabled(true);
                             int returnVal = fc.showDialog(Send.this,"Attach File");
                             File file= fc.getSelectedFile();
                             //fc.getSelectedFile();
                             /* JFileChooser fc = new JFileChooser();
                             int retval = fc.showOpenDialog(Send.this);
                        fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
                        fc.setMultiSelectionEnabled(true);
                        File file = fc.getSelectedFile();*/
              DemoSend handler = new DemoSend();
              sendButton.addActionListener(handler);
              addWindowListener(new WindowAdapter()
                        public void windowClosing (WindowEvent e)
              setSize (600, 500);
              show();
         public class DemoSend implements ActionListener{
              public void actionPerformed(ActionEvent evt) {
                   try {
                        final Properties props = new Properties();
                        props.put("mail.host", hostField.getText());
                        final Session mailConnection = Session.getDefaultInstance(props, null);
                        final MimeMessage msg = new MimeMessage(mailConnection);
                        final Address to = new InternetAddress(toField.getText());
                        final Address from = new InternetAddress(fromField.getText());
                        //msg.setContent(message.getText(), "Content-Transfer-Encoding ,base64");
                        msg.setFrom(from);
                        msg.setRecipient(Message.RecipientType.TO, to);
                        msg.setSubject(subjectField.getText());
                        msg.setSentDate(new java.util.Date());
                        final MimeBodyPart mbp1 = new MimeBodyPart();
                        final MimeBodyPart mbp2 = new MimeBodyPart();
                        mbp1.setContent("Content-Transfer-Encoding", "base64");
                        mbp1.setText(message.getText());
                        //if (!FileName.equals("")) {     
                        mbp2.setDisposition(mbp2.ATTACHMENT);
                        mbp2.setContent("Content-Transfer-Encoding", "base64");
                        final FileDataSource fds=new FileDataSource(FileName);
                        mbp2.setDataHandler(new DataHandler(fds));
                        mbp2.setFileName(fds.getName());
                        final Multipart mp = new MimeMultipart();
                        mp.addBodyPart(mbp1);
                        //if (!FileName.equals("")) {
                        mp.addBodyPart(mbp2);
                        msg.setSentDate(new Date());
                        msg.setHeader("Content-Type", "multipart/mixed");
                        msg.setContent(mp);
                        Runnable r = new Runnable() {
                             public void run() {
                                  try {
                                       Transport.send(msg);
                                       JOptionPane.showMessageDialog(null," Your message has been sent successfuly","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
                                  catch (Exception e) {
                                       e.printStackTrace();
                                       JOptionPane.showMessageDialog(null," -- E r r o r -- Your message has not been sent!!!!! ","G T P Email Client",JOptionPane.INFORMATION_MESSAGE);
                        Thread t = new Thread(r);
                        t.start();
                   catch (Exception e) {
                        e.printStackTrace();
    }

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

Maybe you are looking for

  • Sender File adpater to Pick Two files at a time based on the file name

    Hi Everyone, I have a scenario where I need to pick two files at a time using file adapter where the two files names have a common string in between their names.For example , the file names can be sets like H123.txt and L123.txt H345.txt and L345.txt

  • Download link does not work

    I have purchased Adobe Lightroom4 upgrade online in New Zealand, and the download link in my order does not work.  I contacted the Support via Chat and was told to call the 0800 NZ number.  I have been on hold for over an hour!  Any ideas on where I

  • Query on stocks movement takes a long time

    There is a query on stocks movement cube which gives closing stocks across all plants. This query lately has started taking too much of time to execute. We have compressed the cube with no marker update. Any  comments.

  • Need help with error message "Numbers can't be diided by 0"

    I'm trying to do a calculation where there may or may not be data provided by the spreadsheet user. In other words, If there is data, I want this function to preform on it and if there is no user-generated data, I need the cell to display as "0". I'm

  • Hide Install Base & its components on UI screen

    Hello Guys How to hide Installbase and its Components on UI Screen of SAP CRM 2007.In which BSP component Installbase and its components are there and how to remove it. Advanced thanks for suggestions Regards VG