Path to jdbc libraries

Which path is more appropriate for jdbc libraries?
I'm using
usr\sap\J2E\JC00\j2ee\cluster\server0\bin\system\
Is it right?

Hi,
   Add your drivers jar files (vendor specific) in your "library" folder of your project.
   In your studio right click your project select "Add external jars" and select your jar file from ur local system and import in the library folder of your project.This will set your classpath and you can get connected to the backend.
Hope it helps.
Rdgs,
G

Similar Messages

  • Forms9i: FORMS PATH for locating libraries

    Hello,
    I'm just beginning to deploy Forms9i in a standalone development workstation (there's only Developer Suite installed there).
    I don't seem to be able to correctly specify the FORMS PATH for the libraries, that is, I keep receiving the message ORA-06508 (CANNOT FIND PROGRAM UNIT).
    I set the FORMS90_PATH variable in DEFAULT.ENV to the directory where the PLLs are... Well, that's another thing, I didn't compile the libraries to PLX, I left them as PLLs? Would that be a problem?
    I would appreciate any help you could give me.
    Thanks,
    --oswaldo.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    You can use PLLs thats ok. I would first of all make sure that the default.env file is being picked up . If you download filemon from www.sysinternals.com you can track what files are being opened.
    You should also check that the Forms90_Path is not more that 255 chars (if it is it gets ignored - its a Windows problem).
    Regards
    Grant Ronald
    Forms Product Management

  • File paths and updating Libraries

    Our website recently switched servers, in the switch they moved files in our FTP to a root folder www/ which has created some issues, most are resolved but I am really stuck on a Library folder which was originally in our root folder and now it is in the www folder. The website is m.whitewatertours.com.
    We have 2 libraries for our mobile website, MobileHeader.lbi and MobileFooter.lbi the original (and current) source for these is
    /Library/m.whitewatertours.com, but it should now be
    www/Library/m.whitewatertours.com
    Library sources cannot be changed in Dreamweaver (so they say) anyone know of a work-around?
    We have tried to update the www/Library/m.whitewatertours.com MobileHeader but that does not update our pages at all. With a webpage in edit mode we go to Modify>Library>Update current page from the DW menu we also get an error because the path is no longer there, its looking at the Library/m.whitewatertours.com MobileHeader which has bad links and images.
    Our new host updated the links when they changed the files, but now when I download in DW links and images do not show up (of course since the paths are not correct).
    I've created a test page with 2 headers: http://m.whitewatertours.com/south-fork-american-river-mapTEST.html
    the first is from www/Library/m.whitewatertours.com which has been applied to the page - strange though that when I change something in this MobileHeader.lbi and save it does not update the page.
    the second is the original, but I've been messing around with it to make it work.
    This may be a little better example:
    This page is untouched http://m.whitewatertours.com/upper-klamath-river.html
    I "Got" the file from our remote server thru DW FTP and changed the name, nothing else, than "Put" the file back, here is the page now: http://m.whitewatertours.com/upper-klamath-riverTEST.html
    It's quite a mess, thanks for any help!

    OK - now, for the icing on the cake, copy this link from your library item (mobileHeader.lbi) and paste it here.
    I think you want the file path? Depends on what you are talking about as they are in 2 different places...here's a screen shot from my DW dashboard, i've circled the 2 places where you can see the file paths...
    In the second file, the first image in the library item's code is linked like this -
    <img src="../../m.whitewatertours.com/images/Header.jpg">
    and that's clearly wrong. The Library folder MUST be at the root of the site. If that's the case, then it's impossible for a .lbi file to contain a link like that, since there are not two folder levels above it.
    Right, and believe me - that's not the original source so DW is adding extensions to match something...
    In your whitetours.com folder, do you have a www folder? If you do that's also wrong. The Site's remote root folder name should never appear in your local site. That "www" (or the name of the remote root) should always be placed in the Root Directory field of the remote server's definition (Servers category -> Basic tab)
    This is where I start getting a little lost. First YES there is a www folder in our local file of whitewatertours.com. Here is a screen shot of our FTP root folders - our new server moved/changed folders in Jan and we did not start any work with DW until march, things used to work fine prior to that.
    Thanks again!

  • Running Java Programs when JDBC libraries in classpath

    Hi I am running NT Server 4.0 SP5 and Oracle 8i.
    I have compiled several Java Programs, some of which use Oracles
    JDBC drivers. When I try to run any of the programs I get the
    complaint "Can't find class X", where X is the class which
    contains main(..) and the name of the file. If I delete the
    references to BOTH (leaving one does nothing) classes111.zip and
    nlscharset11.zip in the classpath, the programs, which don't use
    JDBC run fine, but the ones which do use JDBC and need those
    packages complain. If I put the classes which need the Oracle
    JDBC drivers in the same directory as the classes111.zip and
    nlscharset11.zip (with an empty classpath) I get the first error
    "Can't find class X", where X is the class which contains
    main(..) and the name of the file. I have tried these
    combinations with four different Java compliers and VM and always
    get the same errors.
    Thanks, Charlie
    null

    set PATH=%PATH%;C:\ORAWIN95\BIN
    set
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.3\bin;C:\ORA
    IN95\BIN
    set
    CLASSPATH=C:\jdk1.3\lib\jvm.lib;C:\jdk1.3\lib\tools.jar
    set
    CLASSPATH=C:\project;C:\tomcat\common\lib\servlet.jar
    set CLASSPATH=C:\tomcat\bin\jasper.jar
    set CLASSPATH=C:\jsdk2.1\servlet.jar
    set CLASSPATH=C:\jdk1.3\bin;C:\projectBy the way, after running these commands your classpath will ONLY contain C:\jdk1.3\bin;C:\project, because that is the last thing you set it to.
    To add to your classpath, you need to do something like:
    set CLASSPATH=%CLASSPATH%;C:\jdk1.3\bin;C:\project
    which works because %CLASSPATH% evaluates to the current value of CLASSPATH.

  • How do i set source/swc path to online libraries in flash cc?

    hi,
    i want to publish online a .swf that uses away3d library,
    but if in actionscript setting i put the link to the file online (http://.../.swc) , it appears a warning message saying that the path is not valid...
    also in another case (involving source jpgencoder.as).. but working fine if i publish it with flash cs5...

    Hi Debu,
    I just want to add another step to the steps you have mentioned
    1)Shutdown the EM Website, OC4J instance, dcm, etc.
    2)Then modify this file.
    3)Run the dcmctl updateconfig to update the repository after this file is modified
    4)Run opmnctl reload to apply changes of opmn.xml to opmn
    5)Restart EM Website and restart the OC4J instance
    I was not able to set the library path without doing the opmnctl reload.
    Thanks,
    Harini

  • How to set (class)paths for a Managed server?

    How does one configure the PATH and CLASSPATH and pass definitions (like "-Djava.library.path=c:\p\bea\wlserver6.1\bin")
    to a remotely-started managed server?
    The section in the WLS 6.1 AdminGuide.pdf that talks about configuring a managed
    server's Remote Start tab says on pages 3-9 to 3-10 that, "If you don't specify
    values for these fields and attempt to start the target server from the Administration
    Console, the Node Manager will attempt to start the target server with the values
    for these attributes that were used when starting the Node Manager. The Node Manager
    will be able to start the Managed Server in that case if you specified the required
    values on the command line when starting the Node Manager."
    So it sounds as if I can get the java.library.path definition and CLASSPATH sent
    to the server via the Node Manager startup command.
    Does that work when using the Node Manager as an NT Service? Here is my Win2K
    command file for setting up the Node Manager as an NT Service. Note that I'm trying
    to tell it where to find the Windows native libraries (wlserver6.1\bin for wlntio.dll)
    and the JDBC drivers (C:\SHADOW\jdbc\... and C:\Orant\jdbc\... ) :
    ========== BEGIN installNMNtService.cmd ================ @echo off
    SETLOCAL
    cd C:\p\bea\wlserver6.1\
    rem *** Set Classpath to load Weblogic Classes
    set CLASSPATH=.;C:\p\bea\wlserver6.1\lib\weblogic_sp.jar;C:\p\bea\wlserver6.1\lib\weblogic.jar;C:\SHADOW\JDBC\scjd12.jar;C:\orant\jdbc\lib\classes111.zip
    rem *** Set Command Line for service to execute
    rem *** %JAVA_HOME%\java will automatically be prepended.
    set CMDLINE=" -ms16m -mx16m -classpath \"%CLASSPATH%\" \"-Dbea.home=C:\p\bea\"
    \"-Djava.security.policy==C:\p\bea\wlserver6.1/lib/weblogic.policy\" \"-Dweblogic.nodemanager.weblogicHome=C:\p\bea\wlserver6.1\"
    \"-Dweblogic.nodemanager.reverseDNSenabled=true\" \"-Djava.library.path=c:\p\bea\wlserver6.1\bin\"
    \"-Dweblogic.nodemanager.listenAddress=111.111.111.123\" \"-Dweblogic.nodemanager.trustedHosts=./config/nodemanager.hosts\"
    weblogic.nodemanager.NodeManager"
    rem *** Install the service
    "C:\p\bea\wlserver6.1\bin\beasvc" -install -svcname:EDANodeManager -javahome:"C:\p\bea\jdk131"
    -execdir:"C:\p\bea\wlserver6.1" -extrapath:"C:\p\bea\wlserver6.1\bin" -cmdline:%CMDLINE%
    ENDLOCAL
    ================= END installNMNtService.cmd ==================
    But when I start a server remotely, it can't find the native libraries and it
    can't find the JDBC libraries in the CLASSPATH. Otherwise, it can serve up HTML
    pages at the correct port number so I know it's running.
    When starting a managed server remotely via the WLS 6.1 console, how do I tell
    the managed server where the native libraries and JDBC libraries are?
    Thanks!

    Hi,
    The memory setting on the WC_Spaces managed servers can be seen as mentioned below.
    ps -eaf | grep Spaces
    Above command shows something like this at the top of the output:
    /a01/app/oraweb/middle/jrrt-3.1.2-1.6.0/bin/java -jrockit -Xms512m -Xmx1024m -Dweblogic.Name=WC_Spaces1 ...
    Regards
    Sreedhar

  • Build of DC fails libraries on classpath are not found - Please Help

    HI Guys,
    I am trying to build an ejb dc.
    There are no errors showing up in NWDS but when doing an Development Component -> Build the Build fails with the errors here in the log - how can I make sure the libs are found at compiletime?????
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
       validating dependency to  public part "default" of DC "sap.com/ejb20"
       validating dependency to  public part "default" of DC "sap.com/jdbc20"
       validating dependency to  public part "default" of DC "acdc.de/pinguin/service/dic"
       validating dependency to  public part "default" of DC "sap.com/configuration"
       validating dependency to  public part "default" of DC "sap.com/connector"
       validating dependency to  public part "default" of DC "sap.com/mail"
       validating dependency to  public part "compilation" of DC "acdc.de/pinguin/ext/lib"
       validating dependency to  public part "default" of DC "sap.com/jms_provider"
       validating dependency to  public part "default" of DC "sap.com/jmsconnector"
       validating dependency to  public part "default" of DC "sap.com/jms"
       validating dependency to used DC "apotheker.com/cape/base/external/lib"
       validating dependency to used DC "apotheker.com/cape/base/utils"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/ejbmodule
       starting build plugin from : D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
    Build Plugin 'EJBModulePlugin', Version 7.00 SP 3 (NW701_03_REL, built on 2008-12-17 16:25:56 CET, CL51263)
       development component:  pinguin/service/ejb (acdc.de)
          software component:  MyComponents (demo.sap.com)
                    location:  local
                        type:  J2EE, subtype EJBModule
               build variant:  default
             output location:  C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default
           generation folder:  C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25
           plugin start time:  2011-12-02 18:28:55 GMT+01:00 (CET)
                     Java VM:  Java HotSpot(TM) Client VM, 1.4.2_12-b03 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Checking path lengths for sources
    Path length checks finished in 0.016 seconds
    Preparing data context..
    No public part descriptor found for component "ejb20" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "jms_provider" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "jmsconnector" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "jms" (vendor "sap.com"), public part "default", using legacy mode.
    No 'default' JDK defined, will use running VM.
    Data context preparation finished in 0.094 seconds
    Creating Ant build file..
      Creating output file: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default\logs\build.xml
      Using Java class:     com.sap.tc.buildplugin.BuildEJBModule
    Build file creation finished in 0.046 seconds
    Starting Ant..
      Using build file:     C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default\logs\build.xml
      Using build target:   build
      Using Ant version:    1.6.2
    compile:
          [echo] Start SQLJ Pre-processing
          [sqlj] Using catalog:xml/file/C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\dic\_comp\gen\default\public\default\lib\java\acdc.de~pinguin~service~dic~default.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\ejb20\_comp\gen\default\public\default\lib\java\ejb20.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms_provider\_comp\gen\default\public\default\lib\java\sapjms.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jdbc20\_comp\gen\default\public\default\lib\java\jdbc.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms\_comp\gen\default\public\default\lib\java\jms.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\ext\lib\_comp\gen\default\public\compilation\lib\java\acdc.de~pinguin~ext~lib~compilation.jar;C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\ext\lib\_comp\gen\default\public\compilation\lib\java\paygate-1.0.2.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jmsconnector\_comp\gen\default\public\default\lib\java\jmsconnector.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\servlet\_comp\gen\default\public\default\lib\java\servlet.jar
          [sqlj] translation finished
          [sqlj] 0 warnings
          [sqlj] 0 errors
         [timer] SQLJ Pre-processing finished in 0.828 seconds
          [echo] Starting Java compiler
          [echo] Settings:
          [echo]         debug: on
          [echo]      optimize: off
          [echo]   deprecation: default
          [echo]       verbose: default
          [echo]      encoding: UTF8
          [echo]        source: default
          [echo]        target: default
          [echo]  source paths:
          [echo]       C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule
          [echo]       C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25\gen_sqlj
          [echo]    class path:
          [echo]       C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\dic\_comp\gen\default\compilation\lib\java\paygate-1.0.2.jar
          [echo]       D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jmsconnector\_comp\gen\default\public\default\lib\java\jmsconnector.jar
          [echo]       D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\servlet\_comp\gen\default\public\default\lib\java\servlet.jar
          [echo]    output dir: C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25\classes
         [javac] Compiling 163 source files to C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25\classes
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:21: package com.hp.cape.persistence.exception does not exist
         [javac] ERROR: import com.hp.cape.persistence.exception.FinderException;
         [javac] ERROR:                                          ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:22: package com.hp.cape.persistence.exception does not exist
         [javac] ERROR: import com.hp.cape.persistence.exception.PersistenceException;
         [javac] ERROR:                                          ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:23: package com.hp.cape.persistence.exception does not exist
         [javac] ERROR: import com.hp.cape.persistence.exception.RemoteServerException;
         [javac] ERROR:                                          ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:24: package com.hp.cape.persistence.filter does not exist
         [javac] ERROR: import com.hp.cape.persistence.filter.FilterCondition;
         [javac] ERROR:                                       ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:96: cannot resolve symbol
         [javac] ERROR: symbol  : class RemoteServerException
         [javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001CustomFacade
         [javac] ERROR:   protected Object getHomeStub() throws RemoteServerException
         [javac] ERROR:                                         ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule
         [javac] ERROR: symbol  : class RemoteServerException
         [javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001Facade
         [javac] ERROR:   protected acdcPinguin001SB getacdcPinguin001SB() throws RemoteServerException
         [javac] ERROR:                                                   ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001Facade.java:192: cannot resolve symbol
         [javac] ERROR: symbol  : class FinderException
         [javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001Facade
         [javac] ERROR:   public acdcPinguin001DTO findByPrimaryKey(BigDecimal id) throws FinderException, PersistenceException
         [javac] ERROR:                                                               ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001Facade.java:192: cannot resolve symbol
         [javac] ERROR: symbol  : class PersistenceException
         [javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001Facade
         [javac] ERROR:   public acdcPinguin001DTO findByPrimaryKey(BigDecimal id) throws FinderException, PersistenceException
         [javac] ERROR:                                                                                ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule
         [javac] ERROR:                                                                                ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModulePersistenceException
         [javac] ERROR:                                                                                ^
         [javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin002Facade.java:389: cannot resolve symbol
         [javac] ERROR: symbol  : class PersistenceException
         [javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin002Facade
         [javac] ERROR:   public acdcPinguin002DTO update(acdcPinguin002DTO data) throws PersistenceException
         [javac] ERROR:                                                          ^
         [javac] WARNING: Note: Some input files use or override a deprecated API.
         [javac] WARNING: Note: Recompile with -deprecation for details.
         [javac] 100 errors
    Error: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default\logs\build.xml:158: Compile failed; see the compiler error output for details.
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
         at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         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.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Ant runtime 1.265 seconds
    Ant build finished with ERRORS
    Compile failed; see the compiler error output for details.
    Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
    Build plugin finished at 2011-12-02 18:28:56 GMT+01:00 (CET)
    Total build plugin runtime: 1.562 seconds
    Build finished with ERROR

    Hi Saurabh Agarwal,
    I have double checked this. removed and added the relevant libraries but no luck.
    the build log says that it can not find
         [javac] ERROR: C:\Documents and Settings\admitsepedollhofer1\.dtc\LocalDevelopment\DCs\acdc\some\service\ejb\_comp\ejbModule\acdc\some\facade\AcDcSome001CustomFacade.java:21: package com.ap.cape.persistence.exception does not exist
         [javac] ERROR: import com.ap.cape.persistence.exception.FinderException;
    Build Path looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
        <classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
        <classpathentry kind="src" path="ejbModule"/>
        <classpathentry kind="src" path="gen_sqlj"/>
        <classpathentry kind="src" path="/LocalDevelopmentcapebaseutilsap.com"/>
        <classpathentry kind="var" path="TSSAP_JAVAX_HOME/lib/ejb20.jar"/>
        <classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/utils/_comp/gen/default/public/compilation/lib/java/ap.comcapebaseutilscompilation.jar"/>
        <classpathentry kind="var" path="SAP_LOGGING_LIB_HOME/lib/logging.jar"/>
        <classpathentry kind="var" path="SAP_SYSTEM_ADD_LIBS/comp/SAP-JEE/DCs/sap.com/com.sap.engine.client.lib/_comp/gen/default/public/default/lib/java/sapj2eeclient.jar"/>
        <classpathentry kind="src" path="/DV2_some_Dsomeservicedicacdc.de"/>
        <classpathentry kind="var" path="SAP_EXCEPTION_LIB_HOME/lib/exception.jar"/>
        <classpathentry kind="lib" path="/DV2_some_Dsomeextlibacdc.de/libraries/paygate-1.0.2.jar"/>
        <classpathentry kind="lib" path="/DV2_some_Dsomeextlibacdc.de/libraries/commonsNet.jar"/>
        <classpathentry kind="lib" path="/DV2_some_Dsomeextlibacdc.de/libraries/jakarta-oro-2.0.8.jar"/>
        <classpathentry kind="var" path="TSSAP_JAVAX_HOME/lib/jms.jar"/>
        <classpathentry kind="var" path="TSSAP_JAVAX_HOME/lib/mail.jar"/>
        <classpathentry kind="var" path="SQLJ_RUNTIME"/>
        <classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/external/lib/_comp/gen/default/public/compilation/lib/java/CapeJ2eePersistence.jar"/>
        <classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/external/lib/_comp/gen/default/public/compilation/lib/java/CapeUtilities.jar"/>
        <classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/external/lib/_comp/gen/default/public/compilation/lib/java/Cape.jar"/>
        <classpathentry kind="output" path="bin"/>
    </classpath>
    How can I make sure that the libraries are included in the build process?

  • Deploying .jar with Oracle JDBC thin driver

    I was just experimenting with a Java application that uses an Oracle JDBC driver. It runs fine in JDeveloper. However, when I deploy it to a .jar and run it from a Windows XP Command Prompt I get:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\xxx\deploy>java -jar testme.jar
    Exception in thread "main" java.lang.NullPointerException
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    Is there anything special I need to do to the Deploy file? I tried including the the classes111 manifest to no avail.

    Hi,
    Ensure that the JVM being used is the same or at least same spec level that you built your project. JDeveloper 9.0.3 uses VM's compatible with 1.3.1 by default. It is possible that your OS path has another VM that the cmd line defaults to. Use a java -version to check this.
    Also ensure that you include Oracle JDBC as a project library and when you go to create a JAR file (either simple archiver or a Client Jar) that you include the Oracle JDBC libraries from the Dependency Analyzer. I assume this is probably the missing step since your are deploying to a Jar and not an app server where you would put the driver libraries in the app server classpath.

  • Mysql, jdbc, tomcat, jsp...

    hi,
    i am new in this topic.
    i have some simple questions:
    i use windows. i downloaded eclipse wtp, mysql 5.0.41, apache tomcat 6.0.13 and installed them all.
    what version of jdbc should i download and what are the steps for a working connection between jsp and mysql?
    what is the code that i should copy on the classpath?
    where is classpath?
    i know it is very boring for you but if you could help i would be so pleased:)
    thank you..

    what version of jdbc should i download JDBC is just available in the JDK.
    If you mean the JDBC driver, the Connector/J, just refer to the manfacturer's site.
    Here is a link: http://www.mysql.com/products/connector/j/
    For Java 1.5 (JDBC 3.0), get the Connector/J 5.0.
    For Java 1.6 (JDBC 4.0), get the Connector/J 5.1.
    and what are the steps for a working connection between jsp and mysql?
    what is the code that i should copy on the classpath?Read the reference manual available at the Connector/J site.
    http://dev.mysql.com/doc/refman/5.0/en/connector-j.html
    where is classpath?It depends on the running environment. As you're using Eclipse, just rightclick at the project, choose Properties, navigate to Java Build Path, choose tab Libraries and add the JAR to the classpath.

  • Jdbc error : ClassNotFoundException

    I have code that is to access a Sybase database. The abbreviated code is below:
    import java.io.*;
    import java.sql.*;
    import java.lang.*;
    class connectest
    public static void main(String argv[])
    String url = "jdbc:sybase:Tds:155.133.288.155:5009";
    String driver = "com.sybase.jdbc2.jdbc.SybDriver"
    Connection con = null;
    try
    String imTable = "Trans";
    String startDate = "02/01/2001";
    String endDate = "05/20/2001";
    ResultSet rs = null;
    Class.forName(driver);
    con = DriverManager.getConnection( url, "joe", "password" );
    Statement s = con.createStatement();
    s.execute( "SELECT Amount" +
    "FROM Trans " +
         "WHERE TradeDt = " + startDate );
    while (true)
         rs = s.getResultSet();
         int rowcount = s.getUpdateCount();
         if (rowcount != -1)
         System.out.println("count = " + rowcount);
         if (rs == null && rowcount == -1)
                   break;
         s.getMoreResults();
    catch (SQLException se)
    System.out.println("SQL Exception: ");
    System.out.println( se.getMessage() );
    System.exit(1);
    catch (Exception e)
    System.out.println("Connection attempt to " + con + " via " + driver + " has failed.");
    System.out.println(e);
    System.exit(0);
    The error I get is:
    Connection attempt to null via"com.sybase.jdbc2.jdbc.SybDrive has failed.
    java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDrive
    My guess is that I must add something to the CLASSPATH so javac can use/see com.sybase.jdbc2.jdbc.SybDrive. But actually I haven't created a CLASSPATH yet because I have not needed one yet. How would I set up the CLASSPATH to resolve this error.? Or is there another solution.
    Thanks,
    George

    Yor are right you need a jar file jconn2.jar with the classes.
    How you put it in a classpath depends a bit on which environment you are using. If you are using something like the Java SDK with command line interface then you can either set an environment variable of CLASSPATH or supply it to javac, java etc. with -classpath
    For values you should have . (i.e. your current directory) and the path to any directories with class files (e.g. c:\java\myutilclasses) plus explicit definition of jar files (e.g. c:\sybase\lib\jconn2.jar)
    So your classpath might be:
    .;c:\java\myutilclasses;c:\sybase\lib\jconn2.jar
    N.B. When I last used Solaris the separator between classpath items was : whilst for Windows it's ;
    If you are using an IDE, e.g. JBuilder, Forte there will probably be a window for defining classpath (maybe as osurce paths and required libraries)

  • Where to put JDBC drivers?

    hi All,
    I want to create a MySQL data server and have found the relevant jdbc drivers.
    I am using windows 7 professional
    using ODI 11.1.1.6
    I searched through the various forums and oracle docs and found that the drives for windows to be places in
    On Windows operating systems:
    %APPDATA%\odi\oracledi\userlib
    %APPDATA% is the Windows Application Data directory for the user (usually C:\Documents and Settings\<user>\Application Data).
    Standalone Agent
    ODI_HOME\oracledi\agent\driversBut for my version none of the above directories i.e userlib or agent are present after the oracledi directory ?
    So where should i be placing the mysql-connector-java-5.0.8-bin jar file ?
    Thanks
    S

    Many Thanks JeromeFr
    I put the jar file mysql-connector-java-5.0.8-bin.jar in the userlib folder and the connection works.
    Before trying the above I had modified the additional_path file as below and It did not work
    C:\Java\mysql-connector-java-5.0.8-bin.jar line was added...
    Is there any mistake in this ?
    My c:\Java is with J caps
    ; Additional paths file
    ; You can add here paths to additional libraries
    ; Examples:
    ;     C:\Java\mysql-connector-java-5.0.8-bin.jar
    ;     C:\java\libs\myjar.jar
    ;     C:\java\libs\myzip.zip
    ;     C:\java\libs\*.jar will add all jars contained in the C:\java\libs\ directory
    ;     C:\java\libs\**\*.jar will add all jars contained in the C:\java\libs\ directory and subdirectories
    ;       C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\mysql-connector-java-5.0.8-bin.jar

  • Question about creating libraries in Forte'

    I'm looking into creating compiled libraries in Forte' to create a
    "plug-and-play" interface among different implementation products. This
    would allow us the ability to remove one library and upgrade it with
    another assuming that the interfaces were the same. I'm using the
    AddProjToLib to create a "super library" and am setting all of the
    components as compiled. I am able to make the application distribution
    with no problem. The problems that I am having are two-fold:
    1) First auto-compile services cannot handle this "super project"
    correctly. Don't get me wrong I HATE autocompile services but I decided to
    give it a shot and see what happened. With that avenue gone, I went to
    fcompile the individual libraries...these have to be done by supplier plan
    order which is no big deal. The problem I ran into was that Forte' lower
    cases all of the directory names, but the linker expected in some cases
    that the directories would have some uppercase letters. The general rule
    of thumb I found was that the directory name has to match the library name
    generated. Forte' generated the library name with the proper letters
    uppercase, but failed to do this to the directory structure. Obviously
    this makes automating library creation a little more painful. This really
    isn't a show stopper just a point I'd like to bring up in case and Forte'
    people actually read these threads.
    2) The major road block I ran into is the fact the Forte' statically
    stores the full path of the libraries it is using during link/compilation
    in the generated shared library. Forte's solution of just creating
    symlinks (solution I found from their Technical Notes) is appalling at best
    and does not support having multiple versions of libraries built from a
    single installation running on the same machine (Unless you do simulated
    environments to create a pseudo-new area...but I don't want to get into
    that). Currently we are doing something extremely hoaky to solve this
    problem with the few libraries that we have, but if we move to a more large
    scale library solution this will not work.
    I would love to hear any comments or suggestions about any of this. It is
    sad that Forte' does not implement such a basic concept as SHLIB_PATH in
    their shared libraries. By not doing this, it makes compiled libraries a
    major hassle and potentially a waste of time.
    Thanks for any comments that you might have in advance,
    Scott Francis
    Security First Technologies
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I'm looking into creating compiled libraries in Forte' to create a
    "plug-and-play" interface among different implementation products. This
    would allow us the ability to remove one library and upgrade it with
    another assuming that the interfaces were the same. I'm using the
    AddProjToLib to create a "super library" and am setting all of the
    components as compiled. I am able to make the application distribution
    with no problem. The problems that I am having are two-fold:
    1) First auto-compile services cannot handle this "super project"
    correctly. Don't get me wrong I HATE autocompile services but I decided to
    give it a shot and see what happened. With that avenue gone, I went to
    fcompile the individual libraries...these have to be done by supplier plan
    order which is no big deal. The problem I ran into was that Forte' lower
    cases all of the directory names, but the linker expected in some cases
    that the directories would have some uppercase letters. The general rule
    of thumb I found was that the directory name has to match the library name
    generated. Forte' generated the library name with the proper letters
    uppercase, but failed to do this to the directory structure. Obviously
    this makes automating library creation a little more painful. This really
    isn't a show stopper just a point I'd like to bring up in case and Forte'
    people actually read these threads.
    2) The major road block I ran into is the fact the Forte' statically
    stores the full path of the libraries it is using during link/compilation
    in the generated shared library. Forte's solution of just creating
    symlinks (solution I found from their Technical Notes) is appalling at best
    and does not support having multiple versions of libraries built from a
    single installation running on the same machine (Unless you do simulated
    environments to create a pseudo-new area...but I don't want to get into
    that). Currently we are doing something extremely hoaky to solve this
    problem with the few libraries that we have, but if we move to a more large
    scale library solution this will not work.
    I would love to hear any comments or suggestions about any of this. It is
    sad that Forte' does not implement such a basic concept as SHLIB_PATH in
    their shared libraries. By not doing this, it makes compiled libraries a
    major hassle and potentially a waste of time.
    Thanks for any comments that you might have in advance,
    Scott Francis
    Security First Technologies
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Error Message: JBO-26061:Error while opening JDBC connection

    JDeveloper 9i was connecting to 9i database (localhost) before and now it is not connecting giving IO Exception.
    Getting JBO-26061:Error while opening JDBC connection, when run from OC4J.
    Should we give any path to jdbc classes12.zip? Does it have anything to do with changing host name; that is the only thing I have done before getting this error.
    Please help!!

    Please check the connection details and make sure the password is deployed. You can verify the connection
    details by looking at Connections | DataBase node in the Navigator pane.
    1. Also, test your BC4J middlet tier using BC4J Tester. To do that select your Application Module in the BC4J project,
    right click | Test..
    2. Check your BC4J Configuration and make sure it has the right connection information. To do that select your Application Module in the BC4J project,
    right click | Configurations....
    Hi
    I'm learning Jdeveloper not long time, i'm still new in Jdeveloper. I have learn to build BC2J JSP Development from oracle9i jdeveloper viewlet demonstration. when I compile, its have an error "warning: ISO-8859-1character set may not match project compiler setting". When I run, its show from browser and have an error :
    "Error Message: JBO-30003: The application pool (mypackage.MypackageModule.MypackageModuleLocal) failed to checkout an application module due to the following exception:
    Error Message: JBO-26061: Error while opening JDBC connection."
    So what can I do, I'm really need your help.
    Thanks in advance

  • Error in JDBC Adapter Configuration....

    Hi,
      My scenario is like this FTP->XI->Oracle Database.
    The problem is that the files are not getting posted to the database though it is running well.
    In XI receiver comm channel in JDBC adapter, I have provided the Connection path as   jdbc:oracle:thin:@esealmw275.al.sw.ericsson.se:1521:S14. Whereas in channel monitoring it is taking jdbc:oracle:THIN:@esealmw275.al.sw.ericsson.se:1521:S14. Please note it is taking THIN as in caps.
    Can anybody suggest me is this the proposed error for that, if it is so, then pls provide me the suitable solution for that.
    BR
    Soumya

    Hi Soumya,
    Have a look at ths blog...
    <a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 to JDBC Adapter using SAP XI 3.0</a> by Anirban Ghatak
    Also have a look at this wiki
    https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
    Regards
    Santi
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • SAP NetWeaver 7.02 ABAP Trial Version - No Package JDBC installed

    Hello,
    I have the following error when installing SAP NetWeaver 7.02 ABAP Trial Version on Windows 2003 Server :
    Assertion failed: com.sap.sdb.sllib.api.exceptions.SoftwareException: No Package JDBC installed in installation: Legacy
    Can someone help me on what to do?
    Thanks
    Toan

    Hi Viet-Toan Nguyen ,
    First thing you can do is uninstalled the previously installed sapdb and choose to install db inside sap installation instead of using existing db instance in one of the installation step, So don't install db seperately , choose it during sap installation.
    If you have tried first thing properly and the error still persist then.....
    Second  thing is :
    Compatibilities for Oracle JDBC Drivers :
    Starting with 10g Release 1 (10.1), the Oracle JDBC drivers no longer support JDK 1.1.x or earlier versions.
    And also check the paths:
    ORACLE_HOME/jdbc
    ORACLE_HOME /jlib directory.
    CLASSPATH
    ORACLE_HOME/jdbc/lib/ojdbc14.jar for full globalization support ORACLE_HOME/jdbc/lib/orai18n.jar
    ORACLE_HOME/jdbc/lib/classes12.jar
    ORACLE_HOME/jdbc/lib/orai18n.jar for full globalization support
    But I believe above all these things you should perform uninstallation and installation of SAP system properly on CURRENT DATABASE NOT ON THE PREVIOUSLY INSTALLED DATABASE.
    Thank you.

Maybe you are looking for

  • Change default query display settings (show more cells)

    Hello Friends! I have a little issue with default display settings in the Bex Query Designer. Can I change the display settings like in an analyses item e.g. more Number of Data Columns Displayed at once? Thank you for your help Best regards Florian

  • Upgrade critical system from 10.1.2.2.0 to 10.1.2.3

    Hello guys, I have some problems regarding Portal performace, Oracle support advised me to upgrade our application server from 10.1.2.2.0 to 10.1.2.3 by applying a patchset. environment: Solaris SPARC 64 Infra is installed installation type is BI the

  • By Default Microsoft is using our data !!!

    I just downloaded latest Skype 7 and was looking whats new in this version. Well here we have Microsoft placing by default this option.  "Allow Microsoft to use your Skype profile information to show you more relevant ads in this application". How do

  • Dimension's levels and level attributes

    Hi guys, Let's say I have following situation: Creating dimension CUSTOMERS with unique key CUS_ID. Levels: L_CUSTOMER and L_COUNTRY. One hierarchi: H_CUSTOMER_REGIONAL with levels L_COUNTRY -> L_CUSTOMER. Now the question: What level attributes shou

  • Is there a way to recover deleted files?

    If there is a way to recover deleted files then how would I do it? I deleted some things that I didn't want to delete after all. Thanks for the answers. p.s- I got an Apple tattoo.