Deploy MHPTester server to JBoss

Hi,
I have been trying to deploy MHPTester server to JBoss for a while but always got failed. Has anyone ever run it successfully before?
The version of MHPTester server which I am using is 1.0.2; the JBoss is 4.2.1 GA. MHPTester can be compiled well. But when I deployed to JBoss, it showed error messages as following.
"status: Deployment FAILED reason: Error in ejb-jar.xml for Entity Bean mhptester_server/ResultDBBean: The ejb-name for a CMP2.x Entity must be a valid Java Identifier."
Prior to that error message, I also found another error thrown by JBoss. It said,
"Failed to parse WEB-INF/jboss-web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: ejb-ref ejb/webtest/TestSession found in jboss-web.xml but not in web.xml)"
Shall I use an old version of JBoss to avoid the mistakes above? I have tried to install 3.0.4, but somehow it couldn't run it on my machine (Windows XP).
Many thanks for your attention.
Cheers,
Charles

Hi Dejan,
i think the Information Provided here:
http://otn.oracle.com/products/jdev/htdocs/readme_9031.html#juan
should solve your problem.
Regards,
Christian

Similar Messages

  • How to deploy JavaHelp server help demo on JBoss?

    I tried JavaHelp's server help demo on tomcat it worked fine. I was able to view all the help docs. But I need to change the configuration for the demo to work on JBoss-4.0.1. I deployed the content on Jboss but when running the index.jsp, I got this error. What am I missing? Do I need to change the implementation or what? Any input is appreciated.
    org.apache.jasper.JasperException: File "/jhlib.tld"; not found
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:159)
           org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)

    BPEL Console is for deploying BPEL projects. And when you talking about war file, those are web archive files, application server specific. Please refer to the Application Server document for deploying war files. Like for OC4J, you can do the same via Enterprise Manager.

  • Error while deploying jar file in jboss

    Hi,
    I am trying to deploy a jar file in jboss, i have copied the jar in jboss_home/server/default/deploy/ directory. and i am getting the following errors while starting the jboss server.
    ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
    0.5.GA/server/default/deploy/AdminServiceBean.jar
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
    d, see above for error messages.
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
    or.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
    BeanOperationInterceptor.java:142)
    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
    .java:97)
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
    rServiceMBeanSupport.java:238)
    at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
    erceptor.java:74)
    at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(Deployer
    InterceptorEJB.java:44)
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
    create(SubDeployerInterceptorSupport.java:180)
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
    ptor.java:91)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy26.create(Unknown Source)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
    or.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
    BeanOperationInterceptor.java:142)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy8.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:421)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:634)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
    bstractDeploymentScanner.java:336)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
    upport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
    eanSupport.java:245)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:978)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:417)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
    or.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
    BeanOperationInterceptor.java:142)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
    at org.jboss.Main.boot(Main.java:200)
    at org.jboss.Main$1.run(Main.java:490)
    at java.lang.Thread.run(Thread.java:595)
    can anyone please help me on this
    Thanks,
    Malert

    Hanif,
    Check this wiki's,
    http://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(Deploy)Problems-P29
    http://wiki.sdn.sap.com/wiki/display/JSTSG/(GP)CannotDeployGPContent-WrongManifestFileAttributes
    Good Luck!
    Sandeep Tudumu

  • Deploy JSF Application in JBOSS

    hello everyone,
    can anyone tell me where to place the JSF jar files and other like faces-config.xml, web.xml in JBOSS.

    I assume you mean WAR file when you say "JSF jar" as opposed to the JSF libraries.
    Your faces-config.xml and web.xml should be in the WEB-INF folder of your WAR file.
    Your WAR file should be placed in the "deploy" folder of your JBoss profile folder. Typically something like:
    (JBoss Install Dir)/server/default/deploy
    That should get you going.

  • Deploy BI Publishe on JBOSS

    Hi all
    Pelase help me resolve the folowing problem
    I'm trying to deploy BIP on JBOSS ( as part of BIEE)
    folowing the instructions in the guide , I copied the WAR file to the deploy library on the JBOSS , as it is a simple deployment
    the JBOSS created a deployment directory under ..../tmp/deploy/tmp41450xmlpserver-exp.war
    in the guid i have to chage also the xml-server-config.xml abd replace the location of the XMLP directory parameter
    after doing this I have to restart the JBOSS
    in which case the JBOSS overwrites the delpoyed directory in
    ..../tmp/deploy/tmp53565xmlpserver-exp.war
    so i cant get the file fixed
    is it possible to deploy the WAR file as expoded in the deploy directory on the JBOSS and then I can change the file in the deploy directody before it gets to the tmp .
    Regards
    igal

    Sounds like some class loading order. Did you disable the ADF components in your AS?

  • Error while Deploying Monitoring Server Reports!

    Hi,
    Trying to install the monitoring role with reporting services but must have missed one or several steps! :)
    Have 1 standard edition server and 1 server running Lync monitoring and SQL (that I installed myself, hopefully correct)
    Have installed SQL with instance LYNCSQL\LYNSQL (also checked the reporting services feature)
    Have intalled the Standard Edition server
    Have installed the Monitoring role
    Now I want to "Deploy Monitoring Server Reports" from the Lync Server Deployment Wizard.
    Specifying Monitoringserver with FQDN (the same server as the acctual SQL server)
    Specifying LYNCSQL\LYNCSQL as the Instance\InstanceID
    Specifying the systemaccount that I added during the SQL server installation
    Don't specifying any usergroup
    Receiving the following error:
    Could not get objects from namespace root\Microsoft\SqlServer\ReportServer. The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)Cannot get the ReportServerWebService
    URL. Verify that Reporting Services is deployed and configured properly on the target SQL instance:"LYNCSQL\LYNCSQL", and that WMI is included on the exception list of firewall setting on the server that is running Reporting Services.Invalid parameter
    Windows Firewall is Off!
    SQL Server 2008 x64 SP2
    When looking in the Lync Server Console I see green status of Standard Edition and the Monitoring Server, but from my LYNCSQL\LYNCSQL i have status of N/A.
    Where to start? :)
    Update:
    Logged on to the Reporting services configuration manager and here are the settings:
    Use Built in Account: Local System -> correct or should it be sys.lyncsql as I mentioned before?
    Virtual Directory: ReportServer_LYNCSQL
    URL:  http://servername:80/ReportServer_LYNCSQL
    SSL: Not Selected

    Hi,
    Firstly, you need make sure Web Service URL and Report Manager URL could be opened in both Lync FE and SQL server.
    If prompt authentication chanllenges you have to change the built in account with "Network Service".
    Furthermore, make sure firewall is turned off when troubleshooting to rule out ports and connection issue.
    Update let us know.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Hi Ben,
    I have a similar problem where I cant deploy reports. Also, I´m prompted when trying to access /Reports and /ReportsServer using IE on reporting services server.
    What do you mean with change the built in account with "Network Service ?
    Chech my thread:
    http://social.technet.microsoft.com/Forums/en-US/ocsmonitoring/thread/7e213177-9e61-4859-b2a8-301813c4298d
    Best regards, Daniel
    www.twitter.com/danielullmark

  • How do I determine in Java if running local or deployed weblogic server

    Using JDeveloper 11.1.1.4.0
    I need to determine in my Java code, if I am running my application locally (JDeveloper/Weblogic) or if the application is running on a deployed Weblogic server. The code will be used to determine where to place files when testing on PC verses where to place files when deployed. For example (c:\temp or /usr2/upload).
    Thanks,
    Troy

    Hi,
    well one way is to identify using weblogic system properties here is the one example to get weblogic managed server name of application running in java http://www.baigzeeshan.com/2011/11/oracle-adf-how-to-get-managed-server.html
    check other properties as well http://docs.oracle.com/cd/E13222_01/wls/docs90/config_scripting/config_WLS.html#1019588
    Zeeshan

  • Issue when trying to deploy Monitoring Server Reports on Deployment Wizard

    Hi all.
    I have to install the Monitoring Server Role on a server that already has the Lync Server 2010 up and running.
    I'm new to Lync Server so my experience with the product is limited, so I need some help with an issue.
    I followed the Deployment Guide and for now I managed to do the following:
    - Installed an SQL Server 2008 Standard with SP1 with SSRS also;
    - Updated the Topology to include a Monitoring Server, and also published the new topology;
    - Installed the new components of the monitoring server.
    I can also refer that the SQL Server Instances and Lync Server Front-End are in the same server h where I'm installing the monitoring server, and there is only one Front End Pool.
    As far as I can tell everything was successfully done, and I couldn't find any errors until now.
    And finally the issue appeared when I wanted to deploy the Monitoring Server Reports to the Reporting Services Server.
    In the deployment Wizard of the Lync Server 2010 the link for that option is disabled, no further information is given.
    I tried to find on the ISO and .exe or .msi files that could deploy the reports, but could not find any.
    I believe it isn't a problem of permissions of the user because i followed the documentation.
    I hope someone can help me find the problem, and if possible a solution for it.
    Best regards.

    Hi,
    From your description above, it is a Lync Server 2010 Enterprise Edition and you deploy Monitoring Server in the same Server with FE Server.
    If it is the case, you may meet unknown issues as you must deploy Monitoring Server on a separate Server. You can only collocate Monitoring Server with Archiving Server.
    Please try to delete the Monitoring Server configuration in Lync Topology and then republish topology, and rerun Step 2. After these, please deploy Monitoring Server with a Separate Server and test if the issue happen again.
    More details:
    https://technet.microsoft.com/en-us/library/gg398102(v=ocs.14).aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • WDS Server Service won't start - 'An error occurred trying to start the Windows Deployment Services Server.'

    I'm having issues installing starting the WDS server service on Win 2008 R2,  this is happening on multiple (all 2008 R2) systems on this domain so I'm beginning to think it's either AD or network related, in event viewer I get the following error.
    'An error occurred trying to start the Windows Deployment Services Server.'
    Error Information: 0x0906
    EventID : 257 
    single domain, single forest, 2008 R2 functional level, both system are virtual plugged into same vswitch on a flat network.
    any ideas what might be the issue?  I've never had an issue getting this working on many occasions before today and I've come to many a dead end looking at other articles thus far... 
    With WDS tracing enabled I get the following error information:
    [4304] 09:22:11: ===>Starting logging of module [WDSServer]
    [4304] 09:22:11: [UDPPorts] Policy: 1, Dynamic Port Range: 64001-65000.
    [4304] 09:22:11: [RPC] Using Tcp Port 5040 for Rpc Calls.
    [4304] 09:22:11: [RPC] Client Impersonation Logging=Disabled
    [4304] 09:22:11: [RPC] Host Name: sccm.domain.local
    [4304] 09:22:11: [RPC] NTLM/Kerberos Spn: ldap/sccm.domain.local
    [4304] 09:22:11: [RPC] Initialized
    [3756] 09:22:11: [RPC] Server Started.
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Registered
    [4304] 09:22:11: [BINLSVC] Provider Initialized.
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Registered
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Registered
    [4304] 09:22:11: [51][WDSDDPS] [d:\w7rtm\base\ntsetup\opktools\wds\ddp\server\ddpprovider.cpp:196] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Closed
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Closed
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovider.cpp:144] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Initialization Failed (rc=2310)
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovhdl.cpp:172] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Deleted.
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsservice.cpp:178] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [Udp] Listen Shutdown.
    [3756] 09:22:11: [RPC] Server terminated (rc=0)
    [4304] 09:22:11: [RPC] Listen Stopped.
    [4304] 09:22:11: [BINLSVC] Shutting down
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Closed
    [4304] 09:22:11: [BINLSVC] Deleted.

    It seems I've found out the solution myself,  the issue seems to be caused when DHCP and WDS are on the same server, The installation must identify this during the first installation of WDS but not on subsequent installations, the method to
    get it working again is:
    1.      
    Install WDS Role (using defaults)
    2.      
    Make the following registry change:
    HKLM\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSPXE\UseDhcpPorts  =  0
    3.      
    Run the following command line to initialize Windows Deployment Services:
    wdsutil /initialize-server /reminst:D:\RemoteInstall
    4.      
    Run the following command to enable the DHCP port registry setting
    wdsutil /Set-Server /UseDHCPPorts:No /DHCPOption60:Yes

  • Deploy Monitoring server issue

    Hi All,
    When i try to deploy the monitoring server this error message appear all the time
    Cannot access LcsCDR or QoEMetrics on Monitoring back-end database
    But LcsCDR and QoEMetrics are created.
    Do you have encountered this issue, and know how to solve that?
    Thanks

    Hi,ODE AMA,
    So now your question is Monitoring Server Reporting service deployment issue,right?
    Make sure the account you used to deploy Monitoring Server reporting service has the required permission of your Monitoring Database,details you can check Terence Luk's
    blog post.
    Also please make sure the 1433 port is opened on your database server.
    B/R
    Sharon
    Sharon Shen
    TechNet Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.

  • OIM 10g Server With JBOSS

    Hello,
    Which library is used to make calls from OIM server to JBOSS layer to derive the details like.. who logged in? to show up in "my account" tab. ?
    Thanks,

    I think you can pull that information from user session object. Not sure if this is what you need.
    User id is stored in "Users.User ID" with names in "Users.First Name" and "Users.Last Name".
    sessionContainer ss = (sessionContainer) session.getAttribute("Xellerate.Session");
    tcResultSet rs = ss.getUserOperationsIntf().getSelfProfile();
    rs.getStringValue("Users.User ID")
    sessionContainer class is from com.thortech.xl.webclient.util.sessionContainer
    I think this snippet should give you user id and any USR table attribute can be pulled in this manner.

  • Error  in XML file while deploying in server

    Hi friends,
    I am Venkataramana . I am doing one small structs application with Validation . as usual in XML file i wrote validations but when i am deploying in server it is showing error as
    SEVERE: Parse Error at line 2 column 17: Document is invalid: no grammar found.
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    and
    Jan 11, 2010 11:57:53 PM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 2 column 17: Document root element "form-validation", must match DOCTYPE root "null".
    org.xml.sax.SAXParseException: Document root element "form-validation", must match DOCTYPE root "null".
    Kindly find the validation.xml file for your reference.
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
    <form-validation>
    <formset>
    <form name="regFormForm">
    <field property="username"
    depends="required">
    <arg0 key="uname"/>
    </field>
    <field property="password"
    depends="required">
    <arg0 key="password"/>
    </field>
    </form>
    </formset>
    </form-validation>
    Please can any one help on this?

    I think your dtd entry - "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd" is not compatible with your validation.jar file. If you have recently downloaded the these struts jar files then make sure this entry is matched with what they have provided in examples. Or download new set of jar files and copy the same doc-type tag as they have given in examples.

  • Unable to deploy on Server domain...

    Hello,
    I am totally new to the WebLogic Workshop 8.1 I have done all the tutorials of
    BEA WebLogic.
    I am stuck at this problem.
    I have created a simple application, which uses Java Control, WebService and Page
    Flows. I create the EAR file. When I try to deploy it on the Server Domain, it
    gives the following error...
    Creation of JMS queues failed, probably because your server is not Workshop enabled.
    Would you like to view the help topic on how to enable an existing WebLogic Server
    domain.
    But the thing is that I have not created any JMS queues or have written any code/control
    that needs one. The Java Control only has a WebService Control.
    Why do I need a Workshop domain, can I not just deploy on Server domain?
    If I still try to deploy on the Server Domain, it gives the following error...
    <Jun 15, 2004 11:16:40 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were
    detected while initiating Deploy task for application AddressChange.>
    <Jun 15, 2004 11:16:40 AM PDT> <Error> <Deployer> <BEA-149201> <Failed to comple
    te the deployment task with ID 0 for the application AddressChange.
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for AddressCh
    angeWebService
    Module: AddressChangeWebService Error: Could not load AddressChangeWebSe
    rvice: weblogic.management.DeploymentException: [HTTP:101283]ServletContext(id=2
    3736437,name=AddressChangeWebService,context-path=/AddressChangeWebService): jsp
    Servlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not be
    lo
    aded.
    java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
    Loader.java:198)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:223)
    at weblogic.servlet.jsp.JspConfig.isJspServletValid(JspConfig.java:317)
    at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Web
    AppServletContext.java:2531)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
    (WebAppServletContext.java:1885)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:565)
    I would appreciate any help on this.
    Regards,
    VB.

    Hello,
    I am totally new to the WebLogic Workshop 8.1 I have done all the tutorials of
    BEA WebLogic.
    I am stuck at this problem.
    I have created a simple application, which uses Java Control, WebService and Page
    Flows. I create the EAR file. When I try to deploy it on the Server Domain, it
    gives the following error...
    Creation of JMS queues failed, probably because your server is not Workshop enabled.
    Would you like to view the help topic on how to enable an existing WebLogic Server
    domain.
    But the thing is that I have not created any JMS queues or have written any code/control
    that needs one. The Java Control only has a WebService Control.
    Why do I need a Workshop domain, can I not just deploy on Server domain?
    If I still try to deploy on the Server Domain, it gives the following error...
    <Jun 15, 2004 11:16:40 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were
    detected while initiating Deploy task for application AddressChange.>
    <Jun 15, 2004 11:16:40 AM PDT> <Error> <Deployer> <BEA-149201> <Failed to comple
    te the deployment task with ID 0 for the application AddressChange.
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for AddressCh
    angeWebService
    Module: AddressChangeWebService Error: Could not load AddressChangeWebSe
    rvice: weblogic.management.DeploymentException: [HTTP:101283]ServletContext(id=2
    3736437,name=AddressChangeWebService,context-path=/AddressChangeWebService): jsp
    Servlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not be
    lo
    aded.
    java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
    Loader.java:198)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:223)
    at weblogic.servlet.jsp.JspConfig.isJspServletValid(JspConfig.java:317)
    at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Web
    AppServletContext.java:2531)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
    (WebAppServletContext.java:1885)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:565)
    I would appreciate any help on this.
    Regards,
    VB.

  • An error occurred while trying to start the Windows Deployment Services server

    After rebooting the server, I cannot start the Windows Deployment Services anymore.
    It worked perfectly before the reboot. When starting it manually these errors appear in the event log:
    The Windows Deployment Services Server service terminated with service-specific error 1460 (0x5B4).
    An error occurred while trying to initialize multicast manager. Windows Deployment Services server will be shutdown.
    Error Information: 0x5B4
    An error occurred while trying to start the Windows Deployment Services server.
    Error Information: 0x5B4
    This is on server standard beta 3.

    I have removed the server from the WDS, then I have uninstalled the role, rebooted, reinstalled the role.
    When I started the WDS the server was back in there, but when I wanted to start the service I got the message "the windows deployment services configuration is corrupt". I have triggered these commands to reset this:
    Code Snippet
    wdsutil /Verbose /Progress /Uninitialize-Server
    Windows Deployment Services Management Utility [Version 6.0.6001.16510]
    Copyright (C) Microsoft Corporation. All rights reserved.
    Tearing down server...
    == Original server operational mode: Native ==
    -> Resetting setup state
    -> Disabling and resetting Windows Deployment Services services
    -> Removing server BINL SCP
    -> Removing Windows Deployment Services share at \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST
    == Final server operational mode: Not Configured ==
    The command completed successfully.
    Then i did this command, but again it failed to start at the end.
    Code Snippet
    C:\Windows\system32>wdsutil /Verbose /Progress /Initialize-Server /REMINST:"c:\R
    emoteInstall"
    Windows Deployment Services Management Utility [Version 6.0.6001.16510]
    Copyright (C) Microsoft Corporation. All rights reserved.
    Setting up server...
    -> Creating Windows Deployment Services installation tree
    ---> Creating Windows Deployment Services installation root at \\LH-AJGG6OZWH9Z4
    .longhorn.office\c$\RemoteInstall
    ---> Creating Windows Deployment Services share at \\LH-AJGG6OZWH9Z4.longhorn.of
    fice\REMINST
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\x86\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\ia64\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\x64\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\Fonts
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Tmp
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Mgmt
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\WdsClientUnattend
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Templates
    -> Installing Windows Deployment Services files
    ---> Installing system files
    ---> Installing boot files for x86
    ---> Installing boot files for ia64
    ---> Installing boot files for x64
    -> Updating registry
    -> Configuring the TFTPD service
    -> Configuring BINL SCP
    Enabling Windows Deployment Services services...
    Starting Windows Deployment Services services...
    An error occurred while trying to execute the command.
    Error Code: 0x41D
    Error Description: The service did not respond to the start or control request in a timely fashion.
    Anyone have an idea what could be the cause? I found this additional error in the event log, but distributed file system hasn't been installed since the beginning.
    DFS could not access its private data from the Active Directory. Please manually check network connectivity, security access, and/or consistency of DFS information in the Active Directory. This error occurred on root REMINST.

  • Install both Sun Application server and Jboss application server- Can I?

    Dear all,
    I am programmer and want to test for something.
    Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?
    Is there any special attention I need to take?

    I am programmer and want to test for something.Allowed.
    Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?Why do you think it may not be possible ?
    Is there any special attention I need to take?just the way the URL is populated.

Maybe you are looking for

  • When you run the Adobe Creative Cloud opens a blank window, without authorization...

    When you run the Adobe Creative Cloud opens a blank window, without authorization, without a list of programs, just empty, as in the screenshot

  • Problem with Sound in AE CS5

    When previewing or rendering in AE, the sound is sped up giving it a high pitch like the chipmunks, this is especially irritating right now because I am animating based on sound. It is obviously too fast and what ever file type I use MP3, WAV, AIFF t

  • WebLogic Maintenance Packs Vs Installations?

    I installed WebLogic 9.2.3 on Windows XP Professional. I know, it isn't up to date, but that is what the place I work at has on their test and production servers. I am setting up a development environment for myself and I would rather the WL I am usi

  • Apple software updater could not be found on my desktop

    i have tryed to update my software updater and the updater path cannot be found but when i go to remove programs it wont let me remove the updater or itunes itself it cant find the installer itself and also when i try and reinstall itunes from the se

  • New comer wants to ask a question about "mailto".

    Hallo! I would like to make a link that open a new mail window. I am have used the JtextPane class to edit and display the text. Thanks in advance! James here a part from my code private static JTextPane Header ()      StyleContext context = new Styl