How to register RMI object with runnign Weblogic Server instance?

I need to write some RMI objects(non EJB) and register it with the already running weblogic server so that I can access them from a RMI client.
Can some help me with this?

So more precisely the way I am doing it is
I have a remote interface
package com.myserv.rmi;
public interface NSPQueryExecutionService extends java.rmi.Remote
public void getQueryExecutionDelegate();
I have the Implementation as
package com.myserv.rmi;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
public class NSPQueryExecutionServiceImpl
implements NSPQueryExecutionService
public static final void main (String[] arg) {
try {
Properties properties = null;
properties = new Properties();
properties.put (Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
Context context = new InitialContext(properties);
context.bind("QueryExecutionService", new NSPQueryExecutionServiceImpl());
System.out.println("================================> QueryExecutionService Bound");
} catch (Exception ex){
ex.printStackTrace();
System.out.println("Unable to start QueryExecutionService");
public NSPQueryExecutionServiceImpl()
public void getQueryExecutionDelegate()
System.out.println("inside remote");
I compile these classes and I do a weblogic.rmic as
java weblogic.rmic com.myserv.rmi.NSPQueryExecutionServiceImpl
I run the NSPQueryExecutionServiceImpl class to bind the RMIObject with the weblogic server.
Finally when I try to access this from my client it is able to access the object but when I invoke an operation on it gives the exception that RJVM is already shutdown.
Edited by kuldeep.sharma at 02/15/2007 9:37 AM

Similar Messages

  • Connect webdynpro callable object with ms sql server 2000

    Hi all
    how connect webdynpro callable object with ms sql server 2000?
    How can I register on the portal as an additional connection?
    thank you very much!

    Thanks for your answers, Now I have the following problem, to develop this code:
    try {
              InitialContext iC = new InitialContext();
              DataSource dataSource = (DataSource)iC.lookup("jdbc/ConnectionAlias");
              Connection con = dataSource.getConnection();
              java.sql.Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("select * from ejemplo");
              while (rs.next()){
                   com.sap.test.sql.testsql.wdp.IPrivateTestIViewView.IDatosElement
                                                             DatosElement =
                                                             wdContext.nodeDatos()
                                                             .createDatosElement();
                   DatosElement.setId(rs.getString("id"));
                   DatosElement.setNom(rs.getString("nom"));
                   DatosElement.setNum(rs.getInt("num"));
         }catch (SQLException e) {
              wdContext.currentContextElement().setB(e.getMessage());
         }catch (Exception e){
              wdContext.currentContextElement().setB(e.getMessage());
    and shows me the following exception
    ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    the data that you place in the visual administrator were:
    Drivers: com.sap.aii.af.jmsproviderlib (msutil.jar , mssqlserver.jar , msbase.jar)
    DataSources: sap.com/JDBCConnector_MyDatasource.xml
                   Name: MyDatasource
                   Alias: ConnectionAlias
                   DriverName: com.sap.aii.af.jmsproviderlib
                   JDBC Version: 1.x
                   Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
                   Database URL: jdbc:microsoft:sqlserver://181.42.101.219:1433;DatabaseName=test
                   User: sa
                   Password: abcd1234
    did not know the cause of the problem
    thanks!

  • How to register an object in LSMW?

    Hello,
    BUS1003 Class exists in our system but does not seem to be registered with LSMW.  Does anyone know how to register 0140 Class with LSMW?
    Regards, Dean.

    Hi,
    Check ALE MESSAGE type: CLASS_CREATE, IDoc Type CLASS_CREATE01 which is generated from Tx. BDBG. You can also check the ALE interface for the BAPI in TX. BAPI.
    But I wonder why you are looking for the IDoc Interface in LSMW when it can be easily acheived by BI method:
    Object               0140   Class   
    Method               0000           
    Program name         RCCLBI01       
    Program type         B   Batch input
    Best Regards, Murugesh

  • A friend created 3 accounts on his iPhone 5 but forgot the passwords. He can't reset the password as yahoo address is no longer valid. Erasing the phone doesn't solve the issue. How to register the phone with Apple?

    A computer illiterate friend created 3 accounts on his iPhone 5 but forgot the passwords. He can't reset the password as his yahoo address is no longer valid. Erasing the phone doesn't solve the issue as the Apple server identifies the hardware as registered. How to register the phone with Apple?
    I helped him create a new email address and new iCloud account on my Mac but when we try to register the phone with Apple it says: Maximim accounts limit reached for this device. How can he register the phone? I read different threads and found out that only Apple care can do that. We're in Romania and don't know where to call. Any suggestions on how we fix this?

    When I checked the support site for Romania, you apparently don't have an Apple Care contact center.  You "may" try calling the US Apple care number to verify the account and have the password reset sent to a different email address.  800-694-7466

  • I want to know about imessages and how it works !! how to register a number with imessages?? I saved a number in contacts but when I try to send a message it say "! not delivered" in red mark.How can I fix this problem??

    I want to know about imessages and how it works !! how to register a number with imessages?? I saved a number in contacts but when I try to send a message it says "! not delivered" in red mark.How can I fix this problem??

    Perhaps something in this support article will help:
    http://support.apple.com/kb/TS2755
    Regards.

  • How to separate an object with a 3d effect

    How to separate an object with a 3d effect
    Hi, I have outlined some text and applied a 3d effect but now I want to separate each letter so I can adjust the colour on the face of the letter with the colour on the extruded part.
    I am sure it is probably straight forward but could do with a little help!
    Thanks

    I think what the OP wants to do is to keep the extruded part the same color and change the face of the letters to different colors. And he/she did mention that the text is outlined.
    If that's the case, I can think of two things to do if you want to keep the 3D effect live (i.e., unexpanded).
    1. You could apply a stroke to the outlined text, in the color you want for the extruded part. Then just change the fills individually (Tip: view in Outline mode and use the Group Selection tool to select each letter).
    2. If you don't like how the stroke looks on the letters, make all the letters the same color — the color you want for the extruded part. Then make a copy of this group of letters. Select the copy, then click in the Appearance panel to to edit the 3D effect. Put the Extruded Depth at Zero. Now chnage the colors to your liking, then align them with the original. Interestingly, you can't just use the Align functions, you have to eyeball it.

  • How to register Business Object Portlet in Oacle Portal

    Hi Gurus,
    Could anybody give me an idea How to register Business Object Portlet in Oacle Portal.
    Thanks & Regards
    Vikram

    Hi
    I am also looking into BO portlets but maybe I am one step behind you as I am still trying to find where to download the provider from.
    Could you tell me where to got the portlet from.
    I recently went to the Business objects web site and could only find a java portal integration kit for JSR 168 platforms (10g included in the list)
    at http://www.businessobjects.com/products/downloadcenter/boepik.asp

  • How to register HFM aplication with Shared services

    Hi,
    Version 11.1.2
    I am new to this version and asking help how to register HFM application with shared services.
    In ver 9.3.1 we register in config utility.
    Regards
    Kumar

    You should start the EPM system configurator, it is the same concept as earlier versions, just the look and feel is slightly different.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Issue with Integrated Weblogic Server in JDeveloper

    Hi
    I'm using JDeveloper version: 11.1.1.7
    I'm facing issue with the Integrated Weblogic server in JDeveloper.
    When I run the server, the log says as follows:
    *** Using port 7101 ***
    D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms768m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\lib\sdoapi.jar;D:\fmwps6\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\fmwps6\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\fmwps6\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Java\JDK16~1.0_5\lib\tools.jar;D:\fmwps6\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\fmwps6\WLSERV~1.3\server\lib\weblogic.jar;D:\fmwps6\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\fmwps6\WLSERV~1.3\server\lib\webservices.jar;D:\fmwps6\modules\ORGAPA~1.1/lib/ant-all.jar;D:\fmwps6\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\fmwps6\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\fmwps6\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\fmwps6\WLSERV~1.3\server\lib\xqrl.jar;;D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\config;D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\lib\stringtemplate-2.3b6.jar
    PATH=D:\fmwps6\patch_wls1035\profiles\default\native;D:\fmwps6\patch_jdev1111\profiles\default\native;D:\fmwps6\WLSERV~1.3\server\native\win\x64;D:\fmwps6\WLSERV~1.3\server\bin;D:\fmwps6\modules\ORGAPA~1.1\bin;D:\Java\JDK16~1.0_5\jre\bin;D:\Java\JDK16~1.0_5\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;D:\ADE\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;D:\Java\jdk1.6.0_51\bin;D:\Softwares\apache-ant-1.7.1\bin;C:\Program Files (x86)\Windows Live\Shared;D:\fmwps6\WLSERV~1.3\server\native\win\x64\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    java version "1.6.0_51"
    Java(TM) SE Runtime Environment (build 1.6.0_51-b31)
    Java HotSpot(TM) 64-Bit Server VM (build 20.51-b02, mixed mode)
    Starting WLS with line:
    D:\Java\JDK16~1.0_5\bin\java -client   -Xms768m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\fmwps6\WLSERV~1.3\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,server=y,address=49879 -Djavax.net.ssl.trustStore=D:\fmwps6\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=www-proxy.idc.oracle.com -Dhttp.proxyPort=80 "-Dhttp.nonProxyHosts=localhost|127.0.0.1|rnaguban-in" -Dhttps.proxyHost=www-proxy.idc.oracle.com -Dhttps.proxyPort=80 "-Dhttps.nonProxyHosts=localhost|127.0.0.1|rnaguban-in" -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true  -Duim.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM -Dweblogic.log.Log4jLoggingEnabled_uim=true -Dlog4j.configuration_uim=loggingconfig.xml -Duim.logging.watchdog.timer=5000 -Djava.io.tmpdir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\tmp -Dweblogic.management.discover.retries=6 -DtestConfig.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\testConfig -Dsun.lang.ClassLoader.allowArraySyntax=true  -XX:-UseSSE42Intrinsics -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.authz=ACC -Xverify:none  -da -Dplatform.home=D:\fmwps6\WLSERV~1.3 -Dwls.home=D:\fmwps6\WLSERV~1.3\server -Dweblogic.home=D:\fmwps6\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\fmwps6\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1 -Djrockit.optfile=D:\fmwps6\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\fmwps6\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\fmwps6\ORACLE~1\modules\oracle.oamprovider_11.1.1,D:\fmwps6\ORACLE~1\modules\oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\fmwps6\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\fmwps6\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    Listening for transport dt_socket at address: 49879
    Debugger connected to local process.
    <Aug 16, 2013 7:19:43 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Aug 16, 2013 7:19:43 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Aug 16, 2013 7:19:44 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.51-b02 from Sun Microsystems Inc.>
    <Aug 16, 2013 7:19:44 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for BUG13114768 Sat Jan 21 16:14:44 IST 2012
    WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 16, 2013 7:19:47 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00115. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Aug 16, 2013 7:19:56 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Aug 16, 2013 7:20:00 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:20:00 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log00066. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log.>
    Aug 16, 2013 7:20:05 PM oracle.ods.virtualization.engine.util.VDELogger info
    INFO: Notification sent for Mapping config object reloaded
    Aug 16, 2013 7:20:05 PM oracle.ods.virtualization.engine.util.VDELogger info
    INFO: Notification sent for Mapping config object reloaded
    <Aug 16, 2013 7:20:18 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 16, 2013 7:20:18 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 16, 2013 7:20:20 PM IST> <Warning> <JDBC> <BEA-001552> <The Logging Last Resource (LLR) data source InventoryTxDataSource will not function when it is a participant in a global transaction that spans multiple WebLogic Server instances because remote JDBC support is disabled. LLR will function in single-server configurations.>
    <Aug 16, 2013 7:20:22 PM IST> <Warning> <JDBC> <BEA-001110> <No test table set up for pool "mds-commsRepository". Connections will not be tested.>
    <Aug 16, 2013 7:20:39 PM IST> <Warning> <Security> <BEA-090668> <Ignored deployment of role "Admin" for resource "type=<url>, application=DMS Application#11.1.1.1.0, contextPath=/dms, uri=/">
    <Aug 16, 2013 7:20:58 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application UIMCMWSAdapter is not versioned.>
    <Aug 16, 2013 7:21:11 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application oracle.communications.inventory is not versioned.>
    <TableBuilder> <_buildSchema> Metric table "webcache:request_filter_denied_stats" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Information" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Performance" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Response" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Servlet_Response" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Remote_Bridge_Elements" has no key column.  It will not be collected.
    <ConfigurationUtil> <getProperties> Could not load runtime-poms.properties
    <Aug 16, 2013 7:21:52 PM IST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: www-proxy.idc.oracle.com/80. Will try connection www.terracotta.org/80 now.
    java.net.UnknownHostException: www-proxy.idc.oracle.com
      at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
      at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:876)
      at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1229)
      at java.net.InetAddress.getAllByName0(InetAddress.java:1180)
      at java.net.InetAddress.getAllByName(InetAddress.java:1110)
      Truncated. see log file for complete stacktrace
    >
    <Aug 16, 2013 7:21:53 PM IST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: www-proxy.idc.oracle.com/80. Will try connection svn.terracotta.org/80 now.
    java.net.UnknownHostException: www-proxy.idc.oracle.com
      at java.net.InetAddress.getAllByName0(InetAddress.java:1184)
      at java.net.InetAddress.getAllByName(InetAddress.java:1110)
      at java.net.InetAddress.getAllByName(InetAddress.java:1046)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:309)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:414)
      Truncated. see log file for complete stacktrace
    >
    <LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.
    <AdfDiagnosticsJarsVersionDumpImpl> <dumpVersionInfo> Path of the jars version dump :D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\oracle.communications.inventory-Versions.csv
    <FeatureUtils> <_resolveFeatures> Ignoring feature-dependency on feature "AdfDvtCommon".  No such feature exists.
    Warning: Starting ADF Library jar post-deployment on WebLogic Server. Is "provider-lazy-inited" init-param missing from LibraryFilter? Ignore this warning if the ADFJspResourceProvider is not being used.
    Started: ADF Library non-ADFJspResourceProvider post-deployment
    Finished: ADF Library non-ADFJspResourceProvider post-deployment (millis): 223
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00118. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 14.96.8.250:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    But it doesn't list the server while deploying the application.
    I don't see the issue in my office network. But I encounter this problem when I work at my home.
    Ideally it should show the following lines after server is started:
    DefaultServer startup time: 195467 ms.
    DefaultServer started.
    This is not happening if i run the server without network.
    How can I fix this problem?
    Thanks
    Ravi

    I see some message about a proxy. Have you checked that you can use the proxy from you network?
    If not you should turn the proxy off.
    Timo

  • Inqmy resource adapter for SAP with Bea Weblogic Server

              Hi everybody,
              Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic server
              It works well with INQMY server, but with BEA I'm getting a lot of problems creating
              the connections.
              Thanks in advance.
              Xavi.
              

    All,
              Here are the steps we (used for internal testing) had to perform to get
              IN-Q-MY adapter for SAP to work with WebLogic:
              The wli.adapter.inqmy.sapr3.spi package contains extensions to the
              In-Q-My J2EE Connector Architecture classes to overcome some limitations
              in the base implementation classes. To get around these issues, we had
              to extend their R3ManagedConnectionFactory, R3ConnectionManager, and
              R3ConnectionFactory classes.
              * The javax.resource.spi.ManagedConnectionFactory implementation
              does not over-ride the equals and hashCode methods correctly. This
              causes problems with WLS 6.1.
              * There is a bug in their javax.resource.spi.ConnectionManager
              implementation for non-managed uses of the adapter. Consequently, their
              adapter cannot be used in a non-managed scenario.
              * The javax.resource.cci.ConnectionFactory class does not support
              the getConnection() method that does not take any arguments (it throws a
              null pointer exception).
              I am attaching the classes discussed above.
              Cheers,
              Chris
              Torsten Friebe wrote:
              > Hi,
              >
              > does anybody know where to get a trail version - if one exists - of IN-Q-MY
              > application server or the resource adapter?
              >
              > Thanks, regards
              > Torsten
              >
              > "Xavi" <[email protected]> schrieb im Newsbeitrag
              > news:[email protected]...
              >
              >>Hi everybody,
              >>
              >>Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic
              >>
              > server
              >
              >>?
              >>
              >>It works well with INQMY server, but with BEA I'm getting a lot of
              >>
              > problems creating
              >
              >>the connections.
              >>
              >>Thanks in advance.
              >>Xavi.
              >>
              >>
              >
              >
              package wli.adapter.inqmy.sapr3.spi;
              import java.io.Serializable;
              import javax.resource.ResourceException;
              import javax.resource.cci.Connection;
              import javax.resource.cci.ConnectionSpec;
              import javax.resource.spi.ConnectionManager;
              import javax.resource.spi.ConnectionRequestInfo;
              import javax.resource.spi.ManagedConnection;
              import javax.resource.spi.ManagedConnectionFactory;
              import com.inqmy.r3adapter.R3ConnectionSpec;
              import com.inqmy.r3adapter.R3ManagedConnectionFactory;
              * Extends the In-Q-My implementation to allow for getConnection() with no
              * connection spec, i.e. use the default configured connection parameters.
              public class R3ConnectionFactory
              extends com.inqmy.r3adapter.R3ConnectionFactory
              implements com.bea.connector.IProxyMarker {
              private R3ConnectionSpec m_cspec;
              public R3ConnectionFactory(ConnectionManager cm, R3ManagedConnectionFactory mcf)
              throws ResourceException {
              super(cm, mcf);
              String strClientNumber = mcf.getClientNumber();
              if (strClientNumber == null) {
              throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+mcf);
              String strLanguage = mcf.getLanguage();
              if (strLanguage == null) {
              throw new javax.resource.spi.IllegalStateException("Language not set for "+mcf);
              String strUserName = mcf.getUserName();
              if (strUserName == null) {
              throw new javax.resource.spi.IllegalStateException("UserName not set for "+mcf);
              String strPassword = mcf.getPassword();
              if (strPassword == null) {
              throw new javax.resource.spi.IllegalStateException("Password not set for "+mcf);
              m_cspec = new R3ConnectionSpec(strClientNumber, strLanguage, strUserName, strPassword);
              public Connection getConnection(ConnectionSpec connectionSpec)
              throws ResourceException {
              if (connectionSpec == null) connectionSpec = m_cspec;
              return super.getConnection(connectionSpec);
              package wli.adapter.inqmy.sapr3.spi;
              import java.io.Serializable;
              import javax.resource.ResourceException;
              import javax.resource.spi.ConnectionManager;
              import javax.resource.spi.ConnectionRequestInfo;
              import javax.resource.spi.ManagedConnection;
              import javax.resource.spi.ManagedConnectionFactory;
              * Extends the In-Q-My implementation to over-ride the
              * allocateConnection method to return a CCI connection vs. a ManagedConnection
              public class R3DefaultConnectionManager
              implements ConnectionManager, Serializable {
              public R3DefaultConnectionManager() {}
              public Object
              allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cri)
              throws ResourceException {
              ManagedConnection mc = mcf.createManagedConnection(null, cri);
              return mc.getConnection(null, cri);
              package wli.adapter.inqmy.sapr3.spi;
              import javax.resource.spi.ConnectionManager;
              import javax.resource.spi.ConnectionRequestInfo;
              import javax.resource.spi.ManagedConnection;
              import javax.security.auth.Subject;
              * Extends the In-Q-My implementation to get around some problems encountered
              * while running on WebLogic:
              * <ul>
              * <li>Must over-ride default implementation of equals and hashCode method</li>
              * <li>Needed to provide my version of the CCI ConnectionFactory</li>
              * <li>Needed to provide my version of the default ConnectionManager for the
              * non-managed scenario use case</li>
              * </ul>
              public class R3ManagedConnectionFactory
              extends com.inqmy.r3adapter.R3ManagedConnectionFactory {
              private int m_iHashCode;
              transient private com.inqmy.r3adapter.R3ConnectionRequestInfo t_cri = null;
              public R3ManagedConnectionFactory() {
              super();
              java.rmi.server.UID uid = new java.rmi.server.UID();
              m_iHashCode = uid.hashCode();
              public Object createConnectionFactory() {
              // need to install our own default connection manager because In-Q-My
              // version causes a ClassCastException in CCI ConnectionFactory
              // getConnection
              return createConnectionFactory(new R3DefaultConnectionManager());
              public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cri)
              throws javax.resource.ResourceException {
              // need to check for null on the ConnectionRequestInfo object because the
              // In-Q-My R3ManagedConnection ctor does not check for null
              if (cri == null) cri = getDefaultConnectionRequestInfo();
              return new com.inqmy.r3adapter.R3ManagedConnection(this, subject, cri);
              public Object createConnectionFactory(ConnectionManager connectionManager) {
              // need to supply a connection factory that can deal with getConnection
              // that does not take a ConnectionSpec
              try {
              return new R3ConnectionFactory(connectionManager, this);      
              } catch (javax.resource.ResourceException re) {
              re.printStackTrace();
              throw new java.lang.IllegalStateException(re.getMessage());
              com.inqmy.r3adapter.R3ConnectionRequestInfo getDefaultConnectionRequestInfo()
              throws javax.resource.spi.IllegalStateException {
              if (t_cri == null) {
              String strClientNumber = this.getClientNumber();
              if (strClientNumber == null) {
              throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+this);
              String strLanguage = this.getLanguage();
              if (strLanguage == null) {
              throw new javax.resource.spi.IllegalStateException("Language not set for "+this);
              String strUserName = this.getUserName();
              if (strUserName == null) {
              throw new javax.resource.spi.IllegalStateException("UserName not set for "+this);
              String strPassword = this.getPassword();
              if (strPassword == null) {
              throw new javax.resource.spi.IllegalStateException("Password not set for "+this);
              t_cri = new com.inqmy.r3adapter.R3ConnectionRequestInfo(strClientNumber, strLanguage, strUserName, strPassword);
              return t_cri;
              public boolean equals(Object obj) {
              if (obj == null) return false;
              if (obj == this) return true;
              if (!this.getClass().isInstance(obj)) return false;
              R3ManagedConnectionFactory mcf = (R3ManagedConnectionFactory)obj;
              return compare(getClientNumber(), mcf.getClientNumber()) &&
              compare(getLanguage(), mcf.getLanguage()) &&
              compare(getUserName(), mcf.getUserName()) &&
              compare(getPassword(), mcf.getPassword()) &&
              compare(getServerName(), mcf.getServerName()) &&
              compare(getSystemNumber(), mcf.getSystemNumber());
              protected final boolean compare(final Object obj1, final Object obj2) {
              if (obj1 == obj2) return true;
              if (obj1 != null) {
              return obj1.equals(obj2);
              } else {
              if (obj2 == null) {
              return true;
              } else {
              return false;
              public int hashCode() { return m_iHashCode; }
              

  • How to delete the deployed composite in weblogic server 11g

    Can someone tell me how to delete the deployed composite in weblogic server 11g ?I'm facing an issue where the weblogic server is getting started and immediately after sometime the server changes to "Force shutdown"..When i checked the logs,there is an error in one of the composite i deployed..So now i wanted to delete the deployed composite?Please help ....
    Thanks

    Hi
    1. Deleting a domain will not hold any references. But make sure that under your user_projects/applications also remove the folder that matches with your domain. Basically under user_projects folder you will see 2 folders named applications and domains. When you create a domain say mySoaDomain, it will crate a folder with the same name under applications folder also with few files like em.ear. If you do this, then you can crate a new soa domain and use the same old name.
    2. NOW comes the most important thing. If you create a new SOADomain, at one point, you had to give details for soainfra and mds schemas. If you give your current existing db details (that was used for your old deleted domain), then you may still have the issues. Because the soainfra db may still have the instances for your old process.
    3. If you really want to have a full clean soa domain, here is what you do:
    a) Run rcu and drop the existing schemas for soainfra and mds.
    b) Run rcu again and create above schemas again.
    c) Now create SOADomain using config wizard and refer above clean rcu db and you are all set.
    3. Under your domain root folder, just searh for files named with your workflow and you should see the .jar location.
    Thanks
    Ravi Jegga

  • How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?

    Hi
    How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?
    Thanks

    Hi
    when i am going through your bleow link.
    I am not able understand the 3.3.1 step :2
    http://download.oracle.com/docs/cd/E15523_01/web.1111/e10240/basics.htm#i1010040
    edit this file in the Web Configuration,
    configuration of an application called "my_application" with a form module called "form=hrapp.fmx":
    can deploy only.fmx file ?
    if not how to find the realation between my_application and hrapp.fmx ?
    Thanks in Adavance
    Regards
    Ram

  • How to register a webserive in NetWeaver Application Server?

    Dear All,
    Can you please explain how to register a werbservice in Netweaver Application server?
    Gafar

    Mahesh,
    Thank you for your reply.
    I have gone through the sap note 63930. I need some more details to fix my problem.
    My application flow is as follows.
    1. There is a webservice in SAP XI.
    2.The webservice is calling from a Java Web application by  
        using Java JNDI lookup.
    While calling the XI through jndi lookup,
    I am getting an exception, NameNotFoundException. This is because of the non existing/Name mismatch of JNDI lookup on Web AS.
    My question is How and Where can we check the JNDI registry? I am not familiar with Visual Administrator. Can you please help me regarding this problem.
    Abdul Gafar

  • Integrating WebSphere MQ 5.3 with BEA Weblogic Server 9.2 3M

    I am trying to integrate WebSphere MQ 5.3 with BEA WebLogic Server 9.2 3M. I have found the guide:
    Integrating WebSphere MQ 6 with BEA Weblogic Server 10 using Weblogic Server's Foreign (JMS) Server feature [http://ibswings.blogspot.com/]. I have done all steps according this guidance.
    I have made modification since, WebLogic Server 9.2 3M does not support EJB 3.0, I am using EJB 2.1, any changes that have been made is create ejb-jar.xml file and configure it according next guide
    At the final step when I am deploying service-jar-files (for ex. ejb.jar), I am able to complete this procedure.
    When I am starting service (for ex. ejb.jar) from Deployments I am facing a wall: exception appears
    weblogic.application.ModuleException: Exception starting module: EJBModule(EJB)
    Unable to deploy EJB: EJB.jar from EJB.jar:
    com/ibm/mq/jmqi/system/JmqiComponent
    at weblogic.ejb.container.deployer.EJBModule.start(EJBModule.java:505)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
    at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:18
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.NoClassDefFoundError: com/ibm/mq/jmqi/system/JmqiComponent
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at com.ibm.msg.client.wmq.factories.WMQFactoryFactory.createProviderXAConnectionFactory(WMQFactoryFactory.java:388)
    at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.setProviderFactory(JmsConnectionFactoryImpl.java:170)
    at com.ibm.mq.jms.MQConnectionFactory.&lt;init&gt;(MQConnectionFactory.java:240)
    at com.ibm.mq.jms.MQQueueConnectionFactory.&lt;init&gt;(MQQueueConnectionFactory.java:76)
    at com.ibm.mq.jms.MQXAQueueConnectionFactory.&lt;init&gt;(MQXAQueueConnectionFactory.java:69)
    at com.ibm.mq.jms.MQXAQueueConnectionFactoryFactory.getObjectInstance(MQXAQueueConnectionFactoryFactory.java:77)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    As you can see weblogic complains about com.ibm.mq.jmqi.system.JmqiComponent, I googled JmqiComponent but dose not exists which is strange :P. Has anybody what is a reason for such a behaviour.

    Hello.
    I would ditch the foreign JMS approach. There is a detailed example of how to use the resource adapter for the same goal here:
    WebSphere MQ resource adapter  and Weblogic - how?
    While Oracle supports foreign JMS, IBM won't. The only pattern that both IBM and Oracle support is resource adapter.
    Let me know, if you need more guidance.
    -Adrian

  • Build and run Sun's PetStore1.3.1_02 application with BEA WebLogic Server 8.1.

    build and run Sun's PetStore
    1.3.1_02 application with BEA WebLogic Server 8.1.
    5) In the same Command Prompt, compile PetStore using the commands:
    cd c:\bea\user_projects\domains\petstore
    setPetStoreEnv.cmd
    cd c:\petstore1.3.1_02\src
    ant
    buildfile:build.xml does not exist!
    build failed
    could you tell me how ?
    thank you

    What we, BEA, provides is a patch to allow you to compile Pet Store for
    WebLogic Server. It does not contain the source code.
    Sun's Pet Store source code can be found at
    http://developer.java.sun.com/developer/releases/petstore/petstore1_3_1_02.h
    tml. See the requirements section of README.TXT
    You need both in order to make it work.
    "Ankur" <[email protected]> wrote in message
    news:3fa9f2d9$[email protected]..
    Hi Nick,
    I tried building the petstore1.3.1_02 application following theinstructions in the readme. But I got an error as the buil.xml file is
    missing in the directory.....\petstore1.3.1_02\src.
    >
    I tried unzipping the downloaded again and for a petstore.domain.jar alongwith the readme. This jar does not contain the build.xml file.
    >
    Then I tried compiling one by one the component folder and found that the../xmldocuments/src folder has only a build.xml file but no source file...
    >
    Kinldy suggest what to do? Can you send me the zip via email?
    P.S: I have checked the zip and the files are missing.

Maybe you are looking for