Weblogic.rmic and ant integration issue

I am trying to call weblogic.rmic compiler through a ant script and was
sucessful in doing so and generating the stubs and skelton for my RMI
implementation.
But i also want to pass a system property value (in the example i am passing
file=stdout using -D to java) to weblogic.rmi compiler and don't know how to
do that.
Any help will be greatly appreciated...
Thanks
Kunjan Jhaveri
781-372-3965
[email protected]
PS: Script enclosed.
<target name="local.genStubs" depends="local.compile">
<java classname="weblogic.rmic" fork="yes" failonerror="yes">
<jvmarg value="-Dfile=stdout" />
<arg value="-classpath" />
<arg value="${WL_HOME}${file.separator}lib${file.separator}weblogic.jar" />
<arg value="-d" />
<arg value="${SRCDIR}${file.separator}build${file.separator}classes" />
<arg value="com.ehealthdirect.ee.kernel.EEMutexManagerImpl" />
<classpath>
<pathelement
path="${WL_HOME}${file.separator}lib${file.separator}weblogic.jar" />
</classpath>
</java>
</target>

As far as I know, rmic doesn't know anything about a "file" system property. Is
there some reason you expect this to do something special?
Kunjan Jhaveri wrote:
I am trying to call weblogic.rmic compiler through a ant script and was
sucessful in doing so and generating the stubs and skelton for my RMI
implementation.
But i also want to pass a system property value (in the example i am passing
file=stdout using -D to java) to weblogic.rmi compiler and don't know how to
do that.
Any help will be greatly appreciated...
Thanks
Kunjan Jhaveri
781-372-3965
[email protected]
PS: Script enclosed.
<target name="local.genStubs" depends="local.compile">
<java classname="weblogic.rmic" fork="yes" failonerror="yes">
<jvmarg value="-Dfile=stdout" />
<arg value="-classpath" />
<arg value="${WL_HOME}${file.separator}lib${file.separator}weblogic.jar" />
<arg value="-d" />
<arg value="${SRCDIR}${file.separator}build${file.separator}classes" />
<arg value="com.ehealthdirect.ee.kernel.EEMutexManagerImpl" />
<classpath>
<pathelement
path="${WL_HOME}${file.separator}lib${file.separator}weblogic.jar" />
</classpath>
</java>
</target>

Similar Messages

  • Adding weblogic.rmic to ANT Script

    Hi !
    Any examples to illustrate adding the weblogic.rmic to the Ant build ???
    All that I know is that i can use rmic which is one of the built-in tasks.
    Would i have to use exec instead.
    I'm referring to this URL.. http://jakarta.apache.org/ant/manual/
    Click on built-in tasks.
    Refer to Rmic and Exec.
    Thanks in advance,
    kulkis

    Try this:
    <target name="rmi" depends="compile">
    <echo message="========== RMI compilation of the given classes" />
    <!-- Compile the rmi stubs and skeletons -->
    <!-- rmic base="${classes}" classname ="fi.sonera.ccbs.framework.mvc.rmi.RMICommandImpl"
    sourcebase="${stubs}" /-->
    <java classname="weblogic.rmic">
         <arg value="-d"/>
         <arg value="-iiop"/>
         <arg value="${classes}"/>
         <arg value="fi.sonera.ccbs.framework.mvc.rmi.RMICommandImpl"/>
    </java>
    </target>
    Don Ferguson <[email protected]> wrote:
    Actually, I believe the examples exec a separate VM. I've written ant
    tasks to run
    rmic/ejbc within the ant vm, but unfortunately those are not yet available
    for public
    consumption.
    Andy Piper wrote:
    "kulkis" <[email protected]> writes:
    Hi ! Any examples to illustrate adding the weblogic.rmic to the Ant
    build ???
    All that I know is that i can use rmic which is one of the built-intasks. Would
    i have to use exec instead.
    I'm referring to this URL.. http://jakarta.apache.org/ant/manual/
    Click on built-in
    tasks. Refer to Rmic and Exec.The examples in WLS 6.1 do this. I don't know whether they made the
    beta - but you could pull it down and take a look.
    andy

  • WebLogic 10gR3 and Windows Integrated Authentication

    Hi:
    I have an intranet web application running on WebLogic 10gR3 and would like to make use of the Windows Integrated Authentication (SSO, SPNEGO, Active Directory) so that the intranet users don't have to log in to access the web application.
    In weblogic, I've managed to create an ActiveDirectoryAuthenticator and can see all the users and groups from Active Directly. Also created a NegotiateIdentityAsserter with both WWW-Authenticate.Negotiate and Authorization.Negotiate options.
    When I set the web.xml login-config to BASIC, the browser shows the login dialog and authentication happens through AD. I've changed the login-config to CLIENT_CERT as suggested by the documentation:
    <login-config>
         <auth-method>CLIENT-CERT</auth-method>
    </login-config>but I'm getting the following error:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a
    WWW-Authenticate header field (section 14.46) containing a challenge
    applicable to the requested resource. The client MAY repeat the request
    with a suitable Authorization header field (section 14.8). If the request
    already included Authorization credentials, then the 401 response indicates
    that authorization has been refused for those credentials. If the 401
    response contains the same challenge as the prior response, and the user
    agent has already attempted authentication at least once, then the user
    SHOULD be presented the entity that was given in the response, since
    that entity MAY include relevant diagnostic information. HTTP access
    authentication is explained in section 11.Help is highly appreciated
    Albert
    Edited by: albertattard on Jul 13, 2009 3:40 PM
    Edited by: albertattard on Jul 13, 2009 3:42 PM

    Hi:
    I have an intranet web application running on WebLogic 10gR3 and would like to make use of the Windows Integrated Authentication (SSO, SPNEGO, Active Directory) so that the intranet users don't have to log in to access the web application.
    In weblogic, I've managed to create an ActiveDirectoryAuthenticator and can see all the users and groups from Active Directly. Also created a NegotiateIdentityAsserter with both WWW-Authenticate.Negotiate and Authorization.Negotiate options.
    When I set the web.xml login-config to BASIC, the browser shows the login dialog and authentication happens through AD. I've changed the login-config to CLIENT_CERT as suggested by the documentation:
    <login-config>
         <auth-method>CLIENT-CERT</auth-method>
    </login-config>but I'm getting the following error:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a
    WWW-Authenticate header field (section 14.46) containing a challenge
    applicable to the requested resource. The client MAY repeat the request
    with a suitable Authorization header field (section 14.8). If the request
    already included Authorization credentials, then the 401 response indicates
    that authorization has been refused for those credentials. If the 401
    response contains the same challenge as the prior response, and the user
    agent has already attempted authentication at least once, then the user
    SHOULD be presented the entity that was given in the response, since
    that entity MAY include relevant diagnostic information. HTTP access
    authentication is explained in section 11.Help is highly appreciated
    Albert
    Edited by: albertattard on Jul 13, 2009 3:40 PM
    Edited by: albertattard on Jul 13, 2009 3:42 PM

  • Crystal Reports and SAP Integration Issue

    Gurus,
    I am in the process of reinstalling my SAP B-One(2007 A) Server, after SQL Server and SAP Server and Client installtions and its related patch PL10. My machine is fully loaded and to go, but I am stuck with Crystal Reports Basic 2008 installtion.
    After installting the below for Crystal Reports:
    1) .NetPlatform SP1 setup (dotnetfx35sp1)
    3) Crytatl Runtime
    4) Crystal Setup
    5) Crystal SAP Viewer
    6) CR2008_SP3
    My integration between SAP and CR are fine but after first log off and log on of SAP B-One.
    Shows the below messages:
    - "The new version of Add-on Crystal Reports for SAP Business One is
    installed. Upgrade the Add-on in the current Common DB."
    followed by the below one.
    "Wrong Executable digital signature for Add-On".
    Any advices on how can I upgrade the Common DB.
    Faisal

    Hi  Faisal,
    Is this issue realted to the previous thread you have posted. It looks similiar.
    Re-installation meaning that you had installed aprevious version and now upgrading or is it a full installation.
    Regards,
    Rakesh N

  • TFS and SharePoint Integration Issue

    I have moved TFS2010 with collections+sharepoint3.0+ report server. Everything is working fine. Except I am facing following issue regarding SharePoint. I have actually move my TFS2010 server from one hardware machine to another hardware. Sharepoint3.0
    is intergrated with TFS2010.I am using SQL Server 2008 R2 Standard edition with TFS2010 and Sharpoint 3.0 and Server 2008 R2 data center edition as base OS. The move is actually a Restore-Base move. Before migration system name and softwares are identical.
    PROBLEM Detail:-
    When I try to edit excel file in sharePoint following error come to me
    "Edit document requires a windows sharepoint services-compatible application and microsoft internet explorer 6.0 or greater"
    internet Explorer is greater than 6.0 as I am using a internet explorer 9.0.29 version.
    I am using a SharePoint 3.0 and Office 2013 suit with it.
    IN TFS I have following SharePoint related Issue: (I have a folder on sharepoint which take data from workitems quries in TFS. It also appear in VS2010 in documents folder)
    In TFS when I open an Excel file that design to take data from TFS workitems automatically. But it will not update its item through defined workitems. So I open the file then enter required username password--->
    then enable editing (at this point it gives me errror "Run time error '91':
    Object variable or With block variable not set". I just end it to move forward)(Also after this it will show the IP of old TFS server from which I have restored so that is why I go to Team menu)---> Team menu
    -->  Configure --> here in connection I give the IP of my present TFS Server then it will connect to my collection manually-----> then I go to
    list and select the desired query from which the data should be update --> Now ofter pressing ok it will update the data in excel file from the query --->
    but the problem come when I try to save this file it will not save this file in sharepoint rather it gives me message that
    file is read-only and try to save file in different location or with different name.
    PROBLEM
    My Issue that excel file should be open directly from Sharepoint and user should be able to save it directly to sharepoint. Now my users first download the file --> change it and then upload it as a new file. very ambarrasing.
    Also my TFS users excel files are not updating from Workitems Queries automatically. These files must be updated automatically after we change the query data in work items.
    Please suggest me any solution. I am just stuck

    I have moved TFS2010 with collections+sharepoint3.0+ report server. Everything is working fine. Except I am facing following issue regarding SharePoint. I have actually move my TFS2010 server from one hardware machine to another hardware. Sharepoint3.0
    is intergrated with TFS2010.I am using SQL Server 2008 R2 Standard edition with TFS2010 and Sharpoint 3.0 and Server 2008 R2 data center edition as base OS. The move is actually a Restore-Base move. Before migration system name and softwares are identical.
    PROBLEM Detail:-
    When I try to edit excel file in sharePoint following error come to me
    "Edit document requires a windows sharepoint services-compatible application and microsoft internet explorer 6.0 or greater"
    internet Explorer is greater than 6.0 as I am using a internet explorer 9.0.29 version.
    I am using a SharePoint 3.0 and Office 2013 suit with it.
    IN TFS I have following SharePoint related Issue: (I have a folder on sharepoint which take data from workitems quries in TFS. It also appear in VS2010 in documents folder)
    In TFS when I open an Excel file that design to take data from TFS workitems automatically. But it will not update its item through defined workitems. So I open the file then enter required username password--->
    then enable editing (at this point it gives me errror "Run time error '91':
    Object variable or With block variable not set". I just end it to move forward)(Also after this it will show the IP of old TFS server from which I have restored so that is why I go to Team menu)---> Team menu
    -->  Configure --> here in connection I give the IP of my present TFS Server then it will connect to my collection manually-----> then I go to
    list and select the desired query from which the data should be update --> Now ofter pressing ok it will update the data in excel file from the query --->
    but the problem come when I try to save this file it will not save this file in sharepoint rather it gives me message that
    file is read-only and try to save file in different location or with different name.
    PROBLEM
    My Issue that excel file should be open directly from Sharepoint and user should be able to save it directly to sharepoint. Now my users first download the file --> change it and then upload it as a new file. very ambarrasing.
    Also my TFS users excel files are not updating from Workitems Queries automatically. These files must be updated automatically after we change the query data in work items.
    Please suggest me any solution. I am just stuck

  • WAD and VC Integration issues

    Hi Experts!
    I need to integrate WAD and VC to accomodate the hierarchy filter. I follow the  guide https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a40f2f7-0c01-0010-d69f-c6317c5165cd
    step by step. My requirements is similar to the scenario 6.1 in the guide; I need to have a button value help which invoke the hierarchy dialog and then send as a filter to the query. I was able to display the hierarchy in VC when clicking on the button value help but the problem is when the selection was made; there's nothing happen; the value doesn't send back to query to get filter.
    I tried to turn the flash debugger on and I don't see any event being populated after making the selection from the hierarchy (in fact, nothing happens). I did try to just use the simple form to map the filter and nothing happens as well; the form input field is blank.
    Can you please shed some light as to what I might be missing?  Any help is greatly appreciated!!

    Hi Jamie,
    interessting issue. A collleague told me the same issue a few days ago. He also told me that this could be caused by the Web API. We are investigate at the moment if this issue is an result of the Web API which is not offical support by SAP under SAP NetWeaver 7.0. (Now you should use the BICS (BI Consumer Services).)
    Can you give me the information which SPS do you use?
    We are using SPS 12 at the moment and also have some problems.
    Best Regards,
    Marcel

  • Sales Header and Item integration issues.

    Experts,
    If I integrate 2LIS_11_VAHDR and 2LIS_11_VAITM into an ODS:
    Issues:
    1) If I make my SO # as a Key Field: then I cannot capture all my item level details since they will be overwritten as the key is just SO #.
    2) If i make both SO # and SO Item # as key fields: I can capture all my item details with out any problem since VAITM will have both SO # and SO Item # but how do I capture specifically header details as header DS does not have SO Item   #
    Please help me out
    thanks

    Hi Hari,
    Can u be more specific on your requirement so that we can help u..?
    Mahendra

  • WebLogic 7 and ANT

    Has anybody successfully gotten the WLRUN task to start WebLogic 7.0? It
    complains of not knowing where my config.xml file is, even though the path
    it complains about is the correct one. I'm running JDK 1.3.1 in a Windows
    2000 environment with WebLogic 7.0.
    Thanks!
    Dustin

    Has anyone solved this one yet? I can't even track down decent documentation for
    wlrun on WL7.0. It seems to me that the WL file structure has changed a fair
    bit, and I can't get it to build the path values correctly.
    "Dustin N. Jenkins" <[email protected]> wrote:
    Has anybody successfully gotten the WLRUN task to start WebLogic 7.0?
    It
    complains of not knowing where my config.xml file is, even though the
    path
    it complains about is the correct one. I'm running JDK 1.3.1 in a Windows
    2000 environment with WebLogic 7.0.
    Thanks!
    Dustin

  • Weblogic agent and SAM integration

    Hi all,
    after configuring everything as mentioned in the documentation I'm still getting an excetion:
    F:\SJS_Weblogic_9_agent_2.2\j2ee_agents\am_wl9_agent\bin>agentadmin --getUuid an
    dy user sun
    Failed to create debug directory
    Failed to create debug directory
    Failed to create debug directory
    Failed to create debug directory
    Failed to create debug directory
    01/17/2007 01:15:37:156 PM GST: Thread[main,5,main]
    DataLayer: number of retry = 3
    01/17/2007 01:15:37:156 PM GST: Thread[main,5,main]
    DataLayer: retry interval = 1000
    01/17/2007 01:15:37:156 PM GST: Thread[main,5,main]
    DataLayer: retry error codes = []
    Failed to create debug directory
    01/17/2007 01:15:37:203 PM GST: Thread[main,5,main]
    AdminUtils: Could not initialize admin info message: Got LDAPServiceException c
    ode=19
    01/17/2007 01:15:37:203 PM GST: Thread[main,5,main]
    Crypt.static{}: Encryptor class= com.iplanet.services.util.JSSEncryption
    Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/jss/crypt
    o/KeyGenAlgorithm
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.iplanet.services.util.Crypt.createInstance(Crypt.java:133)
    at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:103)
    at com.iplanet.am.util.AdminUtils.getAdminDN(AdminUtils.java:106)
    at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:166)
    at com.sun.identity.sm.DNMapper.<clinit>(DNMapper.java:59)
    at com.sun.identity.idm.AMIdentity.<init>(AMIdentity.java:135)
    at com.sun.identity.agents.tools.handler.GetUniversalIdHandler.handleReq
    uest(GetUniversalIdHandler.java:120)
    at com.sun.identity.agents.tools.admin.AgentAdmin.dispatch(AgentAdmin.ja
    va:251)
    at com.sun.identity.agents.tools.admin.AgentAdmin.run(AgentAdmin.java:15
    2)
    at com.sun.identity.agents.tools.launch.AgentAdminLauncher.launchAdminTo
    ol(AgentAdminLauncher.java:204)
    at com.sun.identity.agents.tools.launch.AgentAdminLauncher.main(AgentAdm
    inLauncher.java:308)
    Do you where is the missing class and to which class path I should add it?
    Thanks in advance

    I'm getting the below exception. It seems like weblogic can't initialize the idm service. Any idea?
    SSOTokenValidator: validate failed with exception
    [AgentException Stack]
    com.sun.identity.agents.arch.AgentException: Invalid transport string
         at com.sun.identity.agents.util.TransportToken.initializeFromString(TransportToken.java:158)
         at com.sun.identity.agents.util.TransportToken.<init>(TransportToken.java:130)
         at com.sun.identity.agents.common.SSOTokenValidator.validate(SSOTokenValidator.java:120)
         at com.sun.identity.agents.realm.AmRealm.authenticate(AmRealm.java:149)
         at com.sun.identity.agents.weblogic.v9.AmWLLoginModule.login(AmWLLoginModule.java:137)
         at weblogic.security.service.DelegateLoginModuleImpl$loginDelegateAction.run(DelegateLoginModuleImpl.java:169)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.security.service.DelegateLoginModuleImpl.executePriv(DelegateLoginModuleImpl.java:121)
         at weblogic.security.service.DelegateLoginModuleImpl.login(DelegateLoginModuleImpl.java:86)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at weblogic.security.service.PrincipalAuthenticator.authInternal(PrincipalAuthenticator.java:412)
         at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:352)
         at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceManagerDelegateImpl.java:780)
         at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:893)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:775)
         at weblogic.security.SecurityService.start(SecurityService.java:133)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Best regards

  • IPhoto 6 and Spotlight Integration Issues

    I have just upgraded from 10.3.9 to 10.4.8 and upgraded from iLife 05 to 06. I was playing around with Spotlight and clicked on an image it found that is located in iPhoto. iPhoto opened but instead of going to the photo it displays the first photo in the library, almost like it can't find anything that Spotlight passes and defaults to the first photo.
    I've had iPhoto since version 4 and have about 3800 photos. I've tried a few other photos in Spotlight and occasionally it finds a photo but if a search for the next photo it will display the previous photo.
    I've initiated Spotlight index rebuilds. Spotlight finds the images in iPhoto 6 fine but iPhoto can't seem to find the photos. Maybe the data Spotlight is sending to iPhoto is wrong or something is amiss in iPhoto.
    I've posted a similar question in the Spotlight forum but the advise has not worked. I'm hoping the iPhoto experts in this forum may have some insight.
    Thanks for any help
    iBook G4   Mac OS X (10.4.8)   1.25m, 60gig, Superdrive

    Sorry to hear that. I updated my blog and added a complete version of Info.plist that you can download.
    Try again, if you like.
    Cheers

  • P6 8.3 and Unifier integration issue.

    I had enter correct unifier URL,company short name and authentication key in P6 application setting page.
    Then i selected  Action >Project Set preferences>Primavera Unifier and selected "Link Project to Primavera Unifier Project"
    After that when i select search unifier project new window is opening but i am not seeing any of unifier project.
    But 2 unifier project are avaliable in unifier.
    Please help

    What is the URL you entered? Make sure it is just the host and port like http://host:port. Save it and then retry and let me know if that works
    Regards,
    Sachin Gupta

  • IPTV and ACNS integration issue

    I have a new IPTV/ACNS 5.1 implementation and am trying to create programs that will be distributed thru the ACNS network. I have configured all items as stated in the install & config guides, but when I got to add a program in IPTV, when I click the button "Select Website" under the ACNS Network Information section, it tells me that there are "There are no web sites with
    valid channels."
    I have created all the different types of channels, live, non-live unicast/multicast/both with all options, but none of them change the response. What gives?
    Thanks in advance
    Loy

    I'm going through the same thing. I was able to solve that particular problem by creating an ACNS channel and assigning a root ce and regular ce to the channel.

  • Jdeveloper and ant

    hello,
    i need execute ant script before create EAR and WAR file
    i found the option in the project war properties ant xml execute but the build.xml don't run ,
    any ideas for jdeveloper and Ant integration ?
    the use case this i want create a properties file with svn version.
    thanks!!

    <?xml version="1.0" encoding="windows-1252" ?>
    <project xmlns="antlib:org.apache.tools.ant" default="generar">
    <path id="path.svnant">
    <pathelement location="libs/svnant/svnant.jar"/>
    <pathelement location="libs/svnant/svnClientAdapter.jar"/>
    <pathelement location="libs/svnant/svnjavahl.jar"/>
    <pathelement location="libs/svnant/svnkit.jar"/>
    <pathelement location="libs/svnant/ganymed.jar"/>
    <pathelement location="libs/svnant/jna.jar"/>
    </path>
    <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="path.svnant"/>
    <target name="find_revision" >
    <property name="directorio" value="${buildir}"/>
    <!-- find out revision number of HEAD, need svn.exe installed on local machine -->
    <exec executable="svn" outputproperty="svnlog.out">
    <arg line="log ../"/>
    </exec>
    <echo>${homedir}</echo>
    <echo>${svnlog.out}</echo>
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
    <classpath>
    <pathelement location="libs/svnant/ant-contrib-1.0b3.jar"/>
    </classpath>
    </taskdef>
    <propertyregex property="revision.number" input="${svnlog.out}" select="\1">
    <regexp pattern="r([0-9]*)"/>
    </propertyregex>
    <echo file="src\org\sidoc\common\BuildInfo.java">
    package org.common;
    public class BuildInfo {
    public static final String revisionNumber="${revision.number}";
    </echo>
    </target>
    </project>
    works!

  • OES and WebCenter Integration And PEP API Issues

    Hi All,
    Currently we want to develop a WebCenter app which will check Authentication Policy in Oracle Entitlement Server using PEP API.
    We encountered some issues, and have following questions:
    1. According to PEP sample API, seems the PEP client application could only connect to the OES which is deployed on the same container context (same WLS domain).
    Is that possible for our PEP client application to connect to OES which is deployed on a different WLS domain or even remote WLS?
    2. Currently we deployed our WebCenter Spaces and OES on different WLS domains, is this a common pattern for WebCenter and OES integration?
    We got following error while starting up OES, after we try deploying OES 11.1.1.5.0 and WebCenter Portal 11.1.1.6.0 together on a WLS (10.3.5) domain.
    Any ideas? Thanks in advance.
    Thanks,
    Nicholas
    Caused By: oracle.mds.config.MDSConfigurationException: MDS-00035: cannot load the class: oracle.security.apm.rgx.mds.cust.SiteCC.
         at oracle.mds.config.CustConfig.getCustClassList(CustConfig.java:365)
         at oracle.mds.config.CustConfig.loadFromBean(CustConfig.java:277)
         at oracle.mds.config.CustConfig.<init>(CustConfig.java:242)
         at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:781)
         at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:848)
         at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:491)
         at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:438)
         at oracle.mds.internal.lcm.deploy.DeployManager.deploy(DeployManager.java:516)
         at oracle.mds.internal.lcm.deploy.DeployManager.startDeployment(DeployManager.java:204)
         at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:215)
         at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:77)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Finally I found the error I got was because of the wrong version of JDeveloper and WebCenter extension.
    Portal apps which created by JDev 11.1.1.6.0 are not able to run on WebCenter 11.1.1.1.5, while the ones created by JDev 11.1.1.1.5 with WC extension 11.1.1.4.0.120306 work.
    Looks like it's not a good idea to mix FMW products of different version in a single project.

  • Weblogic and ANT

    i am just a bit angry
    first i tried out the ejbc task from ANT but at the classpath defenition i got my first problem, a string ? no support for a classpath element, why ? (i think it isn't from bea, is it?)
    afterwards i tried the wlcompile task but i could not find in the documenation (http://e-docs.bea.com/wls/docs81/programming/environment.html#1100175)
    the taskdef for this command, so i did it manually
    afterwards i got : "The <wlcompile> type doesn't support the nested "javac" element."
    Ok .. who wrote this documenation? (yes i use the right version)
    So i will not touch anymore those task, maybe in future the ant support is a bit better.
    (I (pre)apologise me for possible mistake of my side)

    As far as I know, rmic doesn't know anything about a "file" system property. Is
    there some reason you expect this to do something special?
    Kunjan Jhaveri wrote:
    I am trying to call weblogic.rmic compiler through a ant script and was
    sucessful in doing so and generating the stubs and skelton for my RMI
    implementation.
    But i also want to pass a system property value (in the example i am passing
    file=stdout using -D to java) to weblogic.rmi compiler and don't know how to
    do that.
    Any help will be greatly appreciated...
    Thanks
    Kunjan Jhaveri
    781-372-3965
    [email protected]
    PS: Script enclosed.
    <target name="local.genStubs" depends="local.compile">
    <java classname="weblogic.rmic" fork="yes" failonerror="yes">
    <jvmarg value="-Dfile=stdout" />
    <arg value="-classpath" />
    <arg value="${WL_HOME}${file.separator}lib${file.separator}weblogic.jar" />
    <arg value="-d" />
    <arg value="${SRCDIR}${file.separator}build${file.separator}classes" />
    <arg value="com.ehealthdirect.ee.kernel.EEMutexManagerImpl" />
    <classpath>
    <pathelement
    path="${WL_HOME}${file.separator}lib${file.separator}weblogic.jar" />
    </classpath>
    </java>
    </target>

Maybe you are looking for

  • How do I alter a PDF stored in my documents

    I have an IMac.  I created and scanned a resume into my documents.  How do I edit or must I retype

  • Any way to edit words in spell checker?

    Since updating to ios5, my spell checker no longer recognizes my name when I type it in a message and tries to change it.  Any way to edit the words in the spell checker list so that it will again recognize my name?

  • Repeating problems (1) Many Missing Files; and (2) Downloading From iTunes

    I am having multiple issues with the iTunes store currently. I have spoken with an Apple Expert on August 14, 2010 (case number available if needed). Although he was very good at helping me to the best of his ability, he referred me to iTunes Store C

  • Disabling print options

    Hi, I am faced with a problem where we are trying to publish a multi-page document to our customers. The customers should be able to open the document and print it. However, we want to make sure that they print all pages and not be able to selectivel

  • Resolution in B&W

    When I set my Niikon D200 to RAW B&W (in order to test resolution in comparison to color images), the image does indeed display (on the camera) in B&W; but when I get it into Photoshop Elem's 5 - it shows up in color! Also, the metadata box gives the