Another t3-client/classpath problem

Hi
This is a wl6.0 problem.
I am trying to load a t3 client as a startup class.
The t3 client looks up the home interface of a
deployed ejb bean.
The startup of the client fails because it cant find the home interface
in the
classpath. This is strange since the ejb bean is deployed before the
startup
of the client.
<Feb 15, 2001 11:07:32 AM GMT+00:00> <Info> <WebLogicServer> <Invoking
startup class: com.caput.modules.listserv.client.T3Client.startup(null)>
<Feb 15, 2001 11:07:32 AM GMT+00:00> <Info> <WebLogicServer>
<com.caput.modules.listserv.client.T3Client reports: Poller / $Revision:
1.4 $ with weblogic name Poller has been started in daemon thread by the
name: Poller-thread>
java.lang.NoClassDefFoundError:
com.caput.modules.core.ejb.DomainFinderHome
at
com.caput.modules.listserv.client.Poller.class$(Poller.java:41)
at
com.caput.modules.listserv.client.Poller.getDomains(Poller.java:560)
at
com.caput.modules.listserv.client.Poller.initDomainSetup(Poller.java:480)
at com.caput.modules.listserv.client.Poller.run(Poller.java:271)
at java.lang.Thread.run(Thread.java:484)
<Feb 15, 2001 11:07:32 AM GMT+00:00> <Notice> <WebLogicServer>
<ListenThread listening on port 7051>
Evidently the interfaces of the deployed bean are not automatically put
in the classpath.
Does anyone know why?
The setup worked in well in wl5.1. But wl6.0 only operates with a java
classpath
and no weblogic classpath.
Putting the interfaces in the java classpath (in the startup script)
corrupts the
deployment of the ejb bean.
Any help on this problem would be a great help.
Thanks.
Michael Krogh
Developer
Michael Bundgaard Krogh
Caput A/S
Nygade 6
1164 Copenhagen
Denmark
Tel: +45 70 12 24 42
Fax: +45 70 11 24 42
mailto:[email protected]
http://www.caput.com

See http://e-docs.bea.com/wls/docs60/programming/topics.html#1037589
Handling EJB References in Startup Classes
If a startup class references enterprise beans, you will have to add the
EJB interfaces to the Java System classpath, because startup classes
execute before applications are deployed. This means that you cannot
change the EJB interfaces without restarting WebLogic Server.
When the deployment order will be fixed (sp1) you can use load-on-startup
servlet instead of startup class.
Michael B .Krogh <[email protected]> wrote:
Hi
This is a wl6.0 problem.
I am trying to load a t3 client as a startup class.
The t3 client looks up the home interface of a
deployed ejb bean.
The startup of the client fails because it cant find the home interface
in the
classpath. This is strange since the ejb bean is deployed before the
startup
of the client.
<Feb 15, 2001 11:07:32 AM GMT+00:00> <Info> <WebLogicServer> <Invoking
startup class: com.caput.modules.listserv.client.T3Client.startup(null)>
<Feb 15, 2001 11:07:32 AM GMT+00:00> <Info> <WebLogicServer>
<com.caput.modules.listserv.client.T3Client reports: Poller / $Revision:
1.4 $ with weblogic name Poller has been started in daemon thread by the
name: Poller-thread>
java.lang.NoClassDefFoundError:
com.caput.modules.core.ejb.DomainFinderHome
at
com.caput.modules.listserv.client.Poller.class$(Poller.java:41)
at
com.caput.modules.listserv.client.Poller.getDomains(Poller.java:560)
at
com.caput.modules.listserv.client.Poller.initDomainSetup(Poller.java:480)
at com.caput.modules.listserv.client.Poller.run(Poller.java:271)
at java.lang.Thread.run(Thread.java:484)
<Feb 15, 2001 11:07:32 AM GMT+00:00> <Notice> <WebLogicServer>
<ListenThread listening on port 7051>
Evidently the interfaces of the deployed bean are not automatically put
in the classpath.
Does anyone know why?
The setup worked in well in wl5.1. But wl6.0 only operates with a java
classpath
and no weblogic classpath.
Putting the interfaces in the java classpath (in the startup script)
corrupts the
deployment of the ejb bean.
Any help on this problem would be a great help.
Thanks.
Michael Krogh
Developer
Michael Bundgaard Krogh
Caput A/S
Nygade 6
1164 Copenhagen
Denmark
Tel: +45 70 12 24 42
Fax: +45 70 11 24 42
mailto:[email protected]
http://www.caput.com
Dimitri

Similar Messages

  • Another simple classpath problem question

    Hi All
    Yes I know, there are a lots of questions about this matter, but I couldn't found a solution to my problem.
    I have a simple program:
    public class prueba {
            public static void main(String[] args) {
                    System.out.println("Ahi va...");
    }placed in /tmp/javier/prueba.java
    After compiled, I've tried to run it from / and then problems started:
    cd /
    java /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    I said, ok...it could be a classpath problem...then:
    java -cp /tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba
    Damn, another try...
    java -cp .:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Jesus Christ....may be the last slash....
    java -cp .:/tmp/javier /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Oh...no.... may be classpath to java classes..
    java -cp .:/usr/java/j2sdk1.4.2_01/lib/jre/:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Well, I don't know why this error happens....
    Please, could somebody help me !!!
    Thanks in advance...
    <jl>

    It's not too early to start following the Sun coding
    conventions for Java:
    http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.
    tmlHi
    thanks for your reply.
    Yes, I agree. I use conventions with my programs. But my real problem was with a real application and then I did quickly this simple code to help others to understand the problem and give a fast reply...
    Let me know if that works. (It was fine on my
    machine.) - MODYes it works fine, thanks.... and Damn...Murphys law again, the only option I didn't tried is the solution to my problem... :)
    Thanks again...

  • Classpath problem

    i am here stuck..
    my dir structure is
    c:\my\xxx\yyy\zzz
    i have a code ...
    package xxx.yyy.zzz;
    class A
    // some code
    }i have compiled sucessfully and put the clsss file into c:\my\xxx\yyy\zzz folder.
    now i want to import it in another class
    like...
    package xxx.yyy; // note this
    import xxx.yyy.zzz.*; // note this
    class B
    // some code
    // creating instance of class A here
    }question is how do i compile and run it ?
    i am at c:\my---> what should be the command to compile and run the above code?
    plz give me the explicit command so that i can test and verify . i have given the dir structure.
    i have tried several ways but got class not found exception and errors . i know its a classpath problem but i could not figure out what should i type at the c:\my prompt.
    can u give exact command to run and compile the above code in steps ?
    thanx

    question is how do i compile and run it ?You don't with that code. You've defined class A to have "package visibility," meaning it can't be used from outside its package. You should declare it with public visibility instead, like "public class A {...".
    Once you change that, use these commands to compile and run:c:\my\>javac xxx/yyy/zzz/A.java
    c:\my\>javac xxx/yyy/B.java
    c:\my\>java xxx.yyy.B

  • Fragment Bundle Classpath problems

    Does anyone have any tips for solving classpath problems in fragment bundles? I'm getting a no-class-def that I can't explain.
    I've used maven to create a fragment, hosted by com.day.crx.sling.server, to create a custom login. It needs to call a web service, so I've included httpclient-4.2.3.jar. I can see this jar listed on the deployed fragment's Bundle-ClassPath, via the osgi>bundle console. When I inspect the bundle that maven created, I can find this jar contained in the bundle jar, in the directory specified in the Bundle-ClassPath. I even oppened the httpclient jar to ensure that the offending class (org/apache/http/client/HttpClient) is there.
    This is the first fragment that I've tried to build. Is there something I don't know about how they load classes?
    Does anyone have any tips or tricks on solving osgi classpath problems? I read that felix has some tools, but I haven't found any documentation about them.

    I'm still not sure why the classes didn't load, but I have a solution to my problem - don't try to include the jars in the fragment bundle. I tracked down osgi-ready versions of the libraries that I needed and and installed them.

  • Classpath problems in EAR packaging?

    I try to access an EJB from a JSP. The JSP resides in web.war and the bean is in ejb.jar, and both of these are packaged together in an ear.
    I get a compile error when I try opening a JSP. I've had this problem in all my attempts to use my bean classes from JSP.
    My browser reports that the compiler cannot find the beans package. I have servlets within the war-file that are able to find the beans package, but the JSPs aren't.
    My ear-file contains 3 files
    ejb.jar
    web.war
    META-INF\MANIFEST.MF
    The manifest classpath points to ejb.jar and web.war
    My guess is that this has something to do with the way this is deployed by GlassFish.
    The application is deployed in the
    domains\mydomain\applications\j2ee-apps\myear\
    This directory contains the expanded files:
    ejb_jar\
    web_war\
    META-INF
    So the Java classes under web_war\ are able to see the Java classes under ejb_jar\ (i.e. my servlets)
    However; when GlassFish creates Java files from the JSPs and then tries to compile them, these files are placed under
    domains\mydomain\generated\jsp\j2ee-apps\myear\web_war\org\apache\jsp\jsp
    This might be correct for all I know, but apparently the compiler is unable to find the Java classes located under the mydomain\applications\.. directory when compiling classes located under the mydomain\generated\.. directory. There are no other files from my ear anywhere in the "generated" directory.
    So to me this seems to be some kind of classpath problem, as the compiler cannot find the needed files.
    Does this make any sense to anyone?
    PS
    In my ear, the JSPs are placed in the web.war. The war file looks like this:
    jsp\
       myjsp.jsp
    META-INF
       MANIFEST.MF
    WEB-INF
       web.xml
       lib\
          mylib.jarThanks
    \\Marius

    Marius,
    If you want communicate the bean you have to do following things.
    . Create a factory for the correct protocol
    . Obtain a Home
    . Use the Home to create stubs to the remote object
    So you want to call the Home and Remote interfaces to access the bean. When you run the client program, it will create the remote object that time it has to search the Home and Remote interfaces. So you have included those files for references in following location
    WEB-INF/classes
         -- <Home Interface File Name>.class
         -- <Remote Interface File Name>.class
    Or
    WEB-INF/lib
         -- <Bean Jar file name>.jar
    I think you will understand.
    -Mani

  • Client  deletion Problem - Urjent..

    Hi Experts,
    There is an existing DEV-QA-PRD environment. There is a need to have a complete Configuration copy of PRD in DEV2 system, which will be used to build another Production Stream (DEV2, QA2, PRD2) for another project.
    When we are deleting client ,below  Problems we have facing :
    1) Production equivalent client (4 TB of data) is taking too much time while deleting tables (step 4 in the diagram below).
    2) Of the total 34,882 tables, 34,855 tables took almost 7-8 days to delete.
    3) Last 30-35 tables are taking a lot of time to delete, these are probably the largest tables in the system
    4) Tables EDIDS and CDCLS are currently being deleted for the last 3-4 days
    5) Adding more processes to the Dev2 system is not helping either.
    6) At the current rate, these tables will take another 1.5-2 weeks, which seems to be a long time
    7) Some more tables which took more time were SWWLOGHIST, IDOCREL, SRRELROLES
    Other information:
    1) Operating System used  for the ECC 5.0 is: Tru64 / HP, Oracle 9i DB (List of Service packs and Patches are attached)
    2) Production system has data worth approx. 4TB
    3) No Data Archiving has been done since the inception of the system
    I need your Suggestions and Comments on this ---its urjent
    Points will rewarded for suitable answers
    Regards
    Prabhu

    Hi Prabhakar
    Any other comments Plz...
    Ok, you wanted it )) here is mine
    so far:
    - you copied your huge database (where you don't delete / archive old data) to the new server
    - you are now deleting row by row all that data
    - you will end up having a still huge but empty database, because the tables / tablespaces won't shrink after the client deletion
    This does not make any sense to me, am i missing something :(((
    Are there other clients in the prod system, which you keep?
    @ Markus: i don't think they have 100+ gb memory to cache their huge tables in the sga
    I guess the client deletion has something like a MAX ROWS COMMIT limit to prevent undo overflow. If this number is for example 100'000 rows, then you have to execute 100 delete statements (-> 100 full scans) on a 10mio row table. This of course is taking ages. Even worse it gets slower and slower, because the first delete up to 100'000 rows gets the first blocks, the second scans the same blocks, but they are empty now, so it has to scan further, and so on...
    Best regards
    Michael
    Update: i recall there was a sap note somewhere, i just checked, here it is:
    365304 - CC-ADMIN: Reports for deleting tables
    Edited by: mho on Jan 8, 2008 2:40 PM

  • SSID with Passive Client Enabled Problem - WLC2106

    Hello,
    In my environment i have this topology :
    WLC                                                                 ~~~~~~|Another Vendor Client Radio doing Bridge|----Camera
       |                         |----RAP-1552E~~~~~~~MAP-1552E~~~~~|Another Vendor Client Radio doing Bridge|------|Camera|
       |----------Switch-----|                                            
    |---| Ethernet
    |~~~| Wireless
    The WLC is one 2106 WLC with version 7.0.240.0.
    All clients are in the same broadcast domain, the camera/another vendor client and the RAP and MAPs, the another vendor is connecting in SSID LAB, when i connect some notebook in the SSID LAB i can't reach camera.
    I tried to segmenting this networking putting the SSID-LAB2 broadcasted from RAP and MAP to another network and connecting my notebook in the SSID LAB2 and i have problems to access camera too. The routing is OK.
    I put my notebook in the switch in the same broadcast domain or in another broadcast domain and i could access the camera without problem.
    I'm having these problems only when i have the clients connected in wireless.
    I enabled multicast in the controller and passive-client, because i wasn't reaching the camera without this configuration enabled, now i can access but i'm having these problems.
    Thank You.

    I don't know what else you can do here. There are some wireless Ethernet bridges I have tested that work okay and others that just doesn't. Seems like the one that I use, a Buffalo Ethernet converter needs to be rebooted every so often. Others just don't work. Have you tried opening a TAC case?
    Sent from Cisco Technical Support iPhone App

  • Web service help please - client invoking problem

    hi there
    can anyone help me on this? i create a client that is going to call a web service. now, i have erro exception saying that javax.xml.rpc.ServiceFactoryImpl can not be found. it happens when the execution reaches
    //code..................................
    ServiceFactory factory = ServiceFactory.newInstance();
    the following is my code to invoke a web service:
    //code................................................
    private void sendOrder(String orderid, String message)
    throws ClassNotFoundException, SQLException{
    // Setup the global JAX-RPC service factory
    try{
    System.setProperty( "javax.xml.rpc.ServiceFactory",
    "com.sun.xml.rpc.client.ServiceFactoryImpl");
    // create service factory
    ServiceFactory factory = ServiceFactory.newInstance();
    // define qnames
    String targetNamespace = "http://www.wowgao.com/exchange/server"
    + "wsdl/";
    QName serviceName = new QName(targetNamespace,
    "WGOrder.WGOrderBean");
    QName portName = new QName(targetNamespace,
    "WGOrderPort");
    QName operationName = new QName("urn:WGOrder", "orderSubmit");
    // create service
    Service service = factory.createService(serviceName);
    // create call
    Call call = service.createCall();
    // set port and operation name
    call.setPortTypeName(portName);
    call.setOperationName(operationName);
    // add parameters
    call.addParameter("BuyerID",
    new QName("http://www.w3.org/2001/XMLSchema", "string"),
    ParameterMode.IN);
    call.addParameter("SellerID",
    new QName("http://www.w3.org/2001/XMLSchema", "string"),
    ParameterMode.IN);
    call.addParameter("order",
    new QName("http://www.w3.org/2001/XMLSchema", "string"),
    ParameterMode.IN);
    call.setReturnType(new QName( "http://www.w3.org/2001/XMLSchema","long") );
    // set end point address
    call.setTargetEndpointAddress("http://www.xmethods.com:9090/soap");
    // invoke the remote web service
    String result = (String)call.invoke(operationName, new Object[]{"123","234",message});
    how do i set the com.sun.xml.rpc.client.ServiceFactor so that it know where to find the class?

    It sounds like a classpath problem. Try adding JWSDP_HOME/common/lib/jaxrpc-ri.jar to the client's classpath.
    Mike W.

  • Problem Syncing Outlook....says outlook sync client encountered problem

    I have been syncing outlook calendar and contacts from my PC to my iPhone with no problems. I have version 1.1.2 on my iPhone and 7.5 or whatever the latest is on iTunes software. The syncs were fine until recently and now I cant sync and get an error message that says "outlook sync client encountered problem" What could possibly have happened....I read some posts that say to go back to iTunes 7.3 etc....this has to be a common problem....any suggestions.

    Here is an article from the apple support website that might help out.
    http://docs.info.apple.com/article.html?artnum=305845

  • Classpath Problem (Using JSAPI)

    Hi,
    I using IBM Via Voice as a the implementation of the JSAPI on my system. I've downloaded the speech for java pack from IBM Alphaworks and put it in the directory of
    c:\ibmjs
    This gives you access to the speech packages for utilisation in your programs so I should be able to import javax.speech in my programs. However the system doesn't see these classes.
    Heres my Autoexec...
    path=%path%;c:\jdk1.3.1_01\bin;c:\ibmjs\lib;
    CLASSPATH=%CLASSPATH%;c:\ibmjs\lib\ibmjs.jar;
    I presume the whole thing is just a classpath problem, does anybody have any idea from the above paths where I am going wrong?

    i guess you have to put some of ibm's dll files coming with speech for java in the path (not classpath). it's not sufficient to have the directories in the path.
    anyway, there come's an installation manual with speech for java which explaines all that.

  • Again classpath problem

    again classpath problem.... i have tried to solve it in many ways but all failed. here is one
    instance of my effort which did not give me success.
    i have a FOLDER > c:/com/abc/def/ijk
    and files......
    MyClass.java
    ==============
    package com.abc.def.ijk
    class MyClass
    // blah
    // blah
    }c:\com\abc\def\ijk>javac MyClass.java ===>compiled fine and created a class file.
    and also one more file.....
    OneMoreClass.java
    =================
    import com.abc.def.ijk.MyClass
    class OneMoreClass
    // blah
    // blah
    }c:\com\abc\def\ijk>javac OneMoreClass.java ===> Error!!! package com.abc.def.ijk does not exist !!!!
    how can i solve it ?

    yea, this works....eariler i also usued to do this
    way. but this time i forgot.
    by the way, why individually it did not work !!!.Because you were in the package directory itself, and the classpath was set to the cwd, so java was looking for package directories at this level.
    and also when i specify directly by
    c:\com\abc\def\ijk
    javac  -classpath c:\com\abc\def\ijk\MyClass
    OneMoreClass.java ...it does not work!!.
    STRANGE! why ?Because by stating the package directory as classpath, you do the same as explained above. Stay out of package directories, stay one level above them, don't regard them as common directories. When declaring classpaths, don't mention package directories but the directories that contain them.

  • JDBC and Classpath problems on OpenVMS

    Hello,
    I'm working on an OpenVMS server and I got a simpler Java application that needs to establish a connection to an Oracle database, the application works perfectly well on Windows but when I moved to OpenVMS I got some problems with the oracle driver.
    I believe I�m using the correct driver, I already checked on the oracle site according to my java version (1.4.2) and my database version (oracle 9i 9.2.0.7.0)
    This is the error:
    $java -jar miss.jar "DnBProcess"
    About to start loading parameters for the MISS Proxy.
    Successfully load parameters for the MISS Proxy.
    About to load interface settings for DnBProcess
    Settings for DnBProcess succesffully loaded.
    About to load interface DnBProcess
    About to start loading parameters for DnB Interface.
    Successfully load parameters for DnB Interface.
    Interface DnBProcess succesffully loaded.
    About to execute interface DnBProcess
    Connecting to the database...
    java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    at miss.DnBProcess.ExecuteQueryToFile(DnBProcess.java:85)
    at miss.DnBProcess.Execute(DnBProcess.java:178)
    at miss.Proxy.ExecuteInterface(Proxy.java:160)
    at miss.Proxy.main(Proxy.java:207)
    I know is a classpath problem, and my classpath on VMS looks like this:
    define JAVA$CLASSPATH .,SYS$COMMON:[JAVA$142.LIB]TOOLS.JAR,SYS$COMMON:[JAVA$142.LIB]DT.JAR,SYS$COMMON:[JAVA$142.JRE.LIB]RT.JAR, USER1:[MONTEALEGRE.TEST.LIBS]OJDBC14.JAR,USER1:[MONTEALEGRE.TEST.MISS.LIBS]OJDBC14.JAR,[]
    As you can see I added the �ojdbc14.jar� in different folders but my application seems not to find it.
    Does anyone know how to set the classpath properly on VMS? Or maybe give me some tips that could lead me to find a solution to this problem.
    Thanks.
    Ileana.

    I would try googling for OpenVMS classpath. Unfortunatley the first result is this thread but there are a bunch of resources from IBM and HP listed and maybe they can help you.

  • Help classpath problem j2sdk1.4.2_04

    help classpath problem j2sdk1.4.2_04
    how can i run the java program with specify the file location
    such as :
    -----this one is fine ok and return HelloWorld.class-----
    [root@localhost root]javac /serverData/studentAC/s001/HelloWorld.java
    -----but this one cause exception-----
    [root@localhost root]java /serverData/studentAC/s001/HelloWorld
    -----result-----
    Exception in thred "main" java.lang.NoClassDefFoundError: /serverData/studentAC/s001/HelloWorld
    [root@localhost root]
    I have tried a lot of classpath setting:
    I just want to compile and run the java program without specify the classpath only !! please help !!! and give suggest !! if you have this exp!!
    # ---1
    #PATH=/usr/java/j2sdk1.4.2_04/bin:$PATH:$HOME/bin:./
    #export PATH
    #export JAVA_HOME=/usr/java/j2sdk1.4.2_04/
    #export #CLASSPATH=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar:./
    # ---2
    #set java environment
    # Java Setup Section START
    export JAVA_HOME="/usr/java/j2sdk1.4.2_04"
    export JRE="$JAVA_HOME/jre"
    export CLASSPATH="$JAVA_HOME/lib:$JRE/lib:$JAVA_HOME/lib/tools.jar:."
    export PATH="$PATH:$JAVA_HOME/bin"
    # Java Setup Section END
    # ---3
    #PATH=$PATH:/usr/java/j2sdk1.4.2_04/bin
    #JAVA_HOME=/usr/java/j2sdk1.4.2_04/
    #export PATH
    # ---4
    # Java Setup Section START
    #JAVA_HOME=/usr/java/j2sdk1.4.2_04
    #export JAVA_HOME
    #CLASSPATH=$CLASSPATH:/usr/java/j2sdk1.4.2_04/lib:/usr/java/j2sdk1.4.2_04/jre/lib:./
    #export CLASSPATH
    #PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
    #export PATH
    # Java Setup Section END
    # ---5
    #export PATH=$PATH:/usr/java/j2sdk1.4.2_04/bin
    #export JAVA_HOME=/usr/java/j2sdk1.4.2_04
    #export CLASSPATH=/usr/java/j2sdk1.4.2_04/lib:$CLASSPATH:.
    # ---6
    #====================================================
    #export JAVA_HOME=/usr/java/j2sdk1.4.2_04
    #export PATH=$JAVA_HOME/bin:$PATH
    #export CLASSPATH=/usr/java/j2sdk1.4.2_04/lib:$CLASSPATH
    #====================================================

    I think this will work. java -classpath /serverData/studentAC/s001 HelloWorld

  • I have problems printing with a HP Officejet 6500 printer directly from my iMac. The printer itself does function well, as I can print from another PC without any problems. Does anyone have a clue?

    I have problems printing with a HP Officejet 6500 printer directly from my iMac. The printer itself does function well, as I can print from another PC without any problems. Does anyone have a clue?

    Hello:
    I must apologize  .  I should have checked here first:
    http://support.apple.com/kb/HT3669#HP
    According to the list, there is no driver for your printer included in OS X 10.7.
    There are a couple of options:
    1.  Contact HP to see if they have a workaround.
    2. If the model of printer is not listed but your printer is a PostScript printer or PCL Laser printer, try the "Generic PostScript" or "PCL Laser printer" drivers.  Generic printer drivers may not let you access all the features of your printer.
    I have not tried #2, but some people have had success.
    Barry

  • A client connection problem....

    Hi All,
    I have a client connection problem.
    The project which i did with C# (vs.net 2005) and Oracle XE , works well on my developer machine but i am getting a connection string error on the client side. The error comes from System.Exception class not from OracleException.
    The properties of the Oracle.DataAccess reference are ;
    Description: Oracle.DataAccess.dll
    Runtime Version:v1.0.3705
    Version: 10.2.0.100
    Path: C:\oraclexe\app\oracle\product\10.2.0\server\bin\Oracle.DataAccess.dll
    The sample code is:
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    private void button1_Click(object sender, EventArgs e)
    OracleConnection cnn = new OracleConnection();
    OracleCommand cmm = new OracleCommand();
    try
    cnn.ConnectionString = "USER ID=" + textEdit1.Text + ";PASSWORD=" + textEdit2.Text +
    ";DATA SOURCE=" + textEdit3.Text + ";";
    DataSet ds = new DataSet();
    cmm.Connection = cnn;
    cmm.Connection.Open();
    cmm.CommandType = CommandType.Text;
    cmm.CommandText = "SELECT * FROM FORMS";
    OracleDataAdapter ad = new OracleDataAdapter(cmm);
    ad.Fill(ds);
    gridControl1.DataSource = ds.Tables[0];
    cmm.Connection.Close();
    cnn.Dispose();
    catch (OracleException oexx)
    MessageBox.Show(oexx.Message,"From OracleException");
    cmm.Connection.Close();
    cnn.Dispose();
    catch (Exception exx)
    MessageBox.Show(exx.Message,"Fromn Exception");
    cmm.Connection.Close();
    cnn.Dispose();
    And the error message is:
    'user ıd' is an invalid connection string attribute --> Oracle.DataAccess
    Any idea ?
    Thanks in advance for your help.
    Adam

    1. What is the client machine locale? Is it Turkish by any chance?
    2. Try using lowe case "user id" in the connection string instead of upper case "USER ID".

Maybe you are looking for

  • Apple refuse to replace stand that is not 1 year old, any suggestions other than throw mac in the bin

    My mac is not 12 months old until 27 December and the screen will no longer stay up, Apple have refused to acknowledge design fault or machine fault and suggested I broke it.  The machine has sat on my desk since new and never been moved until I was

  • Importing word 2004 docs with tables into Pages

    I work in video production, and my clients send me shooting scrips as word documents formatted with tables. Needless to say, I was quick to discover that Pages doesn't really 'like' these documents. I can't keep asking my clients to reformat their do

  • How to run sqlplus commands in php

    Hello, I want to start and stop the oracle database from php page but i get the following error: ORA-00900: invalid SQL statement in /var/www/shutdown.php on line 13I read somewhere that oci_execute cannot execute sqlplus commands, so my question is

  • Navigating to the text item with color

    hi all, i have 10 text_items in my form, i want that when i am in first text_item the color should change default to any color i want (take suppose yellow) then when i am going to second text_item then color should change to yellow like that it has t

  • Is there a way to hide the cursor or change the cursor to a hand?

    Hi, I think the title is self explanatory. The reason I want to do it is because I'm developing a touchscreen interface and I reckon it would look better if I had a hand instead of a cursor or if I got rid of the cursor completely. Cheers, elmicko