Please help - Deploy portlet to portal server (windows)

Where can I find the psadmin commandline utility?
I installed JES 2005Q4 on windows XP.
Thanks

psadmin is part if PS7 and JES2005Q4 on windows has PS 6.3 so for deploying portlets pdeploy can be used and it is in <JES_InstallDir>/PortalServer/bin
pdeploy deploy -u <amadmin> -w <adminuser> -p <adminuser> -g <war file name with full path>
the war file has to be given with its full location

Similar Messages

  • Error occured when deploy portlet to portal server 6.3

    I was using pdeploy tool to deploy a portlet, in the commandline I received this message: errorStoreDP <sms-UNKNOWN_EXCEPTION_OCCURED>.
    checking the pdeploy.debug, here is the detailed message:
    SMSException Exception Code:5
    Message:sms-UNKNOWN_EXCEPTION_OCCURRED
    The lower level exception message
    The user does not have permission to perform the operation.
    The lower level exception:
    SMSException Exception Code:8
    Message:The user does not have permission to perform the operation.
    The lower level exception message
    error result
    The lower level exception:
    netscape.ldap.LDAPException: error result (50); Insufficient 'write' privilege to the 'sunserviceschema' attribute of entry 'ou=1.0,ou=sunportaldesktopservice,ou=services,dc=fccj,dc=org'.
    ; Insufficient access
    thanks

    Hi,
    I am sorry but I really don't have answer for the problem I mentioned in this thread.
    First of all, what I installed was 2005Q4 for windows.
    It's been working for me once a while, then I think I re-deployed
    a portlet without undeploy it or vice versa.. then i received
    that error. In the end I removed 2005Q4 from control panel and
    re-install that thing using another set of ID/PWD. I've been repeating this several times, sometimes it works, sometimes not.
    I even wipe out my hard drive once a time to re-install the OS then 2005Q4.
    it's painful. I talked with JES support staff, they said there are bugs
    on 2005Q4 but they have them addressed in version 7...
    After you remove it from control panel, make sure run regedit to see
    all JES related entries have been removed from HKEY-LOCAL-
    MACHINE/Software.
    I don't have this problem anymore since I got an Unix box, so far
    2005Q4 seems to be working fine on Unix.
    hope this can help

  • I was trying to set Adobe Reader 11 as default PDF viewer on my client PCs, Please help me this. My server is windows 2012 R2 and client PCs are Windows 8.1

    I was trying to set Adobe Reader 11 as default PDF viewer on my client PCs, Please help me this. My server is windows 2012 R2 and client PCs are Windows 8.1

    Hi Krisis,
    I have found a forum where similar query was answered. Hope this helps.
    http://www.loginvsi.com/forum/support-v4/857-adobe-reader-xi-not-set-as-default-pdf-viewer -in-server-2012-r2-rds
    Regards,
    Anoop

  • Regd Logoff URL (.html) - deployed into same portal server

    hi all,
    we've configured spnego. and i want to redirect the logoff url to another some url with logoff.html. i've done this using some other server and it works fine.
    now i want to redirect the logoff url which is deployed in same portal server itself! how do i do it?
    i want http://<portalserver>:<port>/logoff.html - is this possbile please let me kknow if yes!
    tnx, JB

    Have you tried using a URL alias in this case ?? Create a url alias with the name logoff (under web.xml) , create a desktop (in system admin) with a theme and framework page . Create a KM doc iview out of your html file and put it under the framework page  . Make only this iview visible . Configure main_rules file so that when you access http://portalserver.port/irj/portal/logoff it points to the desktop .
    Now in browser when you type http://portalserver.port/irj/portal/logoff you will get the HTML page . I am sure this will work as i have done this before . Try this much , If this works then try placing the link - http://portalserver.port/irj/portal/logoff in config tool and see if that works which i think it should . If your client is too particular about logoff.html then you can try creating an alias with the same name and see if its allowing you to do the same . I am not sure about logoff.html as an alias but as far as my experience goes logoff with the above steps should do the trick .
    Check this help link for more details - http://help.sap.com/erp2005_ehp_04/helpdata/EN/6e/8590f1d6d349c9adc34c6a8085189b/frameset.htm .
    Regards
    Mayank
    Edited by: Mayank Mehta on Jul 4, 2010 1:19 PM

  • My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    In the Music tab of iTunes, do you have 'Include Voice Memos' checked?

  • Everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    Hello there Unicornbarf534,
    Thank you for using Apple Support Communities.
    It sounds like you are unable to successfully install iTunes. I recommend the troubleshooting instructions in this article named:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Here is a general outline of where the troubleshooting will take you:
    General installation troubleshooting
    1. Empty your Temp directory and restart
    2. Completely remove iTunes and related components
    3. Install the latest version of iTunes
    Additional troubleshooting
    After performing each of the steps below, you will need to completely remove iTunes and related components and then install iTunes again to determine whether the issue is resolved.
    1. Make sure you have administrator account access
    2. Make sure your folder names don't contain strange characters
    3. Get the latest Windows updates
    4. Disable other conflicting software
    Additional Information
    If you only need to install QuickTime, or if iTunes installs but QuickTime installation did not complete
    Try downloading and installing the standalone version of QuickTime from http://www.apple.com/quicktime/download/. Be sure you download the version that does not include iTunes.
    If the steps outlined in this article don't help, you may be able to find a solution to your issue by searching the Microsoft support website.
    All the best,
    Sterling

  • Creator2 JSF implementation in portlets deployed to Sun Portal Server 6.2

    Hi all,
    I have a portlet created with Sun Java Studio Creator 2 EA2 and I want to run it on Sun Portal Server 6.2. It works fine with standard JSF implementation (a corrected version, where web.xml replaced with a simple version for standars JSF without pluto servlet) but it throws the following exception with the com.sun.web.ui.* implementation:
    [#|2005-11-26T19:24:43.822+0100|SEVERE|sun-appserver-ee8.1_02|javax.enterprise.system.container.web|_ThreadID=13;|WebModule[/UserInfoPortlet]com.sun.web.ui.component.Form
    javax.faces.FacesException: Can't instantiate class: 'com.sun.web.ui.component.Form'.
            at com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:728)
            at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:352)
            at com.sun.faces.config.ConfigureListener.verifyObjects(ConfigureListener.java:1068)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:342)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
            at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
            at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
            at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1298)
            at com.sun.enterprise.web.HttpServiceWebContainer.loadWebModule(HttpServiceWebContainer.java:818)
            at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1025)
            at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
            at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
            at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
            at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
            at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
            at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
            at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
            at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
            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 com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
            at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
            at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
            at $Proxy1.invoke(Unknown Source)
            at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
            at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
            at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
            at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
            at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
            at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
            at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
    |#]My test was the sample web application described at http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/learning/tutorials/portlets.html . In the working standard test application I put portlet.jar and jsf-portlet.jar into the .war file, in the extended JSF implementation I put com-sun-web-ui-appbase.jar and webui.jar too.
    Has anybody used it or knows the solution?
    Thanks,
    Jozsef Borcsok

    A Free 90-day trial of Sun Java[tm] Studio Enterprise 7 is available for the Solaris and Windows platforms in three languages - English, Japanese, and Simplified Chinese.
    http://www.sun.com/download/products.xml?id=41ba2d7f
    Sun Java Studio Enterprise 7 2004Q4, File 1, Multilanguage (jstudio_ent_04Q4-ga-win-1.zip, 329.44 MB)
    Sun Java Studio Enterprise 7 2004Q4, File 2, Multilanguage (jstudio_ent_04Q4-ga-win-2.zip, 371.50 MB)

  • Please help...i have a windows 2012 server and it keeps closing after 30 mins...

    hi. i have a windows 2012 server and it keeps closing after 30 mins...i am connected thru RDP and have looked everywhere online for a tutorial to change the setting that keeps closing it but can't find it anywhere! please help!

    Hi,
    Thank you for posting in Windows Server Forum. 
    Have you check the timeout and reconnection setting for RDP?
    Does disconnection happens on active session or Idle session? 
    We can configure the setting by collection properties or by GPO setting.
    On collection Properties check the Timeout Tab and set the setting according to your requirement. On GPO we can find this setting on below mention path and check according to it.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits 
    User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits 
    You can check Configuration 1 Part from below article.
    [Forum FAQ] Restrict number of Active Sessions in RDS 2012 and 2012 R2
    http://social.technet.microsoft.com/Forums/en-US/00c2252b-8ec0-489f-8da2-07a434a9b5a2/forum-faq-restrict-number-of-active-sessions-in-rds-2012-and-2012-r2?forum=winserverTS
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Portlet error (portal server 6.3)

    I created a portlet, it is deployed using pdeploy, then I created a channel and put it under JSPTabcontainer using Access Manager. I keep getting this error in the portal server :
    ERROR: ProviderCaller.run(): exception thrown from TestPortlet
    com.sun.portal.desktop.context.ContextError: couldn't fetch content
         at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:180)
    Thanks a lot.

    To deploy the portlet, I put the .war file under sun/portalserver/tmp/portlet (the folder where portletsamples.war located), then run the pdeploy utility to deploy it and it was successful.
    The thing puzzles me is, my portlet has couple of .jsp pages and some jar files that I referenced, I am assuming they shoud be installed somewhere under portalserver but I could not find anything by doing a search. Is this normal?
    Thanks
    Mike

  • Please HELP !!! WEBLOGIC server is very slow in responding

    I have just deployed a war file on my weblogic server 11g(10.3.0) and it takes a long time to process the request. What could be the possible issue? I have Jrockit as my jvm.
    Please HELP!!!

    Hi user9021545
    There are so many possible scenarios of such slowdown such as:
    -     Slow downstream system response from your application (database, web service provider etc.)
    -     Slow compilation/class loading process. Can be observed for the first request and depending of the size of your application and system specifications
    -     Sub optimal start-up JRockit VM arguments / Java Heap too small etc.
    -     Sub optimal physical server resources such as running low on native memory, quite important for a JRockit VM
    -     Network contention between your client request and WLS server and/or between WLS and your downstream systems etc.
    As a starting point can you please provide the following:
    - Generate and share a Thread Dump data snapshot during slow request response time and share the Thread Stack Trace currently executing your slow responding request
    - Provide your JRockit VM start-up arguments
    Regards
    P-H
    http://javaeesupportpatterns.blogspot.com/

  • Safari 5.1.5 on PC. Windows 7 64 bit. My favorite browser is not working. Please help. I keep getting a window in the middle of a page saying ''Safari has stopped working'''''

    Hello.
    My favorite browser Safari (5.1.5 ) has stopped working. Yes I know is on a PC. But is been very good to me for a long time, untill about two months ago. I keep getting a pop up message saying "Safari has stopped working" I will close the pop up message and continue working but within a few minute, the message will pop up again. The browser opens up fast as always and runs fine but the message is a pain and annoying. I'm running Firefox now , but I want my Safari back . Please help.
    Jonasfromdc

    Thanks. b noir. For the quick reply post.
    b noir wrote:
    Fingers crossed, your Windows 7 will have been recording some additional information about those.
    First, open your Action Center and expand "Maintenance". Click "View reliability history":
    Once the reliability report has been generated, look for Critical events for Safari generated at the time of the "Safari has stopped working" messages. Doubleclick the name Safari in the critical events. (Don't click View solution.) Here's a screenshot showing what to doubleclick:
    You should see something that looks like the following screenshot:
    Copy and paste the contents of the problem report into a reply here. For example:
    Description
    Faulting Application Path:          C:\Program Files (x86)\Safari\Safari.exe
    Problem signature
    Problem Event Name:          BEX
    Application Name:          Safari.exe
    Application Version:          5.34.55.3
    Application Timestamp:          4f6ba239
    Fault Module Name:          StackHash_7100
    Fault Module Version:          0.0.0.0
    Fault Module Timestamp:          00000000
    Exception Offset:          7d3a1240
    Exception Code:          c0000005
    Exception Data:          00000008
    OS Version:          6.1.7601.2.1.0.256.1
    Locale ID:          2057
    Additional Information 1:          7100
    Additional Information 2:          710027e7a8d30022e5e0ee529f40121f
    Additional Information 3:          5158
    Additional Information 4:          5158ee4164428f7b514a5e7ee9654f7c
    Extra information about the problem
    Bucket ID:          2871481836
    I generated the problem report similar to the above screen shot " by way of IE 9 "  but will not let me copy and paste the contents as a screen shot in reply to your post here . Copy to clipboard did not work either. I might be doing something wrong. Oh well.
    By the way , the only difference is- The Problem Event Name of mine is not BEX. but rather : APPCRASH. Fault Module Name : JavaScriptCore.dll.  Fault Module Version: 7534.55.2.1. The rest are very similar to the above screenshot. If you need more information then I guess I have to do it  all manually. Please let me know. Thanks again.
    Jonasfromdc.

  • Please help: deploy Bean with "No resource available" error for M:N relationship

    Hi all,
    I wonder any one comes across with deploying beans with M:N relationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) at weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) at weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) at weblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failed while
    creating its SQL Type Map. The error was: Invalid object name 'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Error encountered
    while attempting to create Default DBMS Table: 'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource s available'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationship-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

    Hi Gaurav,
    Other applications used the same the datasource, which I used for this application,
    are running fine.
    I think there is some bug in the wlserver 6.1 to create the join table. I think
    it is the time I should ask the bea wlserver 6.1.
    Mike
    "Gaurav Khanna" <[email protected]> wrote:
    This implies that there are no database connections available. You need
    to
    check if you can log into your database instance. By default there are
    30
    connections specified for an instance in Oracle. FYI.
    "Mike" <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    I wonder any one comes across with deploying beans with M:Nrelationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) atweblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) atweblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) atweblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) atweblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) atweblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) atweblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failedwhile
    creating its SQL Type Map. The error was: Invalid object name'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Errorencountered
    while attempting to create Default DBMS Table:'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource savailable'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationshi
    p-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship
    -role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

  • Please help. my computer is hp with windows vista 32 bit. I can't installe itunes . not the new one or and old one. i have try to uninstalle itunes and reinstall itunes again but it didn't work. please help

    please help. my pc is a hp with windows vista 32 bit. I can't install itunes 10,5. I have try to remove my old itunes and reinstall but it didn't help. I have install itunes 9.1.1 but the itunes library can't be read because it is on a new itunes. I hope someone can help. I'm lost.

        Deauthorize all of your computers and authorize the computers you use.
        http://support.apple.com/en-us/HT6283
      A new Mac comes with 90 days of free tech support from AppleCare.
      AppleCare: 1-800-275-2273
    Best.

  • Please help!!! Cannot run Windows Update in Win 7 Pro after changing new hard-drive. (X201s)

    Hi everyone,
    I have been using my thinkpad x201s for more than one year by now. And recently I change a new and larger hard drive for my laptop. When I tried the thinkpad rescue and recovery disc on the new hard drive, everything works fine except that I cannot run Windows Updates after the installation was finished.  The recovery DVDs were burned directly from the original image stored in the computer when the first I received my laptop last year.
    Every time when I try to run the Windows Update, it shows the following: "Windows Update cannot currently check for updates, because the service is not running, you may need to restart your computer."
    I restarted my computer later but nothing changed. Can't run Windows Updates and can't even install IE9.
    I then moved back to my old hard drive and everything is normal, no problem with Windows Updates. I also tried to create a back-up image by running win 7 Backups and Restore. Later when I changed back to the new drive and followed the instructions to restore my system from the image I created earlier in a USB drive, it worked except that still the system can't run Windows Updates program.
    I'm now getting very confused and upset, is it something to do with the software copyright? It's been a week now and I tried to Google the similar problem but no solutions work here. All I want to do is moving my current system to the new hard drive so that I can continue to use my laptop but it just failed updating every time.
    Could anyone kindly tell me what to do when changing hard drive in order to avoid the problem I'm dealing with? Sorry I'm not a pro type user and just want my laptop to work appropriately.
    My warranty has already expired so I guess the Lenovo Technical Hotline wouldn't answer my questions anymore. Please help!! Much appreciated.
    Thanks so much in advance!!

    I'm not sure this is the issue, but from your description, it seems as though all you have to do is activate the windows update service. If I were you, I'd search for "Services" in the start menu, open it and look for "Windows Update". Check in its properties that it is set to "Automatic (Delayed)", if it isn't, set it, and start the service, you should then be able to check for updates, be careful though that none of your other programs aren't stopping the service, usually these programs are there to "optimize your performance" or "boost your system",...
    Hope this helps.

  • Please help: problem configuring a SQL server datasource in Websphere.

    I am using Rational Developer 6 and its integrated testing server (websphere v6). When configuring a data source for SQL server, I did the following steps in admin console of the test server:
    1. Created a JDBC provider, using WebSphere embedded ConnectJDBC driver for MS SQL Server;
    2. Created a datasource under the previously created JDBC provider, filled in the server name, DB name and port number (1433 for SQL server);
    3. Created a J2C authentication alias that has the login info of SQL server;
    4. Assigned the created J2C alias to both component and container managed authentication alias;
    However, when I click "Test Connection", it always gets back to me with an error "java.lang.Exception: java.sql.SQLException: [IBM][SQLServer JDBC Driver]Error establishing socket. Connection refused: connectDSRA0010E: SQL State = 08001, Error Code = 0.".
    My ultimate goal is to configure a SQL server datasource so that I can configure Kodo to use this datasource.
    Can some one please help? Thanks in advance.

    Try this:
    http://www-1.ibm.com/support/docview.wss?uid=swg21210871
    I am yet to test this. I am going to download latest SP for SQL Server 2000 and install it. I hope it will do the magic.

Maybe you are looking for