1 Reply Latest reply: Dec 8, 2009 8:25 AM by 665323 RSS

    Weblogic 11g

    665323
      I am currently running Oracle Weblogic 11g with Sun JDK 1.6.0_17. I am having a problem with the sunjce_provider class that is found in the /jre/lib/ext folder.

      The jsp compiler is throwing the following:

      The import com.sun.crypto cannot be resolved.

      Any ideas on what the problem could be?


      Here is the config:

      GuessPointCompression = yes
      UserPointCompression = no
      awt.toolkit = sun.awt.windows.WToolkit
      file.encoding = Cp1252
      file.encoding.pkg = sun.io
      file.separator = \
      java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
      java.awt.printerjob = sun.awt.windows.WPrinterJob
      java.class.path = .;D:\Oracle\MIDDLE~1\patch_wls1032\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK16~2.0_1\lib\tools.jar;D:\Oracle\MIDDLE~1\utils\config\10.3\config-launch.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.2.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar
      java.class.version = 50.0
      java.endorsed.dirs = C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\endorsed
      java.ext.dirs = C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
      java.home = C:\PROGRA~1\Java\JDK16~2.0_1\jre
      java.io.tmpdir = C:\WINDOWS\TEMP\
      java.library.path = D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\Java\JDK16~2.0_1\jre\bin;C:\PROGRA~1\Java\JDK16~2.0_1\bin;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_17\bin;D:\Oracle\Middleware\wlserver_10.3\server\bin;
      java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory
      java.naming.factory.url.pkgs = weblogic.jndi.factories:weblogic.corba.j2ee.naming.url:weblogic.jndi.factories:weblogic.corba.j2ee.naming.url
      java.protocol.handler.pkgs = weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net
      java.runtime.name = Java(TM) SE Runtime Environment
      java.runtime.version = 1.6.0_17-b04
      java.security.policy = D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy
      java.specification.name = Java Platform API Specification
      java.specification.vendor = Sun Microsystems Inc.
      java.specification.version = 1.6
      java.vendor = Sun Microsystems Inc.
      java.vendor.url = http://java.sun.com/
      java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
      java.version = 1.6.0_17
      java.vm.info = mixed mode, sharing
      java.vm.name = Java HotSpot(TM) Client VM
      java.vm.specification.name = Java Virtual Machine Specification
      java.vm.specification.vendor = Sun Microsystems Inc.
      java.vm.specification.version = 1.0
      java.vm.vendor = Sun Microsystems Inc.
      java.vm.version = 14.3-b01
      javax.rmi.CORBA.PortableRemoteObjectClass = weblogic.iiop.PortableRemoteObjectDelegateImpl
      javax.rmi.CORBA.UtilClass = weblogic.iiop.UtilDelegateImpl
      javax.xml.rpc.ServiceFactory = weblogic.webservice.core.rpc.ServiceFactoryImpl
      javax.xml.soap.MessageFactory = weblogic.webservice.core.soap.MessageFactoryImpl
      org.omg.CORBA.ORBClass = weblogic.corba.orb.ORB
      org.omg.CORBA.ORBSingletonClass = weblogic.corba.orb.ORB
      org.xml.sax.driver = weblogic.xml.jaxp.RegistryXMLReader
      org.xml.sax.parser = weblogic.xml.jaxp.RegistryParser
      os.arch = x86
      os.name = Windows 2003
      os.version = 5.2
      path.separator = ;
      sun.arch.data.model = 32
      sun.boot.class.path = C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\resources.jar;C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\rt.jar;C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\sunrsasign.jar;C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\jsse.jar;C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\jce.jar;C:\PROGRA~1\Java\JDK16~2.0_1\jre\lib\charsets.jar;C:\PROGRA~1\Java\JDK16~2.0_1\jre\classes
      sun.boot.library.path = C:\PROGRA~1\Java\JDK16~2.0_1\jre\bin
      sun.cpu.endian = little
      sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
      sun.desktop = windows
      sun.io.unicode.encoding = UnicodeLittle
      sun.java.launcher = SUN_STANDARD
      sun.jnu.encoding = Cp1252
      sun.management.compiler = HotSpot Client Compiler
      sun.os.patch.level = Service Pack 2
      user.country = US
      user.dir = D:\Oracle\Middleware\user_projects\domains\main
      user.home = C:\Documents and Settings\Default User
      user.language = en
      user.name = SYSTEM
      user.timezone = America/New_York
      vde.home = D:\Oracle\Middleware\user_projects\domains\main\servers\MainServer\data\ldap
      weblogic.Name =MainServer
      weblogic.ReverseDNSAllowed = false
      weblogic.classloader.preprocessor = weblogic.diagnostics.instrumentation.DiagnosticClassPreProcessor
      </code>
        • 1. Re: Weblogic 11g
          665323
          I have a fix in the classpath area of the admin console for the server in question i added

          D:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunjce_provider.jar


          It works :)