Problem with CMP bean and MySQL: please help me!!!

Hi,
I am using J2EE Sun server 1.3 and Mysql 4.0 database with its MySQL Connector/J 3.0.
The driver connection to the database is fine since "Generate Default SQL" in deploytool gives "SQL generation complete".
However, I can't have a simple row with one text field called test being created in my mysql table called test.
Of course , the mysql server is started and the test table set for use.
Here is my code (I try to access my database from a servlet using a CMP Entity bean):
try{
Context initial = new InitialContext();
Object objref = initial.lookup(EntityHome.JNDI_NAME);
EntityHome home = (EntityHome)PortableRemoteObject.narrow(objref,EntityHome.class);     
Entity test= home.create("zob");               
/*EntityHome home = (EntityHome)PortableRemoteObject.narrow(objref,EntityHome.class);     
catch (Exception ex){                                                                out.println("exception message : " + ex.getMessage()+"</body></html>");}
I get the following exception message :
RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"EntityCMPTable" WHERE "test" = 'zob'' at line 1"; nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"EntityCMPTable" WHERE "test" = 'zob'' at line 1"
I would be very grateful for help since I have a close deadline for this!!!!!!!!
Thank you very much in advance dear java experts!!!!!!!
                                   

Hallo
I have the same problem and the same configuration.
Do you have a solution for this problem ??
Thanks
Georg

Similar Messages

  • Problems with disk permissions and others - Please help

    I recently updated to 10.5.8. When I open GoLive 6 i just get the spinning ball of death. When I try and run disk permissions it just scrolls and scrolls "reading permissions database and does nothing. I am on an iBook G4 1.33 and the system always seems to be dragging. Please help.
    Message was edited by: Marcus MacColonna

    HI Marcus,
    the system always seems to be dragging
    Check to see how much available space there is on the startup disk. Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. *Make sure you always have a minimum of 15% free disk space.*
    If free disk space isn't an issue, help here for the SSBOD
    Carolyn

  • Big problems with Firewire iPod and camcorder  - please help!

    Hi all,
    I don't know where else to turn with this problem. I think I've damaged my Firewire kit.
    I have an iPod 4G 20GB and a Canon MV901 MiniDV Camcorder. I used them both over Firewire with my Pismo without difficulty, but I then tried video editing on my Windows machine with a firewire PCI card. Scrabbling around the back of my computer, I think I somehow managed to get the firewire cable to the camcorder in the socket upside down, reversing the power and data conncectors. Nothing really happened, but the camcorder stopped showing up. I tried it a good few times, then tried my iPod. By some bizarre coincidence, I think I managed to plug the iPod in the same way. Now, my iPod doesn't work on either the Windows machine or the Pismo over firewire, but does over USB2.0 on my Windows machine.
    I measured the power going through the Firewire power pins as around 13.5 volts on my Pismo and the card, but the card also has an auxiliary power connector. This was disconnected when I tested it, but was connected when the iPod and camcorder were.
    The thing I would like to know is whether a voltage spike of this size could fry the firewire controllers on both devices. The iPod's diagnostic mode detects that firewire is connected, but will not show up. Strangely, it still charges over firewire from either machine. Have I permanately damaged the firewire controllers?
    Thanks in advance,
    Rob Johnson

    Rob,
    If you mistakenly inserted the FireWire connector twisted 180 degrees, the power lines can be directly connected to the data lines and can result in a fried PHY (connects the port to the FireWire bridge) or the FireWire bridge itself.
    You can take a look at the voltage specs for FireWire ports and see that your voltage readings are well withing specs:
    http://docs.info.apple.com/article.html?artnum=58207
    I am not sure where you go from here. You could try a known-good FireWire device connected to your Pismo and see if it works. If not, the data-side of the FW port may have failed. I don't know about testing the iPod or camcorder.
    A possible cheap fix for the Pismo FireWire is a FireWire PC card; if running 10.x, it will just be a plug & play affair. However, unlike built-in FireWire ports, FireWire PC cards supply very little bus power. Your camcorder will work since it has it owns power supply (assuming there is no hardware failure) and but am unsure about the iPod. The iPod will not charge, of course, but it may still work in data transfers. There are a few FireWire PC cards that also have their own power supply.

  • Got a new iPhone today and tried to restore from my old phone using icloud but kept coming up with a message that said problem with my icloud back up please help

    Got a new iPhone today and tried to restore from my old phone using icloud but kept coming up with a message that said problem with my icloud back up please help

    Hi there Clairemcaula,
    You may find the troubleshooting steps in the article below helpful.
    iCloud: Troubleshooting restoring an iCloud backup
    http://support.apple.com/kb/ts4036
    -Griff W. 

  • I am having problems with my Pantech Caper. Please Help!

    I just transferred my phone number over to a used Pantech Caper that I bought a few years ago. When I used the Caper previously I had no problem with it. And the phone i had before i transferred numbers worked just fine i was just having problems with some buttons not working. Now that i have transferred the number over to the Caper i can receive texts and picture messages but can not download the messages. I can not receive calls nor can i send texts out. after i try to send a text I receive a message saying I have insufficient fund to send message. oh extra info... i have the plan for 500 minutes and unlimited text picture messages and unlimited web. Please Help... I need my phone for work.

        Hi YukiCross,
    I am  confident your issue has been resolved since your original post! If not,let's get this figured out. Based on your description it sounds like you have Pre-Paid service with us. For Pre-Paid assistance please reach out to:888-294-6804 . I can gladly address and resolve any Post-Pay related concerns.
    Thanks for your contribution to our community forums,
    AyaniB_VZW
    Follow us on Twitter @VZWSupport

  • I have a brand computer and I have an ipod nano generation 7. How do you download your music from itunes to your ipod. I did it on the old computer but am having problems with the new computer. Please help. Thanks

    Please help. I have a new computer and an ipod nano 7th generation. I am having problems getting my music from Itunes library to my ipod. How do you do it?

    Hello Sandy
    You can transfer the purchases from your iPhone to your new computer by following the steps in following article.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    If you have music that was not purchased from the iTunes Store, then you will not be able to move it from the iPhone to your computer. Instead you will need to follow the steps in this article that helps with moving the library from the old to the new.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Problem with java beans and jsp on web logic 6.0 sp1

              HI ,
              I am using weblogic6.0 sp1.
              i have problem with jsp and java beans.
              i am using very simple java bean which stores name and email
              from a html form.
              but i am getting following errors:
              Full compiler error(s):
              D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
              cannot resolve symbol
              symbol : class userbn
              location: class jsp_servlet._savename2
              userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
              ^
              D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
              cannot resolve symbol
              symbol : class userbn
              location: class jsp_servlet._savename2
              userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
              ^
              D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
              cannot resolve symbol
              symbol : class userbn
              location: class jsp_servlet._savename2
              ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
              "userbn"); //[ /SaveName2.jsp; Line: 7]
              ^
              3 errors
              in which directory should i place java bean source file(.java file)
              here is my jsp file:
              <%@ page language = "java" contentType = "text/html" %>
              <html>
              <head>
              <title>bean2</title>
              </head>
              <body>
              <jsp:usebean id = "ud" class = "userbn" >
              <jsp:setProperty name = "ud" property = "*" />
              </jsp:usebean>
              <ul>
              <li> name: <jsp:getProperty name = "ud" property = "name" />
              <li> email : <jsp:getProperty name = "ud" property = "email" />
              </ul>
              </body>
              <html>
              here is my bean :
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              import java.io.*;
              public class userbn implements Serializable
                   private String name ;
                   private String email;
                   public void setName(String n)
                        name = n;
                   public void setEmail(String e)
                        email = e;
                   public String getName()
                        return name;
                   public String getEmail()
                        return email;
                   public userbn(){}
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              pls help me.
              Thanks
              sravana.
              

              You realy can do it like Xiang says, but the better way is to use packages. That's
              the way BEA is designed for. If you use packages you can but your bean classes
              in every subfolder beneath Classes. Here for example we have the subfolders test
              and beans:
              You have to declare the package on top of your Bean Source Code:
              package test.beans;
              In your JSP you don't need the import code of Xiang. You only have to refer the
              path of your bean class:
              <jsp:useBean id="testBean" scope="session" class="test.beans.TestBean" />
              There are some other AppServers that only can deploy Java Beans in packages. So
              if you use packages you are always on the right side.
              ciao bernd
              "sravana" <[email protected]> wrote:
              >
              >Thank you very much Xiang Rao, It worked fine.
              >Thanks again
              >sravana.
              >
              >"Xiang Rao" <[email protected]> wrote:
              >>
              >><%@ page import="userbn" language = "java" contentType = "text/html"
              >>%> should
              >>work for you.
              >>
              >>
              >>"sravana" <[email protected]> wrote:
              >>>
              >>>HI ,
              >>>
              >>>I am using weblogic6.0 sp1.
              >>>
              >>>i have problem with jsp and java beans.
              >>>
              >>>i am using very simple java bean which stores name and email
              >>>
              >>>from a html form.
              >>>
              >>>but i am getting following errors:
              >>>
              >>>________________________________________________________________
              >>>
              >>>Full compiler error(s):
              >>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
              >>>cannot resolve symbol
              >>>symbol : class userbn
              >>>location: class jsp_servlet._savename2
              >>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
              >>> ^
              >>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
              >>>cannot resolve symbol
              >>>symbol : class userbn
              >>>location: class jsp_servlet._savename2
              >>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
              >>> ^
              >>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
              >>>cannot resolve symbol
              >>>symbol : class userbn
              >>>location: class jsp_servlet._savename2
              >>> ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
              >>>"userbn"); //[ /SaveName2.jsp; Line: 7]
              >>> ^
              >>>3 errors
              >>>
              >>>____________________________________________________________
              >>>
              >>>in which directory should i place java bean source file(.java file)
              >>>
              >>>here is my jsp file:
              >>>--------------------------------------------------------
              >>>
              >>><%@ page language = "java" contentType = "text/html" %>
              >>><html>
              >>><head>
              >>><title>bean2</title>
              >>></head>
              >>><body>
              >>><jsp:usebean id = "ud" class = "userbn" >
              >>><jsp:setProperty name = "ud" property = "*" />
              >>></jsp:usebean>
              >>><ul>
              >>><li> name: <jsp:getProperty name = "ud" property = "name" />
              >>><li> email : <jsp:getProperty name = "ud" property = "email" />
              >>></ul>
              >>></body>
              >>><html>
              >>>
              >>>-------------------------------------------------------------
              >>>
              >>>here is my bean :
              >>>
              >>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              >>>
              >>>import java.io.*;
              >>>
              >>>public class userbn implements Serializable
              >>>{
              >>>
              >>>     private String name ;
              >>>
              >>>     private String email;
              >>>
              >>>     public void setName(String n)
              >>>     {
              >>>
              >>>          name = n;
              >>>     }
              >>>
              >>>     public void setEmail(String e)
              >>>     {
              >>>
              >>>          email = e;
              >>>     }
              >>>
              >>>     public String getName()
              >>>     {
              >>>
              >>>          return name;
              >>>     }
              >>>
              >>>     public String getEmail()
              >>>     {
              >>>
              >>>          return email;
              >>>     }
              >>>
              >>>     public userbn(){}
              >>>}
              >>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              >>>
              >>>pls help me.
              >>>Thanks
              >>>sravana.
              >>>
              >>
              >
              

  • I have a problem with my win 8 system please help

    hi.
    yesterday I got the msi gt70 I ordered in the mail everything is working good accept one thing.
    whenever I try to install an app (no matter what kind, I tried solitaire and Skype) the app is going up and immediately shuts down nothing happens.
    I tried to look it up on the web and did everything it says but nothing helped.
    please help me I want thing to work properly.
    ty for your attention.

    I have the exact same problem in my GT70-0ND-447 with Windows 8 SL x64.
    Skype, Ebay and some other Metro style applications does not work.
    When I start the application startup screen appears, and then almost immediately closes.
    Applications can be seen in the drop down list on the left, but they do not work. In the system log I see a message "The server not register with App DCOM within the required timeout" (error 10010).
    Event for Ebay under Microsoft-Windows-TWinUI/Operational: "Activation of the app eBayInc.eBay_1618n3s9xq8tw!App for the Windows.Launch contract failed with error: The app didn't start." (error 5961).
    I wrote to support. Waiting...
    Please help!

  • Problems with Oracle XE on XP - Please help!

    Hi,
    I have oracle XE installed on my machine and it was working absolutely fine for the last year or so. Today there was an trojan intrusion which caused some issues with my windows xp OS like hiding some files, desktop etc. After everything was cleaned up and things back to normal. I am having issues with XE.
    I can start and stop XE with out any issues and When I use the run sql command line, I can connect using - connect sys/sys as sydba and I can also run a query to see all the users and see the HR user also.
    However, 1. When I connect to my hr user using connect hr/password@xe, it just hangs
    2. I tried the- go to Oracle XE admin page but it just hangs for a long time and returns page cannot be found.
    3. I can tnsping the xe instance.
    Not sure what the issue is? I am not a DBA and don't have much knowledge on this. Is a fresh install the only option? or is there any way to correct this using the sys/sys user?
    I have pasted the listenor.log and listenor.ora details below. I tried a fresh install after removing XE. but the same issue!
    Please help!
    Thanks,
    Nikita
    Here is the output of listner.log
    30-APR-2012 13:18:19 * service_update * xe * 0
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nikita-lap)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    30-APR-2012 13:18:19 * service_update * xe * 0
    30-APR-2012 13:18:22 * service_update * xe * 0
    30-APR-2012 13:18:25 * service_update * xe * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nikita-lap)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    30-APR-2012 13:18:27 * service_died * xe * 12537
    30-APR-2012 13:18:30 * service_register * xe * 0
    30-APR-2012 13:18:30 * service_update * xe * 0
    30-APR-2012 13:18:36 * service_update * xe * 0
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    30-APR-2012 13:18:39 * service_update * xe * 0
    30-APR-2012 13:18:42 * service_update * xe * 0
    30-APR-2012 13:18:48 * service_update * xe * 0
    30-APR-2012 13:18:55 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1708)) * handoff * http * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    30-APR-2012 13:19:39 * service_update * xe * 0
    30-APR-2012 13:19:42 * service_update * xe * 0
    30-APR-2012 13:25:03 * service_update * xe * 0
    30-APR-2012 13:25:05 * service_update * xe * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    30-APR-2012 13:25:07 * service_died * xe * 12537
    30-APR-2012 13:26:14 * service_register * xe * 0
    30-APR-2012 13:26:15 * service_update * xe * 0
    30-APR-2012 13:26:20 * service_update * xe * 0
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    30-APR-2012 13:26:23 * service_update * xe * 0
    30-APR-2012 13:26:26 * service_update * xe * 0
    30-APR-2012 13:26:29 * service_update * xe * 0
    30-APR-2012 13:26:32 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1992)) * handoff * http * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    30-APR-2012 13:26:38 * service_update * xe * 0
    Trace information written to C:\oraclexe\app\oracle\product\10.2.0\server\network\trace\listener.trc
    30-APR-2012 13:28:43 * trace * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nikita-lap)(PORT=1521)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Listener completed notification to CRS on stop
    30-APR-2012 13:31:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=nikita))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * stop * 0
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 30-APR-2012 13:31:06
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Log messages written to C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Trace information written to C:\oraclexe\app\oracle\product\10.2.0\server\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=5236
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nikita-lap)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    30-APR-2012 13:31:07 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=nikita))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    30-APR-2012 13:32:03 * service_register * xe * 0
    30-APR-2012 13:32:32 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=2040)) * handoff * http * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    30-APR-2012 13:35:00 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=nikita))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    30-APR-2012 13:42:03 * service_update * xe * 0
    and here is the contects of listenor.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = nikita-lap)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    -------------------------------------------------------------------------------------------------------------------------------------------------------

    Hi Clcarter,
    Apologies, Did not get notifications for this. Just logged in to check on the status and saw your updates. Looks like an issue with the host.Here is the output of the commands
    Ethernet adapter Wireless Network Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6200
    AGN
    Physical Address. . . . . . . . . : 00-27-10-D2-D3-4C
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 191.167.1.7
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 191.167.1.1
    DHCP Server . . . . . . . . . . . : 191.167.1.1
    DNS Servers . . . . . . . . . . . : 191.167.1.1
    Lease Obtained. . . . . . . . . . : Sunday, May 06, 2012 1:14:20 PM
    Lease Expires . . . . . . . . . . : Sunday, May 06, 2012 2:14:20 PM
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Description . . . . . . . . . . . : Intel(R) 82577LM Gigabit Network Con
    nection
    Physical Address. . . . . . . . . : 5C-26-0A-16-0E-BE
    C:\Documents and Settings\nikita>netstat -an |findstr LISTEN
    TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:1860 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:1861 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:1863 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2030 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2301 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:8180 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1798 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:5152 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:62514 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:62522 0.0.0.0:0 LISTENING
    TCP 191.167.1.2:80 0.0.0.0:0 LISTENING
    TCP 191.167.1.7:139 0.0.0.0:0 LISTENING
    C:\Documents and Settings\nikita>nslookup 191.167.1.7
    DNS request timed out.
    timeout was 2 seconds.
    *** Can't find server name for address 191.167.1.1: Timed out
    *** Default servers are not available
    Server: UnKnown
    Address: 191.167.1.1
    DNS request timed out.
    timeout was 2 seconds.
    *** Request to UnKnown timed-out
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 30-APR-2012 15:52:42
    Uptime 5 days 21 hr. 47 min. 39 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nikita-lap)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 4 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 4 handler(s) for this service...
    The command completed successfully
    The nslookup throws a DNS error. could that be the problem?
    Thanks,
    Nikita

  • Problem with Variable!!! Please Help

    Hello People!
    I have a big problem!!
    I have a procedure executed by a program in Pro * C/C++
    In this program there is a variable:
    char CBATCH[8];
    MEMSET (CBATCH, NULL, 8);
    This variable is a parameter for my procedure!
    create or replace procedure COMPOSER (vnum_composer out number,
    vbatch_id in varchar2)
    as
    begin
    select count(batch_id) into vnum_composer
    from trl_batch_composer
    where batch_id = vbatch_id
    and send = 0;
    end;
    The problem is, vnum_composer is always NULL.
    I think thats because in my table, Batch_id is a CHAR(7).
    So it cant compare batch_id = vbatch_id....
    please help...

    You mean the sequence you have in Query Properties - Variable Sequence dont match with the Runtime Selection Window?
    I remember having a similar problem last week but cud resolve it after redoing it .
    I am guessing ur on BI 7.0 SP 13...
    Message was edited by:
            Jr Roberto

  • File Upload problem: JSF, IBM WPS and Portlet - Please HELP Vey Very Urgent

    I want to upload a file from the front end using JSF and Portlets deployed on IBM WebSphere Portal.
    I have used Apache's commons file upload functionality as the file upload provided in JSF doesnot work with portlets and the action event is not invoked If I keep enctype="multipart/form-data". So I included 3 forms in my Faces JSP file.
    1) h:form = For displyign error message on screen
    2) html:form = Include the enctype="multipart/form-data" and the input type file for uploading. And a submit button
    3) h:form: Here I have a command link which is remotely excuted on click of sumit button in my html form. This is to invoke the action event in the pagecode to get the bean value from the context.
    Now in the my doView method in the portlet, isMultipartContent(httpservletrequest) always returns null as the content type is text/html and not multipart. Onclick of the submit button in the the html form I am calling a javascript function which sets the __LINK_TARGET__ to the command link in the 3rd h:form which will call the page code.
    The problem here is action is invoked only when I return false from the above javascript else it will trigger for the first time and from second time onwards it will not invoke the action event in the pagecode method. Whent the javascript function returns false, the content type is always text/html. However if I return "true" from the javascript the content type is multipart/form-data, but the action is not triggered for the second time. So basically when the javascript functions returns true, for the first click everything works perfectly. When it returns false, the content type is text/html, but the action is invoked in the page code every time.
    Returning always true would solve my problem with the content type, but the action with the command link will not get invoked always as its some type of problem with h:commanLink :(.
    I guess I gave too much info. Heres my code stepby step.
    Can somebody please tell me , how I should also invoke the action in the page code and get the content type as "multipart/form-data" at the same time.
    1:
    ======================= Faces JSP File: BPSMacro.jsp ====================
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta name="GENERATOR" content="IBM Software Development Platform">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
    <%@taglib uri="/WEB-INF/tld/j4j.tld" prefix="j4j"%>
    <%@taglib uri="/WEB-INF/tld/core.tld" prefix="core"%>
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1" session="false"%>
    <portlet:defineObjects />
    <link rel="stylesheet" type="text/css"
         href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/stylesheet.css") %>'
         title="Style">
    <script type="text/javascript">
    function formSubmit() {
         var formName2 = document.getElementById("proxy_form_main_").title;
         var formName1 = document.getElementById("BPSMacroFormId").title;
         document.getElementById("__LINK_TARGET__").value = document.getElementById("proxy_HD_COMMAND_").title;
         document.getElementById(formName2).submit();
         return false;
    </script>
    <f:view>
         <hx:scriptCollector id="bpsMacroScriptCollector">
              <f:loadBundle var="bps" basename="bordereauprocessingsystem" />
              <table bgcolor="#FFF9C3">
                   <tr>
                        <td><h:form id="BPSMacroFormMain" styleClass="form">
                             <table class="tablemiddle" cellspacing="0" cellpadding="0">
                                  <tr>
                                       <td><h:messages layout="table" styleClass="errormessage"
                                                 id="ValidationErrorMsg" /> </td>
                                  </tr>
                             </table>
                             <j4j:idProxy id="proxy_form_main_0_" />
                        </h:form></td>
                   </tr>
                   <tr>
                        <td>
                        <form id="BPSMacroFormId" enctype="multipart/form-data">
                        <table bgcolor="#FFF9C3">
                             <tr>
                                  <td height="36" width="324">Worksheet <input type="file"
                                       name="upfile" /></td>
                             </tr>
                                  <tr>
                                       <td align="center" width="324"><input TYPE="submit"
                                       onclick="return formSubmit();" value="Upload">
                                  </td>
                             </tr>
                        </table>
                        </form>
                        </td>
                   </tr>
                   <tr>
                        <td>
                        <h:form id="BPSMacroFormMain2" styleClass="form">
                             <table cellspacing="2" cellpadding="2" class="tablemiddle">
                                  <tbody>
                                       <tr>
                                            <td colspan="2" align="center"><h:commandLink
                                                 styleClass="commandLink" id="lnkuserdelete"
                                                 action="#{pc_BPSMacro.doIdUpload1Action}">
                                                 <hx:graphicImageEx
                                                      styleClass="graphicImageEx" id="imgBtnCreateUser"
                                                      value="/theme/images/btnUpload.gif" style="border:0;cursor:pointer"></hx:graphicImageEx>
                                                 <j4j:idProxy id="proxy_HD_COMMAND_" />
                                            </h:commandLink></td>
                                            <h:inputHidden id="dtSize"
                                                 value="#{pc_BPSMacro.fileDetailsList.clicked}">
                                                 <j4j:idProxy id="proxy_clicked_" />
                                            </h:inputHidden>
                                       </tr>
                                  </tbody>
                             </table>
                             <j4j:idProxy id="proxy_form_main_" />
                        </h:form>
                   </td>
                   </tr>
              </table>
         </hx:scriptCollector>
    </f:view>
    ================== END: FACES JSP FILE: BPSMacro.jsp ========================
    2:
    =================== Action event in the Page Code: BPSMacro.java ============
    public String doIdUpload1Action() {
              System.out.println("PageCode");
              FacesContext context = FacesContext.getCurrentInstance();
              BPSMacroDetailsDataBean fileDetails = (BPSMacroDetailsDataBean)context.getApplication().createValueBinding("#{fileDetails}").getValue(context);
              BPSMacroListDataBean fileDetailsList = (BPSMacroListDataBean)context.getApplication().createValueBinding("#{fileDetailsList}").getValue(context);
              PortletSession sess = (PortletSession)context.getExternalContext().getSession(false);
              sess.setAttribute("BPS_MACRO_CONTEXT", context, PortletSession.APPLICATION_SCOPE);
              sess.setAttribute("BPS_MACRO_FILE_DETAILS", fileDetails, PortletSession.APPLICATION_SCOPE);
              sess.setAttribute("BPS_MACRO_FILE_LIST", fileDetailsList, PortletSession.APPLICATION_SCOPE);
              HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
              boolean isMultipart = ServletFileUpload.isMultipartContent(request);
              request.getContentType();
              return "gotoBPSMacro";
    ============== END Of Page Code Action event ==============================
    3:
    ============== doView() Portlet method ================================
    public void doView(RenderRequest arg0, RenderResponse arg1)
         throws PortletException, IOException {
              String METHOD_NAME = "doView(RenderRequest arg0, RenderResponse arg1)";
              Logger.debug(this.getClass(), METHOD_NAME, "Entering BPSMacroPortlet");
              FacesContext context = FacesContext.getCurrentInstance();      
              PortletSession sess1 = arg0.getPortletSession(true);
              BPSMacroDetailsDataBean fileDetails = new BPSMacroDetailsDataBean();
              BPSMacroListDataBean fileDetailsList = new BPSMacroListDataBean();
              context = (FacesContext)sess1.getAttribute("BPS_MACRO_CONTEXT", PortletSession.APPLICATION_SCOPE);
              if(context != null){
                   fileDetails = (BPSMacroDetailsDataBean)sess1.getAttribute("BPS_MACRO_FILE_DETAILS", PortletSession.APPLICATION_SCOPE);
                   fileDetailsList = (BPSMacroListDataBean)sess1.getAttribute("BPS_MACRO_FILE_LIST", PortletSession.APPLICATION_SCOPE);
              sess1.removeAttribute("BPS_MACRO_CONTEXT", PortletSession.APPLICATION_SCOPE);
              sess1.removeAttribute("BPS_MACRO_FILE_DETAILS", PortletSession.APPLICATION_SCOPE);
              sess1.removeAttribute("BPS_MACRO_FILE_LIST", PortletSession.APPLICATION_SCOPE);
              HttpServletRequest servletRequest = (HttpServletRequest)arg0;
              PortletRequest pReq = (PortletRequest)arg0;
              HttpServletResponse servletResponse= (HttpServletResponse)arg1;
              System.out.println("\n\n Content Type" + servletRequest.getContentType());
              try{
                   if(context != null){
              boolean isFileMultipart = ServletFileUpload.isMultipartContent(servletRequest);
              System.out.println("\nFILE TO BE UPLOADED IS MULTIPART ? " + isFileMultipart);
              if(isFileMultipart){
                   FileItemFactory factory = new DiskFileItemFactory();
                   ServletFileUpload upload = new ServletFileUpload(factory);
                   List items = upload.parseRequest(servletRequest);
                   Iterator iterator = items.iterator();
                   while (iterator.hasNext()) {
                        FileItem item = (FileItem) iterator.next();
                        InputStream iStream = item.getInputStream();
                        ByteArrayOutputStream ByteArrayOS = new ByteArrayOutputStream();
                        int sizeofFile =(int) item.getSize();
                        byte buffer[] = new byte[sizeofFile];
                        int bytesRead = 0;
                        while( (bytesRead = iStream.read(buffer, 0, sizeofFile)) != -1 )
                             ByteArrayOS.write( buffer, 0, bytesRead );
                        String data = new String( ByteArrayOS.toByteArray() );
                        int k = 0;
                        //Check if the file is Refund or Premium
                        int dynamicArraySize = 0;// = st2.countTokens() * 9;
                        dynamicArraySize = st2.countTokens() * 9;
                        if (!item.isFormField() ){
                             File cfile=new File(item.getName());
                             String fileName = "";
                             String separator = "\\";
                             int pos = item.getName().lastIndexOf(separator);
                             int pos2 = item.getName().lastIndexOf(".");
                             if(pos2>-1){
                                  fileName =item.getName().substring(pos+1, pos2);
                             }else{
                                  fileName =item.getName().substring(pos+1);
                             File fileToBeUploaded=new File("C:\\Sal\\BPS MACRO\\FileTransfer\\Desti", fileName);
                             item.write(fileToBeUploaded);
                             validate.displaySuccessMessage(context);
              }catch(Exception e){System.out.println(e);
              Logger.debug(this.getClass(), METHOD_NAME, "Leaving BPSMacroPortlet");
              super.doView(arg0, arg1);
    ==== END: doView method in the portle class. ================================
    Thanks.

    one more question. Is there a way where I can submit two forms ?
    Thats is submit 2nd form only when the first form is submitted.
    I tried this it works.
    function formSubmit(){
    document.form1.submit();
    alert();
    document.form2.submit();
    But If I dont put an alert(basically it disables the parent page) in between, only the second form is submitted.
    If I put a delay of say 3 seconds in between then it will throw a SOCKET CLOSED error in the code triggered due to first form submit.
    Thus disabling the paresnt page for a few seconds is reolving my problem.
    Any ideas ?
    Well Basically when the Alert pop's up the parent page "STALLS" and thus the form2 does not submit till I click on OK, Is there a way I can stall the browser/Parent JSP page using JAVA SCRIPT ??
    Edited by: hector on Oct 9, 2007 11:09 AM
    Edited by: hector on Oct 9, 2007 2:12 PM

  • Problem with SOAP receiver adapter? Please help!

    Hi experts
       I have the following scenario:
       SAP R/3 -ABAP Proxy>XI--->SOAP --webservice
       As you can see, I am sending data from R/3 system to XI via ABAP proxy. XI then sends data or calls a webservice via SOAP adapter.
    When I test this scenario I am getting a error in the sxmb_moni that is,
    "com.sap.aii.af.ra.ms.api.DeliveryException: TEXT/HTML; HTTP 504 Gateway Time-out"
    I have checked the webservice url and it is working fine.
    Can somebody tell me why am I getting this error message? How do I resolve this?
    Thanks
    Gopal

    Hi,
    Can you please check the  settings in Soap Adapter with Module Adapter setting with ModuleTranformBean parameters? There may be some problem. use HTTP Adapter and the message type 'HttpPostIn' to send as HTTP Post.
    Also
    There is the note 450226 gives an overview over error codes
    Probably below solution may help you.........
    As an administrator on your portal go to:
    System Configuration > Service Configuration >applications
    Under: com.sap.portal.ivs.httpservice > Services > Proxy
    If any proxy settings are configured you may end up with the problem, so you need to set the "nonProxyHosts" to include the trex host.
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Serious Problem with New Mac Pro! Please help!!

    Ok, long story short.
    My Mac pro keeps crashing after I installed the latest 05-2007 security update. It seems to crash everytime I come back to the computer after the screensaver has been on for a while (its not the screensaver though) I reinstalled the newer v1.1 version of the update and I thought the problem had gone, but it hasnt as the computer just crashed again.
    I cannot see any correlation to any other programs, and im 99% sure its not a hardware issue. It does not seem to relate to parallels, or the screensaver, or itunes, or anything!
    And there is another crazy thing, when the computer restarts, it says that it recovered from a serious error and asks you to sumit a report, so i click the send report button and do you see a normal report window with all the code ? NO!!! Press report and the initial window just DISAPPEARS, nothing else happens!!! i.e it wont send the but to apple!! no wonder they haven't fixed it!!!
    The history of the panic log is always the same error:
    Tue Jun 5 19:29:24 2007
    panic(cpu 3 caller 0x003BDEB0): OSObject::refcount: Attempting to retain a freed object
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x4c543bb8 : 0x128d08 (0x3cb134 0x4c543bdc 0x131de5 0x0)
    0x4c543bf8 : 0x3bdeb0 (0x3f0f94 0x3f0f70 0x160f5ba4 0xad319c0)
    0x4c543c18 : 0x3c0d3b (0x160f5ba0 0x4ae958 0x28 0x3c09c4)
    0x4c543c48 : 0x3c0e94 (0x13c58c40 0xad319c0 0x0 0x3c10ef)
    0x4c543c68 : 0x3c188a (0xad319c0 0x0 0x0 0x0)
    0x4c543ca8 : 0x3c18f7 (0xad319c0 0x13c3a100 0x13c36b00 0x1628d8)
    0x4c543ce8 : 0x38663c (0xad14840 0x0 0x4c543d28 0x3c1002)
    0x4c543d08 : 0x389e5b (0xad02080 0xff7da80 0x0 0xad02080)
    0x4c543d28 : 0x3b1448 (0xad02080 0xff7da80 0x4c543d58 0x3bdfd9)
    0x4c543d78 : 0x188511 (0xad02080 0x14da63b4 0x14da63c8 0x11cc32)
    0x4c543db8 : 0x12b4c3 (0x14df20b4 0x14da6398 0x0 0x0)
    0x4c543df8 : 0x124b17 (0x14df2000 0x0 0x18 0x4c543edc)
    0x4c543f08 : 0x195a42 (0x4c543f44 0x0 0x0 0x0)
    0x4c543fc8 : 0x19b21e (0xb101f20 0x0 0x19e0b5 0xb101f20) No mapping exists for frame pointer
    Backtrace terminated-invalid frame pointer 0xb011e508
    Kernel version:
    Darwin Kernel Version 8.9.2: Thu Feb 22 18:08:23 PST 2007; root:xnu-792.19.2~1/RELEASE_I386
    Please help someone!

    Did you read the thread on Security Update 2007-005?
    Frozen Mac Pro

  • Problem with I-trigue 5600 . Please help!

    hi,
    My I-trigue 5600 worked perfectly for over 4 years. Buy recently, my rear right channel stoped working I 've tried everything : all satellites work poperly,drivers are ok, I tested it on 2 computers. There is still the same problem. Unfortunately Creative dosn't have after-guarantee service.. So, I tried to open subwoofer, but the inerity is too complicated with many areas flooded with glue or isolation. I tried also to buy another subwoofer / i believe it must have small damage , but the rest of speakers work great and the voice of subwoofer is good as well/ but there is problem with buying a subwoofer separately. Becouse there are only auctions on net.
    So , what I supposed to do? Does Creative have separated spare parts to my subwoofer? Can I buy another subwoofer anywhere?
    Can I replace my sub to similar from another speakers system and which one would be suitable.
    I don't want to change my speakers. They are the best for me, but defect of one chanell is annoying. Really.
    I wanted to buy x-fi elite pro ,but now it's pointless.
    Please help me
    Despere Makary

    Hey! I've got the same problem with the same kind of speakers! When im listening to something volume is coming down and after a some time its coming back to its previous level! Coming back to its normal level can be forced by turning the speakers on and off! thats all i've discovered...
    i also heard that some of creative speakers have kind of (f**k i dont know the word in english :P ) which works like that: when subwoofer is hot it automatially turns the volume lower to save your speakers from burning form hot :P or something like this :P
    hmm... what i discovered that is no matter what i connect as source of music! effect of volume is the same
    or maby you discovered the reason of this?
    ps.
    sory for my very unperfect english...

  • Have a big problem with report. Very urgent please help

    I have a report rep1. When I run the report via batch thru command rwclient to create a file it failed. I got the follwoing error message:
    REP-0177: Error while running in remote server
    Job 1413 is terminated due to connection timeout.
    It does not even try for few seconds before gives this message. I ran some other batch reports whihc took 15 minutes and they were fine.
    So, I stopped running the bad report for the day thinking the report is still not dead. I ran the same rep1 next day I still get the same error message. But this time when I ran I looked at the appserver showjobs (which lists the reports that were running and that already ran). The job number is different But still it fails in 3 seconds with the job number 1413 and connection time out. Can any one tell what might be the problem.
    Any number of times I run this job I get the same job number with same error (all this is only if I run it as batch using rwclient). If I run this as online by calling it from a form it returns the results without any problems.
    Please help. Very urgent.
    Thanks in advance.
    Asha

    You might want to delete the report server .dat file and restart the server and try
    his also could be one of the issues we had seen and fixed in 9.0.2.3. Please ensure you have the latest patch applied
    Thanks
    The Oracle Reports team

Maybe you are looking for