Error using eclipse from oepe with weblogic 12.1

I have written a very simple jsp and have tried to run it on the eclipse. I cannot start the server as it says jdk1.7_0_9 is unexpected. I have used the new server wizard, i believe, correctly and have tried to the path to java-home without spaces.
Can anybody help?
quick note:
this is how my setDomainEnv looks like:
@ECHO OFF
@REM WARNING: This file is created by the Configuration Wizard.
@REM Any changes to this script may be lost when adding extensions to this configuration.
@REM *************************************************************************
@REM This script is used to setup the needed environment to be able to start Weblogic Server in this domain.
@REM
@REM This script initializes the following variables before calling commEnv to set other variables:
@REM
@REM WL_HOME - The BEA home directory of your WebLogic installation.
@REM JAVA_VM - The desired Java VM to use. You can set this environment variable before calling
@REM this script to switch between Sun or BEA or just have the default be set.
@REM JAVA_HOME - Location of the version of Java used to start WebLogic
@REM Server. Depends directly on which JAVA_VM value is set by default or by the environment.
@REM USER_MEM_ARGS - The variable to override the standard memory arguments
@REM passed to java.
@REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
@REM DOMAIN_PRODUCTION_MODE
@REM - The variable that determines whether the workshop related settings like the debugger,
@REM testconsole or iterativedev should be enabled. ONLY settable using the
@REM command-line parameter named production
@REM NOTE: Specifying the production command-line param will force
@REM the server to start in production mode.
@REM
@REM Other variables used in this script include:
@REM SERVER_NAME - Name of the weblogic server.
@REM JAVA_OPTIONS - Java command-line options for running the server. (These
@REM will be tagged on to the end of the JAVA_VM and
@REM MEM_ARGS)
@REM
@REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
@REM (http://download.oracle.com/docs/cd/E24329_01/web.1211/e21048/overview.htm).
@REM *************************************************************************
set WL_HOME=C:\Oracle\Middleware\wlserver_12.1
for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
set BEA_JAVA_HOME=C:\Progra~2\jdk1.7.0_09
set SUN_JAVA_HOME=C:\Progra~2\jdk1.7.0_09
if "%JAVA_VENDOR%"=="Oracle" (
     set JAVA_HOME=%BEA_JAVA_HOME%
) else (
     if "%JAVA_VENDOR%"=="Sun" (
          set JAVA_HOME=%SUN_JAVA_HOME%
     ) else (
          set JAVA_VENDOR=Sun
          set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_09
@REM We need to reset the value of JAVA_HOME to get it shortened AND
@REM we can not shorten it above because immediate variable expansion will blank it
set JAVA_HOME=%JAVA_HOME%
for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
set SAMPLES_HOME=%WL_HOME%\samples
set DOMAIN_HOME=C:\Oracle\Middleware\wlserver_12.1\samples\domains\wl_server
for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
set LONG_DOMAIN_HOME=C:\Oracle\Middleware\wlserver_12.1\samples\domains\wl_server
if "%DEBUG_PORT%"=="" (
     set DEBUG_PORT=8453
if "%SERVER_NAME%"=="" (
     set SERVER_NAME=examplesServer
set DERBY_FLAG=true
set enableHotswapFlag=
set PRODUCTION_MODE=
set doExitFlag=false
set verboseLoggingFlag=false
for %%p in (%*) do call :SET_PARAM %%p
GOTO :CMD_LINE_DONE
     :SET_PARAM
     for %%q in (%1) do set noQuotesParam=%%~q
     if /i "%noQuotesParam%" == "nodebug" (
          set debugFlag=false
          GOTO :EOF
     if /i "%noQuotesParam%" == "production" (
          set DOMAIN_PRODUCTION_MODE=true
          GOTO :EOF
     if /i "%noQuotesParam%" == "notestconsole" (
          set testConsoleFlag=false
          GOTO :EOF
     if /i "%noQuotesParam%" == "noiterativedev" (
          set iterativeDevFlag=false
          GOTO :EOF
     if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
          set logErrorsToConsoleFlag=false
          GOTO :EOF
     if /i "%noQuotesParam%" == "noderby" (
          set DERBY_FLAG=false
          GOTO :EOF
     if /i "%noQuotesParam%" == "doExit" (
          set doExitFlag=true
          GOTO :EOF
     if /i "%noQuotesParam%" == "noExit" (
          set doExitFlag=false
          GOTO :EOF
     if /i "%noQuotesParam%" == "verbose" (
          set verboseLoggingFlag=true
          GOTO :EOF
     if /i "%noQuotesParam%" == "enableHotswap" (
          set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
          GOTO :EOF
     ) else (
          set PROXY_SETTINGS=%PROXY_SETTINGS% %1
     GOTO :EOF
:CMD_LINE_DONE
set MEM_DEV_ARGS=
if "%DOMAIN_PRODUCTION_MODE%"=="true" (
     set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
if "%PRODUCTION_MODE%"=="true" (
     set debugFlag=false
     set testConsoleFlag=false
     set iterativeDevFlag=false
     set logErrorsToConsoleFlag=false
@REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
@REM Please uncomment the following lines and add a valid value for the environment variables
@REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
@REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
@REM set PATCH_PATH=[myPatchPath] (windows)
@REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
@REM PATCH_LIBPATH=[myPatchLibpath] (unix)
@REM PATCH_PATH=[myPatchPath] (unix)
call "%WL_HOME%\common\bin\commEnv.cmd"
set WLS_HOME=%WL_HOME%\server
if "%JAVA_VENDOR%"=="Sun" (
     set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
     set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
) else (
     set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m
     set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
set MEM_ARGS_64BIT=%WLS_MEM_ARGS_64BIT%
set MEM_ARGS_32BIT=%WLS_MEM_ARGS_32BIT%
if "%JAVA_USE_64BIT%"=="true" (
     set MEM_ARGS=%MEM_ARGS_64BIT%
) else (
     set MEM_ARGS=%MEM_ARGS_32BIT%
set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
if "%JAVA_USE_64BIT%"=="true" (
     set MEM_PERM_SIZE=%MEM_PERM_SIZE_64BIT%
) else (
     set MEM_PERM_SIZE=%MEM_PERM_SIZE_32BIT%
set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=256m
set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
if "%JAVA_USE_64BIT%"=="true" (
     set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_64BIT%
) else (
     set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_32BIT%
if "%JAVA_VENDOR%"=="Sun" (
     if "%PRODUCTION_MODE%"=="" (
          set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
@REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
if "%JAVA_VENDOR%"=="Sun" (
     set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
if "%JAVA_VENDOR%"=="HP" (
     set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
if "%JAVA_VENDOR%"=="Apple" (
     set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
@REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
if NOT "%USER_MEM_ARGS%"=="" (
     set MEM_ARGS=%USER_MEM_ARGS%
set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
@REM To use Java Authorization Contract for Containers (JACC) in this domain,
@REM please uncomment the following section. If there are multiple machines in
@REM your domain, be sure to edit the setDomainEnv in the associated domain on
@REM each machine.
@REM
@REM -Djava.security.manager
@REM -Djava.security.policy=location of weblogic.policy
@REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
@REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
@REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl
set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
set ARDIR=%WL_HOME%\server\lib
pushd %LONG_DOMAIN_HOME%
@REM Clustering support (edit for your cluster!)
if "%ADMIN_URL%"=="" (
     @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
     set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
) else (
     set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
if NOT "%LOG4J_CONFIG_FILE%"=="" (
     set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
set PRE_CLASSPATH=C:\Oracle\Middleware\wlserver_12.1\samples\server\examples\build\serverclasses
set JAVA_DEBUG=
if "%debugFlag%"=="true" (
     set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
     set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
) else (
     set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
if NOT exist %JAVA_HOME%\lib (
     echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
     echo Please edit your environment and set the JAVA_HOME
     echo variable to point to the root directory of your Java installation.
     popd
     pause
     GOTO :EOF
if "%DERBY_FLAG%"=="true" (
     set DATABASE_CLASSPATH=%DERBY_CLASSPATH%
) else (
     set DATABASE_CLASSPATH=%DERBY_CLIENT_CLASSPATH%
if NOT "%DATABASE_CLASSPATH%"=="" (
     if NOT "%POST_CLASSPATH%"=="" (
          set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%
     ) else (
          set POST_CLASSPATH=%DATABASE_CLASSPATH%
if NOT "%ARDIR%"=="" (
     if NOT "%POST_CLASSPATH%"=="" (
          set POST_CLASSPATH=%POST_CLASSPATH%;%ARDIR%\xqrl.jar
     ) else (
          set POST_CLASSPATH=%ARDIR%\xqrl.jar
@REM PROFILING SUPPORT
set JAVA_PROFILE=
set SERVER_CLASS=weblogic.Server
set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
if "%PRODUCTION_MODE%"=="true" (
     set JAVA_OPTIONS= -Dweblogic.ProductionModeEnabled=true %JAVA_OPTIONS%
@REM -- Setup properties so that we can save stdout and stderr to files
if NOT "%WLS_STDOUT_LOG%"=="" (
     echo Logging WLS stdout to %WLS_STDOUT_LOG%
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
if NOT "%WLS_STDERR_LOG%"=="" (
     echo Logging WLS stderr to %WLS_STDERR_LOG%
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
@REM ADD EXTENSIONS TO CLASSPATHS
if NOT "%EXT_PRE_CLASSPATH%"=="" (
     if NOT "%PRE_CLASSPATH%"=="" (
          set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
     ) else (
          set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%
if NOT "%EXT_POST_CLASSPATH%"=="" (
     if NOT "%POST_CLASSPATH%"=="" (
          set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
     ) else (
          set POST_CLASSPATH=%EXT_POST_CLASSPATH%
if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
set JAVA_OPTIONS=%JAVA_OPTIONS%
@REM SET THE CLASSPATH
if NOT "%WLP_POST_CLASSPATH%"=="" (
     if NOT "%CLASSPATH%"=="" (
          set CLASSPATH=%WLP_POST_CLASSPATH%;%CLASSPATH%
     ) else (
          set CLASSPATH=%WLP_POST_CLASSPATH%
if NOT "%POST_CLASSPATH%"=="" (
     if NOT "%CLASSPATH%"=="" (
          set CLASSPATH=%POST_CLASSPATH%;%CLASSPATH%
     ) else (
          set CLASSPATH=%POST_CLASSPATH%
if NOT "%WEBLOGIC_CLASSPATH%"=="" (
     if NOT "%CLASSPATH%"=="" (
          set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
     ) else (
          set CLASSPATH=%WEBLOGIC_CLASSPATH%
if NOT "%PRE_CLASSPATH%"=="" (
     set CLASSPATH=%PRE_CLASSPATH%;%CLASSPATH%
if NOT "%JAVA_VENDOR%"=="BEA" (
     set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
) else (
     set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
and this is hom my startWebLogic looks like:
@REM --- Start Functions ---
GOTO :ENDFUNCTIONS
:stopAll
     @REM We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
     if NOT "X%ALREADY_STOPPED%"=="X" (
          GOTO :EOF
     @REM STOP DERBY (only if we started it)
     if "%DERBY_FLAG%"=="true" (
          echo Stopping Derby server...
          call "%WL_HOME%\common\derby\bin\stopNetworkServer.cmd" >"%DOMAIN_HOME%\derbyShutdown.log" 2>&1
          echo Derby server stopped.
     set ALREADY_STOPPED=true
GOTO :EOF
:classCaching
     echo Class caching enabled...
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlaunch.main.class=%SERVER_CLASS% -Dlaunch.class.path="%CLASSPATH%" -Dlaunch.complete=weblogic.store.internal.LockManagerImpl -cp %WL_HOME%\server\lib\pcl2.jar
     set SERVER_CLASS=com.oracle.classloader.launch.Launcher
GOTO :EOF
:ENDFUNCTIONS
@REM --- End Functions ---
@REM *************************************************************************
@REM This script is used to start WebLogic Server for this domain.
@REM
@REM To create your own start script for your domain, you can initialize the
@REM environment by calling @USERDOMAINHOME\setDomainEnv.
@REM
@REM setDomainEnv initializes or calls commEnv to initialize the following variables:
@REM
@REM BEA_HOME - The BEA home directory of your WebLogic installation.
@REM JAVA_HOME - Location of the version of Java used to start WebLogic
@REM Server.
@REM JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
@REM PATH - JDK and WebLogic directories are added to system path.
@REM WEBLOGIC_CLASSPATH
@REM - Classpath needed to start WebLogic Server.
@REM PATCH_CLASSPATH - Classpath used for patches
@REM PATCH_LIBPATH - Library path used for patches
@REM PATCH_PATH - Path used for patches
@REM WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
@REM JAVA_VM - The java arg specifying the VM to run. (i.e.
@REM - server, -hotspot, etc.)
@REM USER_MEM_ARGS - The variable to override the standard memory arguments
@REM passed to java.
@REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
@REM DERBY_HOME - Derby home directory.
@REM DERBY_CLASSPATH
@REM - Classpath needed to start Derby.
@REM
@REM Other variables used in this script include:
@REM SERVER_NAME - Name of the weblogic server.
@REM JAVA_OPTIONS - Java command-line options for running the server. (These
@REM will be tagged on to the end of the JAVA_VM and
@REM MEM_ARGS)
@REM CLASS_CACHE - Enable class caching of system classpath.
@REM
@REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
@REM (http://download.oracle.com/docs/cd/E24329_01/web.1211/e21048/overview.htm).
@REM *************************************************************************
@REM Call setDomainEnv here.
set DOMAIN_HOME=C:\Oracle\Middleware\wlserver_12.1\samples\domains\wl_server
for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
call "%DOMAIN_HOME%\bin\setDomainEnv.cmd" %*
set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS%
set SAVE_CLASSPATH=%CLASSPATH%
set USER_MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=350m
@REM Start Derby
set DERBY_DEBUG_LEVEL=0
if "%DERBY_FLAG%"=="true" (
     call "%WL_HOME%\common\derby\bin\startNetworkServer.cmd" >"%DOMAIN_HOME%\derby.log" 2>&1
set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS%
set SAVE_JAVA_OPTIONS=
set CLASSPATH=%SAVE_CLASSPATH%
set SAVE_CLASSPATH=
if "%PRODUCTION_MODE%"=="true" (
     set WLS_DISPLAY_MODE=Production
) else (
     set WLS_DISPLAY_MODE=Development
if NOT "%WLS_USER%"=="" (
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.username=%WLS_USER%
if NOT "%WLS_PW%"=="" (
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.password=%WLS_PW%
if NOT "%MEDREC_WEBLOGIC_CLASSPATH%"=="" (
     if NOT "%CLASSPATH%"=="" (
          set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
     ) else (
          set CLASSPATH=%MEDREC_WEBLOGIC_CLASSPATH%
echo .
echo .
echo JAVA Memory arguments: %MEM_ARGS%
echo .
echo WLS Start Mode=%WLS_DISPLAY_MODE%
echo .
echo CLASSPATH=%CLASSPATH%
echo .
echo PATH=%PATH%
echo .
echo ***************************************************
echo * To start WebLogic Server, use a username and *
echo * password assigned to an admin-level user. For *
echo * server administration, use the WebLogic Server *
echo * console at http:\\hostname:port\console *
echo ***************************************************
@REM CLASS CACHING
if "%CLASS_CACHE%"=="true" (
     CALL :classCaching
@REM START WEBLOGIC
echo starting weblogic with Java version:
%JAVA_HOME%\bin\java %JAVA_VM% -version
if "%WLS_REDIRECT_LOG%"=="" (
     echo Starting WLS with line:
     echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
     %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
) else (
     echo Redirecting output from WLS window to %WLS_REDIRECT_LOG%
     %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% >"%WLS_REDIRECT_LOG%" 2>&1
CALL :stopAll
popd
@REM Exit this script only if we have been told to exit.
if "%doExitFlag%"=="true" (
     exit
ENDLOCAL
please help!

How are you deploying - from an IDE, or weblogic.Deployer or the console...?
With console....
Have you opened an SR with Oracle?
Not yet. How to do it?

Similar Messages

  • Using saaj 1.2 with weblogic 8.1

    according to .This link, weblogic 8.1 implements SAAJ 1.1 version. How can i use SAAJ 1.2 with weblogic 8.1?
    I removed webservices.jar from startweblogic.bat script. then i put saaj-api.jar and saaj-impl.jar (from JWSDP 1.4) in app server's classpath. Thirdly, i deployed an EJB that uses SAAJ 1.2 . However, I am getting following exception which shows that the bean is still using weblogic's implementation of SAAJ i.e. version 1.1.
    java.lang.IllegalArgumentException: endpoint should be String or URL
    at weblogic.webservice.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:43)[b]
    how can i get rid of this and use SOAPConnection from saaj-impl.jar library????

    Hi,
    just run the SetEnv.cmd and check in classpath,it might still have the webservice.jar.
    Probably remove it from setEnv.cmd.
    Regards,
    Manish

  • So I just bought a used MacBook from Amazon with OSX 10.5.8.  I am trying to install new software and operating system, but I don't have the passwords to the Users set up in the computer.  What do I do?

    So I just bought a used MacBook from Amazon with OSX 10.5.8.  I am trying to install new software and operating system, but I don't have the passwords to the Users set up in the computer.  What do I do?

    Put your install DVD into the optical drive (CD/DVD drive) and reboot. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option Key until the Install Disk shows up) until the apple shows up. That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Reset Password. After resetting the password use Startup Disk from the same menu to choose your hard drive for startup and restart.

  • Using -pack + -standalone switches with Weblogic ?

    Hi,
    Does anyone know as to whats the issue with using -pack + -standalone switches with Weblogic ? Its been mentioned in the documentation that its not advisable to use those in combination when we build and EAR. We have been doing this in our project for atleast a month now and have not come across any issue due to this.
    Please share your thoughts.
    Thanks,
    -Naga

    Hi,
    Does anyone know as to whats the issue with using -pack + -standalone switches with Weblogic ? Its been mentioned in the documentation that its not advisable to use those in combination when we build and EAR. We have been doing this in our project for atleast a month now and have not come across any issue due to this.
    Please share your thoughts.
    Thanks,
    -Naga

  • A Tip for using EJB 3.0 with WebLogic Ant Tasks

    I started out writing this up as a problem, but then I found the answer so I'm, posting a tip instead.
    When I tried to write an EJB [stateless] using EJB 3.0 in my legacy Weblogic ear project I started getting this error:
    <pre>
    No EJBs found in the ejb-jar file 'test'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    </pre>
    This is why: wlcompile will put the class files in the App-Inf/classes directory unless it finds an ejb-jar.xml file in the META-INF directory for the module it is working on. With EJB 3.0, I wasn't using an ejb-jar.xml file because it was unnecessary. Later, Appc runs and it complains <b>because there are no classes module directory, they went into the shared ear folder instead.</b>
    Here's I how it working again: Use javac [not wlcompile] to compile the EJB 3.0 module and make sure that the class files go into the correct module directory. Then you can use wlappc to generate all the associated files for the EJB. I have sucessfully deployed an ear file that uses both EJB 2.x and EJB 3.0 with this approach.
    I wish Weblogic's own ejb3.0 sample application used their split directory deployment.
    Good Luck.
    John Aronson

    Hi John,
    I am working on development an enterprise application using EJB 3.0 on Weblogic 10.
    While developing, I am keeping all my classes (from ejb's as well as web) into APP-INF/classes directory. It is working fine for Web and ejb 2.0 packages, but ejb 3.0 packages, I get the following error when I keep my ejb 3.0 beans classes in APP-INF/classes directory.
    No EJBs found in the ejb-jar file 'customer'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    One solution is to keep the classes under customer ejb directory, but I wan tto keep all the classes in APP-INF/classes directory so that when using Eclipse IDE I can output all compiled sources into APP-INF/classes directory.
    Has anyone faced this situation? Any suggestions to fix this issue?

  • Using Oracle thin driver with Weblogic 6.1

    hi all,
    i am trying to create a ConnectionPool using WLS6.1 and Oracle 8.0.5.
    Since i cannot use the weblogic driver (due to the old version of oracle that
    i have)
    i am trying to use instead the oracle thin driver.
    i configured my pool as follows:
    URL jdbc:oracle:[email protected]:1521:ORC1
    Driver oracle.jdbc.Driver.OracleDriver
    Propeties user=SCOTT
    when i try to assing the created pool to a server (using the 'Target' link),
    i always got this exception
    weblogic.management.DeploymentException: Error creating connection pool - with
    n
    ested exception:
    [weblogic.common.ResourceException: Cannot load driver class: oracle.jdbc.Driver
    .OracleDriver]
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:110)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:608)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:592)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:352)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
    s(ConfigurationMBeanImpl.java:484)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:354)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy7.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(Dynam
    icMBeanImpl.java:1448)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
    anImpl.java:858)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
    anImpl.java:810)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
    igurationMBeanImpl.java:288)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
    ava:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
    ava:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:
    303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy75.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(Filtere
    dMBeanAttribute.java:89)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(D
    oEditMBeanAction.java:116)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(A
    ctionServlet.java:167)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(Act
    ionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2456)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException: Error creating connecti
    on pool - with nested exception:
    [weblogic.management.DeploymentException: Error creating connection pool - with
    nested exception:
    [weblogic.common.ResourceException: Cannot load driver class: oracle.jdbc.Driver
    .OracleDriver]]
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
    s(ConfigurationMBeanImpl.java:494)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:354)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:44>
    However, i set the CLASSPATH & PATH of my startWebLogic.cmd as follows:
    set PATH=c:\orant\bin;d:\bea\wlserver6.1\bin\oci817_8;.\bin;%PATH%
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\samples\eval\cloudscape\lib\cloudscape.jar;.\config\examples\serverclasses;c:\orant\jdbc\lib\classes111.zip
    AND, i have written a small program that uses JDBC (without weblogic) to query
    a table
    on the Oracle (using the pool's URL in the properties for getting the Connection
    conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:ORC1", "scott",
    "tiger");
    and that program works fine.
    Can anyone tell me what is wrong?? it seems that everything is in order (with
    respect to CLASSPATH, PATH etc..)
    hope someone can solve my problem
    thanx and regards
    marco

    your url should be
    jdbc:oracle:thin:@127.0.0.1:1521:ORC1
    notice the ':' before the '@'.
    sree
    "Marco" <[email protected]> wrote in message
    news:[email protected]...
    Hi Sree,
    You have to place the classes11.zip file in the beginning of the classpath.i did it. my CLASSPATH is now
    CLASSPATH=c:\orant\jdbc\lib\classes111.zip;.;.\lib\weblogic_sp.jar;.\lib\web
    logic.jar;.\samples\eval\cloudscape\lib\cloudscape.jar;.\config\examples\ser
    verclasses
    But now, when i assign the target, the exception is:
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException: Error creating
    connecti
    on pool - with nested exception:
    [weblogic.management.DeploymentException: Error creating connection pool -
    with
    nested exception:
    [weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Sub Protocol must be specified in connection URL
            at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:352)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:102)
            at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:192)
            at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
            at
    weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:698)
            at
    weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
            at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:629)
            at
    weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
            at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:329)
            at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:144)
            at java.lang.reflect.Method.invoke(Native Method)
            at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:608)
            at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:592)
            at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:352)
            at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
            at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
            at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
    s(ConfigurationMBeanImpl.java:484)
            at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:354)
            at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
            at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
            at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
            at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
            at $Proxy8.addDeployment(Unknown Source)
            at weblogic.management.internal.DynamicMB>
    what is SubProtocol???
    my ConnectionPool is configured as follows:
    Name:     MyJDBC Connection Pool
    URL :     jdbc:oracle:[email protected]:1521:ORC1
    Driver:   oracle.jdbc.driver.OracleDriver
    Properties: user=SCOTT
    Password  : tiger
    can u help me???
    thanx in advance and regards
       marco
    >
    >
    at
    weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:110)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:608)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:352)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
    s(ConfigurationMBeanImpl.java:484)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:354)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy7.addDeployment(Unknown Source)
    at
    weblogic.management.internal.DynamicMBeanImpl.updateDeployments(Dynam
    icMBeanImpl.java:1448)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
    anImpl.java:858)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
    anImpl.java:810)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
    igurationMBeanImpl.java:288)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
    ava:1356)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
    ava:1331)
    at
    weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:
    303)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy75.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.console.info.FilteredMBeanAttribute.doSet(Filtere
    dMBeanAttribute.java:89)
    at
    weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(D
    oEditMBeanAction.java:116)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(A
    ctionServlet.java:167)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(Act
    ionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2456)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException: Error creating
    connecti
    on pool - with nested exception:
    [weblogic.management.DeploymentException: Error creating connection pool
    with
    nested exception:
    [weblogic.common.ResourceException: Cannot load driver class:
    oracle.jdbc.Driver
    OracleDriver]]
    at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
    s(ConfigurationMBeanImpl.java:494)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:354)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    23)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:44>
    However, i set the CLASSPATH & PATH of my startWebLogic.cmd as follows:
    set PATH=c:\orant\bin;d:\bea\wlserver6.1\bin\oci817_8;.\bin;%PATH%
    set
    CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\samples\eval\cloudsc
    a
    pe\lib\cloudscape.jar;.\config\examples\serverclasses;c:\orant\jdbc\lib\clas
    ses111.zip
    AND, i have written a small program that uses JDBC (without weblogic)
    to
    query
    a table
    on the Oracle (using the pool's URL in the properties for getting the
    Connection
    conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:ORC1",
    "scott",
    "tiger");
    and that program works fine.
    Can anyone tell me what is wrong?? it seems that everything is in order
    (with
    respect to CLASSPATH, PATH etc..)
    hope someone can solve my problem
    thanx and regards
    marco

  • Using Oracle8 JDBC Drivers with WebLogic 5.1

    We are currently using the BEA WebLogic 5.1 application server and Oracle 8.0.4. We are using the JDBC OCI driver that came out-of-the-box with the WebLogic software. However, we would like to use the driver developed by Oracle, instead.
    Does the Oracle8 JDBC driver (both type 2 and type 4) interoperate with WebLogic 5.1? If not, what are the problems that prohibit them being used together?
    Thanks... Steve Bursch

    Summarizing from previous threads on this forum (I have not run this configuration myself):
    The main issue is that you will not be able to use Oracle-specific functionality from the Oracle driver.
    This includes all types in oracle.sql, or any APIs on oracle.jdbc.driver.OracleXxxx classes, or JPublisher-generated wrappers for SQL Object Types, collections, or REFs.
    Also, since Oracle does not support side-channel result sets, but requires explicit REF CURSOR out parameters from stored procedures/functions, you will not be able to return REF CURSORs to the client, from stored proedures or functions - the getCursor() API that is required is Oracle-specific and not part of JDBC.
    As long as you limit yourself strictly to standard JDBC types, and do not require the return of result sets from the server, you should probably be fine.

  • Using Cisco  LocalDirector 400 with WebLogic

              Does anyone have any feedback on using Cisco LocalDirector with WebLogic 8.1 cluster
              - especially wityh SSL persistence
              Thanks
              Henry
              

    Is there any specific issue you are trying to resolve?
              "Henry Nghiem" <[email protected]> wrote in message
              news:40f548d5$1@mktnews1...
              >
              > Does anyone have any feedback on using Cisco LocalDirector with WebLogic
              8.1 cluster
              > - especially wityh SSL persistence
              >
              > Thanks
              > Henry
              

  • Error deploying jpa from oepe tutorial example on Weblogic 12c server

    I am having the next error trying to deploy jpa in to Weblogic 12c server from the oepe tutorial example at http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/11/eclipse_intro/eclipse_intro.html. The "I---------I" markups are below, "bean.Hello", "hello" and "response.jsp". I've tried to find a solution on the web but nothing. I'll apreciate any help. thanks.
    greeting.jsp:1:1: Needed class "bean.Hello" is not found.
    ^
    greeting.jsp:5:44: The bean type "bean.Hello" was not found.
    <jsp:useBean id="hello" scope="page" class="bean.Hello"></jsp:useBean>
    I----------I
    greeting.jsp:6:23: This bean name does not exist.
    <jsp:setProperty name="hello" property="*" />
    I-----I
    greeting.jsp:34:18: Error in "C:\Users\Andres Tobar\workspace\DemoEARWeb\WebContent\pages\response.jsp" at line 13: This bean does not exist.
    <%@ include file="response.jsp" %>
    I------------I

    I have started again all the tutorial from the begining, trying to not miss any configuration setting even the ones displayed on pictures, finding that the tutorial example now works. I think the first time i have tryed it i missed to activate the anotations facet in project properties because this configuration step is not explained in the tutorial unless you take a close look into the tutorial images. Probably that was the cause of the mentioned error, not so sure, but the tutorial example really works.

  • Gettig error connecting to Oracle DB with weblogic 6.1

    I am getting this error when I try to make a connection to an Oracle817 DB.
    I am using Oracles drviers (classes12.zip)
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connection pool
    "genPool" Test table must be specifed for genPool with 'test connection on
    reserve' or 'test connection on release' or 'refresh minutes' set higher
    than 0.>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Source named
    weblogic.jdbc.jts.genPool for pool genPool>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
    pool genPool requested by user system>
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
    creation: weblogic.common.ResourceException:
    DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
    Pool (connection or multi) (genPool)>
    I have created a connction pool called genPool,
    set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
    driver class name = oracle.jdbc.driver.OracleDriver
    Properties:
    user=name ** where name is user
    password=xx **where xx is password
    dll=ocijdbc8
    protocol=thin
    I created the Tx Data Sources with
    name = weblogic.jdbc.jts.genPool
    jndi = weblogic.jdbc.jts.genPool
    poolname = genPool
    Can anyone help me through this, it would be a great help
    Rafid Wahab

    Other solution:
    on refresh period, default value is 1 minute, force this value at 0 and your connection
    is ok.
    Eric
    Joseph Weinstein <[email protected]> wrote:
    Redo the pool definition, and set 'test connection on reserve'. Don't
    set 'test connections on release', and leave refresh minutes alone.
    add a test table. DUAL is perfect for that. Everything else seems
    fine.
    Joe
    Rafid wrote:
    I am getting this error when I try to make a connection to an Oracle817DB.
    I am using Oracles drviers (classes12.zip)
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connectionpool
    "genPool" Test table must be specifed for genPool with 'test connectionon
    reserve' or 'test connection on release' or 'refresh minutes' set higher
    than 0.>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Sourcenamed
    weblogic.jdbc.jts.genPool for pool genPool>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
    pool genPool requested by user system>
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
    creation: weblogic.common.ResourceException:
    DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
    Pool (connection or multi) (genPool)>
    I have created a connction pool called genPool,
    set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
    driver class name = oracle.jdbc.driver.OracleDriver
    Properties:
    user=name ** where name is user
    password=xx **where xx is password
    dll=ocijdbc8
    protocol=thin
    I created the Tx Data Sources with
    name = weblogic.jdbc.jts.genPool
    jndi = weblogic.jdbc.jts.genPool
    poolname = genPool
    Can anyone help me through this, it would be a great help
    Rafid Wahab

  • Getting Error using ZMG from Boot DVD 10.2.2

    So I created a ZCM boot 10.2.2 and put by base image on the root of /mnt/cdrom/xxxxx.zmg . The image was right under one 1gig. I edited the Main Script to look like the following
    img pd1
    img pd2
    img pc1 NTFS
    img -rl /mnt/cdrom/xxx.zmg
    So that worked great. So i created the final base image which was bout 2.3 gigs and used that instead of the 1 gig base, and it keeps failing with the error "Encountered a bad file header during image restoration" don't know whats causing it. I am making the DVD's using Magic ISO and have copied good copies of the base image I know that works from my ZCM server.
    Funny thing is when I use the boot cd to pull the base image from satellite server it works fine.
    If someone has any ideas, I could really use some.

    Selbymathew2004,
    this forum is for the discussion of early (beta) releases of ZCM;
    you'll get better responses if you ask in the ZCM10 imaging forum
    Shaun Pond

  • Error using Acrobat portfolio SDK with Flash Builder

    Hi all
    I've been trying to customize a navigator portfolio for Adobe Acrobat X using Flash Builder 4.5. I was running this proyect as Navigator but I received the following Flash Player error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at acrobat.navhost.app::SingleNavApp/set productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\Portfolio\Flash\Libs\NavHo stUtil\src\acrobat\navhost\app\SingleNavApp.as:333]
    at com.adobe.app::AppPrefsBinding/productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\Acro View\Portfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:93]
    at com.adobe.app::AppPrefsBinding/refresh()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\P ortfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:76]
    at Function/<anonymous>()[E:\dev\4.x\frameworks\projects\framework\src\mx\binding\utils\Bind ingUtils.as:180]
    at mx.binding.utils::ChangeWatcher/wrapHandler()[E:\dev\4.x\frameworks\projects\framework\sr c\mx\binding\utils\ChangeWatcher.as:557]
    at flash.events::EventDispatcher/dispatchEventFunction()
    I've installed Acrobat portfolio SDK into Flash Builder and I have followed the documentation of Building a Navigator from http://learning.adobe.com

    Ok, finally got this working.  Many hidden gotchas. 
    1.  You have to make a Trust File for your custom panel.  This is actually in the SDK, around page 53, so my bad -- but the problem is that there is no feedback from the Adobe application if you don't have this.  The application just hangs.  It should produce an error message "can't find trust file, etc.".  This should not be that hard to implement.
    2.  The latest Flex SDK does not seem to work in Bridge CC or other similar applications.  You have to use Flex SDK 3.x, apparently, and this is NOT in the documentation.  Not only should you set the default SDK in Flex Builder to 3.x (I'm using 3.6) but you have to edit the build.properties file to make sure it's pointing to the correct folder, eg: C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0.  Fortunately Flash Builder 4.7 comes with 3.6 installed.  If you have an older version, it's likely to be completely different.
    More info in this thread: http://forums.adobe.com/thread/1114153.

  • Error removing object from cache with write behind

    We have a cache with a DB for a backing store. The cache has a write-behind delay of about 10 seconds.
    We see an error when we:
    - Write new object to the cache
    - Remove object from cache before it gets written to cachestore (because we're still within the 10 secs and the object has not made it to the db yet).
    At first i was thinking "coherence should know if the object is in the db or not, and do the right thing", but i guess that's not the case?

    Hi Ron,
    The configuration for <local-scheme> allows you to add a cache store but you cannot use write-behind, only write-through.
    Presumably you do not want the data to be shared by the different WLS nodes, i.e. if one node puts data in the cache and that is eventually written to a RAC node, that data cannot be seen in the cache by other WLS nodes. Or do you want all the WLS nodes to share the data but just write it to different RAC nodes?
    If you use a local-scheme then the data will only be local to that WLS node and not shared.
    I can think of a possible way to do what you want but it depends on the answer to the above question.
    JK

  • How do I use jdk 1.4 with weblogic 6.1?

    Want to use jdk 1.4 features(logging and regular expression) in a weblogic
              application I am developing. How do I get weblogic 6.1 to run with jdk1.4
              

              This is off topic but see the url below on edocs.
              You will need to make sure that your classpath points to the 1.4 jdk. Changing
              your $JAVA_HOME in the startup script is pretty much it.
              When developing your application, make sure your classpath is set properly .For
              example in the setExamplesSever.sh script you point to the 1.4 jdk.
              FYI This is not yet a supported platform.
              -frank
              http://e-docs.bea.com/wls/docs61/faq/java.html#251151
              "alt.cybercafes" <[email protected]> wrote:
              >Want to use jdk 1.4 features(logging and regular expression) in a weblogic
              >application I am developing. How do I get weblogic 6.1 to run with jdk1.4
              >
              >
              >
              

  • Connections not being released from pool with Weblogic 5.1 sp 8

    I am using WLS 5.1 on RedHat Linux kernel 2.4
    The database is oracle 8.1.6 and I am using the thin
    jdbc driver as shown in the config below.
    weblogic.jdbc.connectionPool.bobePool=\
    url=jdbc:oracle:thin:@localhost:1521:<sid>,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=10,\
    maxCapacity=22,\
    capacityIncrement=5,\
    allowShrinking=true,\
    shrinkPeriodMins=3,\
    testConnsOnReserve=true,\
    testTable=dual,\
    refreshTestMinutes=5,\
    props=user=<username>;password=<password>
    The problem I am facing is that some connections remain active
    after the SQL query has finished. The no. of open connections
    keep on piling up till the limit of 18 connections is reached and
    ultimately at that point weblogic hangs.
    Has someone else faced this problem...and found a solution??
    Regards,
    Anish Srivastava
    System Analyst
    Baazee.com

    I agree with Sree. We had same kind of problem before but I attribute this mostly
    to the application handling of the connections rather than container in managing
    pools. Most often programmers tend to disregard to explicitly claim the resources(close
    them in case of db con.s) in case of exceptions. Though they keep a finally block
    at the end of every business method , my experience says, more safer it is to close
    them in exception catch block too. I dont know if some JVMs defer the execution of
    finally blocks/containers override the behavior.
    comments?
    -Chandra
    "Sree Bodapati" <[email protected]> wrote:
    Hello Anish,
    There are two things here:
    1. Make sure connections are closed (in a finally block). If objects are
    not
    at the method level, the application code may
    be overwriting and losing references to the connection. So watchout for
    that.
    2. Never try to get a connection in an infinite loop in the application,
    that will take all the available execute threads on the server when you
    have
    enough number of clients and can cause this issue.
    One other config change that I would suggest is,
    make refreshtestMinutes=99999, testConnsOnReserve should be sufficient to
    ensure application gets a good connection.
    hth
    sree
    "Anish Srivastava" <[email protected]> wrote in message
    news:[email protected]...
    I am using WLS 5.1 on RedHat Linux kernel 2.4
    The database is oracle 8.1.6 and I am using the thin
    jdbc driver as shown in the config below.
    weblogic.jdbc.connectionPool.bobePool=\
    url=jdbc:oracle:thin:@localhost:1521:<sid>,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=10,\
    maxCapacity=22,\
    capacityIncrement=5,\
    allowShrinking=true,\
    shrinkPeriodMins=3,\
    testConnsOnReserve=true,\
    testTable=dual,\
    refreshTestMinutes=5,\
    props=user=<username>;password=<password>
    The problem I am facing is that some connections remain active
    after the SQL query has finished. The no. of open connections
    keep on piling up till the limit of 18 connections is reached and
    ultimately at that point weblogic hangs.
    Has someone else faced this problem...and found a solution??
    Regards,
    Anish Srivastava
    System Analyst
    Baazee.com

Maybe you are looking for

  • Need help in creating a Waterfall Chart

    Hi, I have a requirement where in which I need to create a waterfall chart. In this chart we need the sales value for a Brand for two years, (say 2010 and 2009) and also need to plot the growth of the various sub-brands that come under that brand. So

  • Reg : Unable to open the PDF when opening Notification documents

    Hi All, I used QM03 and then I type in a notification number and then I hit return I get a series of screens and then I click on documents.  I then get to the document tree and then open the RPC file.  from that I get a pdf file.  I click open but I

  • How to Migrate Oracle Forms 10g 9.0.4 to 10.1.2

    Hi I would like to find information on what is necessary to do in order to migrate Forms 10g 9.0.4 to 10.1.2. Do I need to use Oracle Migration assistant ? Is it enough only compile forms ? Where I find documentation on how to execute this migration.

  • Mac Mini 2012 formatting external drive takes forever

    Just recently, I attempted to back up the primary drive with Time Machine, this took several hours.  Note, in the past the back up only too a few minutes.  I tried several other drives, it too took hours to back up.  Additionally, to format a drive w

  • How to overight file in one file

    Dear all, i have 30 files and i want to merge all 30 file in one file ,  how to convert this