Problem Configuring JSPs

          I'd be grateful for any help with this one:
          I'm trying run WebLogic's jsp examples but am unable to.
          I have set up weblogic.properties thus:
          weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
          weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=60, compileCommand=c:/jdk1.2.2/bin/javac.exe,
          workingDir=c:/weblogic/myserver/classfiles,
          verbose=true,
          keepgenerated=true
          But when I try and hit one of the example JSPs I get the following exception:
          javax.servlet.UnavailableException: Couldn't find init param: compileCommand
          at weblogic.servlet.jhtmlc.PageCompileServlet.init(PageCompileServlet.java:83)
          So it seems that the property "compileCommand=c:/jdk1.2.2/bin/javac.exe" is causing
          problems, but that's the correct path, checked it a dozen times.
          Any ideas?
          Thanks
          Terrance
          

oop... sorry Terrance... made a mistake in my correction....
          should read....
          weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
          weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=60, \
          compileCommand=c:/jdk1.2.2/bin/javac.exe, \
          workingDir=c:/weblogic/myserver/classfiles, \
          verbose=true, \
          keepgenerated=true
          "Michael Kovacs" <[email protected]> wrote in message
          news:[email protected]...
          >
          > "Terrance Goldman" <[email protected]> wrote in message
          > news:[email protected]...
          > >
          > > I'd be grateful for any help with this one:
          > >
          > > I'm trying run WebLogic's jsp examples but am unable to.
          > >
          > > I have set up weblogic.properties thus:
          > >
          > > weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
          > > weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=60,
          > compileCommand=c:/jdk1.2.2/bin/javac.exe,
          > > workingDir=c:/weblogic/myserver/classfiles,
          > > verbose=true,
          > > keepgenerated=true
          > >
          > > But when I try and hit one of the example JSPs I get the following
          > exception:
          > >
          > > javax.servlet.UnavailableException: Couldn't find init param:
          > compileCommand
          > > at
          >
          weblogic.servlet.jhtmlc.PageCompileServlet.init(PageCompileServlet.java:83)
          > >
          > > So it seems that the property "compileCommand=c:/jdk1.2.2/bin/javac.exe"
          > is causing
          > > problems, but that's the correct path, checked it a dozen times.
          > >
          > > Any ideas?
          > >
          > > Thanks
          > >
          > > Terrance
          > Terrance,
          >
          > You need to have a \ character at the end of each continuing line, like
          > shown below
          >
          > weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
          > weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=60,
          > compileCommand=c:/jdk1.2.2/bin/javac.exe, \
          > workingDir=c:/weblogic/myserver/classfiles, \
          > verbose=true, \
          > keepgenerated=true
          >
          > -Michael
          >
          >
          >
          

Similar Messages

  • Problems configuring jsp and weblogic.

    Hi,
              can anyone tell me what all things i need to configure if i have to test jsp
              on weblogic. what things i need to include in web.xml and weblogic.xml. Also
              do i need to create weblogic.properties. I m using weblogic 6.0. I do have
              a jar file which is deployed on weblogic.
              Any help will be appreciated.
              Thanks
              -Shree
              

    Hi,
              I m trying to test a html page on weblogic 6.0. when i type the url
              http://localhost:7001/mytest.html i get following errors. I m not able to
              test any of my jsp pages. I m getting the following error....
              <Jul 23, 2001 5:04:04 PM EDT> <Error> <HTTP> <HttpServer(6962399,null
              default ct
              x,localhost) found no context for "GET /mytest.html HTTP/1.0". This should
              not h
              appen unless the default context failed to deploy.>
              can any one tell me what are the steps / things i should consider for
              testing a jsp (web.xml, weblogic.xml...etc...)using weblogic 6.0 i do not
              want to deploy it i want to test using exploded directory format. My Jsps
              are in turn retrieving information from EJB's.
              I did read quickstart guide in e-docs.bea.com.
              Any help in this matter is appreciated.
              Thanks
              -Shree
              "Shree Unde" <[email protected]> wrote in message
              news:[email protected]...
              > Thanks.
              > -Shree
              > "Kumar Allamraju" <[email protected]> wrote in message
              > news:[email protected]...
              > > http://e-docs.bea.com/wls/docs60/quickstart/quick_start.html
              > >
              > > Shree Unde wrote:
              > >
              > > > Hi,
              > > > can anyone tell me what all things i need to configure if i have to
              test
              > jsp
              > > > on weblogic. what things i need to include in web.xml and
              weblogic.xml.
              > Also
              > > > do i need to create weblogic.properties. I m using weblogic 6.0. I do
              > have
              > > > a jar file which is deployed on weblogic.
              > > >
              > > > Any help will be appreciated.
              > > >
              > > > Thanks
              > > > -Shree
              > >
              >
              >
              

  • Configuring JSP's in Weblogic server 7.0

    Hi,
    I'm trying to port my web application from weblogic server 6.1 to weblogic
    7.0. I'm having a little problem with jsp pages in weblogic 7.0. Some of the text
    box controls which are populated dynamically in my jsp pages are getting populated
    with
    "null" value in WL 7.0 e.g. in the following case
    <%
    String claim_id=null;
    %>
    <input type=text value=<%= claim_id %> >
    on weblogic 6.1 an empty string is printed but in wl 7.0 null is printed as the
    value for the text field.
    I used the domain configuration wizard in wl 7.0 to make a WLS Domain and then
    deployed my application. If I deploy the same application in one of the examples
    domain which is installed with Weblogic 7.0 then everything works fine. So its
    definity a configuration issue.
    Could someone please help me with this.
    Thanks,
    -Taqdees.

    As per the j2ee 1.2, jsp 1.2 specification mandates that the expressions
    default must be "null".
    We have introduced a new flag in weblogic.xml called printNulls which is
    true by default meaning that "null" will be the default.
    Setting this to false makes sure that expressions(<%=expr%> ) with "null"
    results are printed as "" (earlier behavior)
    Here is how to configure the printNulls from weblogic.xml :
    <weblogic-web-app>
    <jsp-param>
    <param-name>printNulls</param-name>
    <param-value>false</param-value>
    </jsp-param>
    </weblogic-web-app>
    Regards,
    Eric
    "taqdees malik" <[email protected]> wrote in message
    news:3daaff99$[email protected]..
    >
    Hi,
    I'm trying to port my web application from weblogic server 6.1 toweblogic
    7.0. I'm having a little problem with jsp pages in weblogic 7.0. Some ofthe text
    box controls which are populated dynamically in my jsp pages are gettingpopulated
    with
    "null" value in WL 7.0 e.g. in the following case
    <%
    String claim_id=null;
    %>
    <input type=text value=<%= claim_id %> >
    on weblogic 6.1 an empty string is printed but in wl 7.0 null is printedas the
    value for the text field.
    I used the domain configuration wizard in wl 7.0 to make a WLS Domain andthen
    deployed my application. If I deploy the same application in one of theexamples
    domain which is installed with Weblogic 7.0 then everything works fine. Soits
    definity a configuration issue.
    Could someone please help me with this.
    Thanks,
    -Taqdees.

  • Problem configuring Username token profile on ALSB

    Hi All !!
    First of all, thanks for your support!!
    I'm facing a problem configuring an active intermediary Proxy service with username token profile. This proxy service has a security policy referencing Auth.xml file to implement Username token profile. That proxy calls a business service which calls a web service.
    On test page, username and password is requested (already created in the security domain), then an error is returned "Unable to add security token for identity".
    Below you can find the Invocation Trace:
    Invocation Trace
    (receiving request)
    Initial Message Context
    added $body
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <per:getPersona xmlns:per="http://com/indra/persona">
    <per:nombre>string</per:nombre>
    <per:apellidos>string</per:apellidos>
    </per:getPersona>
    </soapenv:Body>
    added $header
    <soapenv:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    </soapenv:Header>
    added $inbound
    <con:endpoint name="ProxyService$PruebaWSsecurity$PersonaProxy92" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>getPersona</con:operation>
    </con:service>
    <con:transport>
    <con:uri>/PersonaProxy92</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    *<con:security>*
    *<con:transportClient>*
    *<con:username><anonymous></con:username>*
    *</con:transportClient>*
    *<con:messageLevelClient>*
    *<con:username>securityUser</con:username>*
    *<con:principals>*
    *<con:group>Administrators</con:group>*
    *<con:group>IntegrationAdministrators</con:group>*
    *</con:principals>*
    *</con:messageLevelClient>*
    *</con:security>* </con:endpoint>
    added $messageID
    2741921765813726088-1b0fcf1c.12204e4868c.-8f3
    RouteNode1
    Routed Service
    Route to: "PersonaBusiness92"
    $outbound:
    <con:endpoint name="BusinessService$PruebaWSsecurity$PersonaBusiness92" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>getPersona</con:operation>
    </con:service>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    </con:request>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>
    $body (request):
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <per:getPersona xmlns:per="http://com/indra/persona">
    <per:nombre>string</per:nombre>
    <per:apellidos>string</per:apellidos>
    </per:getPersona>
    </soapenv:Body>
    $header (request):
    <soapenv:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    </soapenv:Header>
    $attachments (request):
    <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
    Message Context Changes
    added $outbound
    <con:endpoint name="BusinessService$PruebaWSsecurity$PersonaBusiness92" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>getPersona</con:operation>
    </con:service>
    <con:transport>
    <con:uri>http://esmadaix01:9103/WSPersona/Persona</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="SOAPAction" value="&quot;&quot;"/>
    <tran:user-header name="X-Powered-By" value="Servlet/2.4 JSP/2.0"/>
    <http:Content-Type>text/xml; charset="utf-8"</http:Content-Type>
    <http:Date>Mon, 22 Jun 2009 10:34:18 GMT</http:Date>
    <http:Transfer-Encoding>chunked</http:Transfer-Encoding>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <http:http-response-code>200</http:http-response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>
    changed $header
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>
    changed $inbound
    <con:endpoint name="ProxyService$PruebaWSsecurity$PersonaProxy92" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>getPersona</con:operation>
    </con:service>
    <con:transport>
    <con:uri>/PersonaProxy92</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username><anonymous></con:username>
    </con:transportClient>
    <con:messageLevelClient>
    <con:username>securityUser</con:username>
    <con:principals>
    <con:group>Administrators</con:group>
    <con:group>IntegrationAdministrators</con:group>
    </con:principals>
    </con:messageLevelClient>
    </con:security>
    </con:endpoint>
    changed $attachments
    <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
    changed $body
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <m:getPersonaResponse xmlns:m="http://com/indra/persona">
    <persona>
    <correo>[email protected]</correo>
    <telefono>91546789</telefono>
    </persona>
    </m:getPersonaResponse>
    </soapenv:Body>
    System Error Handler
    $fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-386201</con:errorCode>
    *<con:reason>*
    *A web service security fault occurred[{http://schemas.xmlsoap.org/soap/envelope/}Server][Unable to add security token for identity]*
    *</con:reason>*
    <con:details>
    <err:WebServiceSecurityFault xmlns:err="http://www.bea.com/wli/sb/errors">
    <err:faultcode xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server</err:faultcode>
    <err:faultstring>
    Unable to add security token for identity
    </err:faultstring>
    </err:WebServiceSecurityFault>
    </con:details>
    <con:location>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>

    We have the same problem.
    Have you the reposne?
    Request Document
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soapenv:Body>
    <t17:pais_getByDesc xmlns:t17="http://www.ejie.es/webServiceEJB/t17iApiWSWar">
    <t17:value>bul</t17:value>
    <t17:responseWithParents>false</t17:responseWithParents>
    </t17:pais_getByDesc>
    </soapenv:Body>
    </soapenv:Envelope>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="unt_ZqnW7MTAb7P77cPL" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>weblogic10</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">??????????????</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soapenv:Body>
    <t17:pais_getByDesc xmlns:t17="http://www.ejie.es/webServiceEJB/t17iApiWSWar">
    <t17:value>bul</t17:value>
    <t17:responseWithParents>false</t17:responseWithParents>
    </t17:pais_getByDesc>
    </soapenv:Body>
    </soapenv:Envelope>
    Response Document
    The invocation resulted in an error: .
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>
    Unable to add security token for identity
    </faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Response Metadata
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:metadata>
    Invocation Trace
    (receiving request)
    Initial Message Context
    added $body
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <t17:pais_getByDesc xmlns:t17="http://www.ejie.es/webServiceEJB/t17iApiWSWar">
    <t17:value>bul</t17:value>
    <t17:responseWithParents>false</t17:responseWithParents>
    </t17:pais_getByDesc>
    </soapenv:Body>
    added $header
    <soapenv:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    </soapenv:Header>
    added $inbound
    <con:endpoint name="ProxyService$ctxweb$t17i_wss-1" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>pais_getByDesc</con:operation>
    </con:service>
    <con:transport>
    <con:uri>/ctxweb/t17i_wss_1</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username><anonymous></con:username>
    </con:transportClient>
    <con:messageLevelClient>
    <con:username>weblogic10</con:username>
    <con:principals>
    <con:group>AdminChannelUsers</con:group>
    <con:group>Administrators</con:group>
    <con:group>IntegrationAdministrators</con:group>
    </con:principals>
    </con:messageLevelClient>
    </con:security>
    </con:endpoint>
    added $messageID
    6412299231164769748--466a8253.12535a4d4fe.-7f29
    RouteTo_NORA-bs
    Routed Service
    Route to: "NORA-bs"
    $outbound:
    <con:endpoint name="BusinessService$business$NORA-bs" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>pais_getByDesc</con:operation>
    </con:service>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    </con:request>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>
    $body (request):
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <t17:pais_getByDesc xmlns:t17="http://www.ejie.es/webServiceEJB/t17iApiWSWar">
    <t17:value>bul</t17:value>
    <t17:responseWithParents>false</t17:responseWithParents>
    </t17:pais_getByDesc>
    </soapenv:Body>
    $header (request):
    <soapenv:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    </soapenv:Header>
    $attachments (request):
    <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
    Message Context Changes
    added $outbound
    <con:endpoint name="BusinessService$business$NORA-bs" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>pais_getByDesc</con:operation>
    </con:service>
    <con:transport>
    <con:uri>
    http://www.integracion.jakina.ejiedes.net/t17iApiWSWar/t17iApiWS
    </con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="Set-Cookie" value="JSESSIONID=Q02mLVvKw8hRcvYm7nwmyJyCQHC2FJknpGbltNPnsqp2gstzHy0M!-1566668667!734317392; path=/"/>
    <http:Connection>close</http:Connection>
    <http:Content-Length>666</http:Content-Length>
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:Date>Tue, 01 Dec 2009 14:59:22 GMT</http:Date>
    <http:Server>
    Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7a
    </http:Server>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <http:http-response-code>200</http:http-response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>
    changed $body
    <env:Body xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <m:pais_getByDescResponse xmlns:m="http://www.ejie.es/webServiceEJB/t17iApiWSWar">
    <n1:result xsi:type="n2:ArrayOfPais" xmlns:n1="http://www.ejie.es/webServiceEJB/t17iApiWSWar" xmlns:n2="java:t17i.vo">
    <n2:Pais xsi:type="n2:Pais">
    <n2:descripcionOficial>Bulgaria</n2:descripcionOficial>
    <n2:id>104</n2:id>
    </n2:Pais>
    </n1:result>
    </m:pais_getByDescResponse>
    </env:Body>
    changed $attachments
    <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
    changed $inbound
    <con:endpoint name="ProxyService$ctxweb$t17i_wss-1" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>pais_getByDesc</con:operation>
    </con:service>
    <con:transport>
    <con:uri>/ctxweb/t17i_wss_1</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username><anonymous></con:username>
    </con:transportClient>
    <con:messageLevelClient>
    <con:username>weblogic10</con:username>
    <con:principals>
    <con:group>AdminChannelUsers</con:group>
    <con:group>Administrators</con:group>
    <con:group>IntegrationAdministrators</con:group>
    </con:principals>
    </con:messageLevelClient>
    </con:security>
    </con:endpoint>
    changed $header
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>
    System Error Handler
    $fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-386201</con:errorCode>
    <con:reason>
    A web service security fault occurred[{http://schemas.xmlsoap.org/soap/envelope/}Server][Unable to add security token for identity]
    </con:reason>
    <con:details>
    <err:WebServiceSecurityFault xmlns:err="http://www.bea.com/wli/sb/errors">
    <err:faultcode xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server</err:faultcode>
    <err:faultstring>
    Unable to add security token for identity
    </err:faultstring>
    </err:WebServiceSecurityFault>
    </con:details>
    <con:location>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>

  • Apache/Jserv Config Problem with JSP

    Problem: Any JSP that contains a bean reference is not being loaded correctly.
    The first thing I did was to create a softlink from the ".../Apache/Apache/htdocs" directory to
    the directory which contains my *.html and *.jsp files (as instructed in the httpd.conf file).
    Then, I followed the instructions on page A-9 of "OracleJSP Developer's Guide and
    Reference, Release 1.1.0.0.0". They instruct you to add a wrapper.classpath entry into
    jserv.properties that points at your directory that contains the .class files for your bean
    classes. I did this too.
    I then attempted to load my JSP file from the browser URL entry line. If my JSP does not contain
    a reference to a bean, then the page loads fine. If it contains a reference to a bean, then I
    get the following message:
    Request URI:/webdocs/vps/hellouser/hellouser.jsp
    Exception:
    oracle.jsp.parse.JspParseException: Line # 4, Error: Unable to find class for bean: myBean defined
    by tag with class: hello.NameHandler
    I cannot for the life of me get Apache to look in one directory for the .jsp file and another for
    the .class file(s). Any suggestions would be greatly appreciated!
    MORE BACKGROUND:
    If it matters..... My first venture was servlets and I've managed to workt that just fine: I
    successfully modified "jserv.conf" to add a mount point (ApJServMount) for my new servlet zone
    which I have specified in "jserv.properties". I have also created an associated properties file
    for my new servlet zone. I've tested this configuration and all works fine for servlets, just not
    JSP.
    Once again, thanks in advance for any help regarding a solution to this problem!!!
    Dave

    Problem: Any JSP that contains a bean reference is not being loaded correctly.
    The first thing I did was to create a softlink from the ".../Apache/Apache/htdocs" directory to
    the directory which contains my *.html and *.jsp files (as instructed in the httpd.conf file).
    Then, I followed the instructions on page A-9 of "OracleJSP Developer's Guide and
    Reference, Release 1.1.0.0.0". They instruct you to add a wrapper.classpath entry into
    jserv.properties that points at your directory that contains the .class files for your bean
    classes. I did this too.
    I then attempted to load my JSP file from the browser URL entry line. If my JSP does not contain
    a reference to a bean, then the page loads fine. If it contains a reference to a bean, then I
    get the following message:
    Request URI:/webdocs/vps/hellouser/hellouser.jsp
    Exception:
    oracle.jsp.parse.JspParseException: Line # 4, Error: Unable to find class for bean: myBean defined
    by tag with class: hello.NameHandler
    I cannot for the life of me get Apache to look in one directory for the .jsp file and another for
    the .class file(s). Any suggestions would be greatly appreciated!
    MORE BACKGROUND:
    If it matters..... My first venture was servlets and I've managed to workt that just fine: I
    successfully modified "jserv.conf" to add a mount point (ApJServMount) for my new servlet zone
    which I have specified in "jserv.properties". I have also created an associated properties file
    for my new servlet zone. I've tested this configuration and all works fine for servlets, just not
    JSP.
    Once again, thanks in advance for any help regarding a solution to this problem!!!
    Dave

  • Problems configuring HP Laserjet M1213nf MFP with Mac via AirPrint

    Hello,
    I have a HP Laserjet M1213nf MFP printer, connected to a Dlink DSL-2730U ADSL router. I am having problems configuring the printer with my Macbook running OSX Yosemite. I can see the printers name in nearby printers but when I try to add the printer, the mac gives me an error saying, "unable to communicate with the printer at this time". The network settings on the printer are configure for iPv4 and iPv6 addresses. 
    Previously, I had the ADSL DSL-2750U model router, and the printer was connected fine. I did not face any issues then. I have been facing problems since I changed my router so the problem should be in the router. I have the IP for the printer reserved in the DHCP reservation list on the router settings using the mac address of the printer.
    Can someone please help me out here? Is there something I am probably missing.
    Rgds
    ~n~

    I talked to the DLink Support. They asked me to disable an option called "MultiAP Isolation" and Voila, the printer is working fine. I can add it to all my devices on the wireless network. I looked up google. Apparently, this isolation feature present in some routers, prevent wifi clients to interact with other devices connected to the wired network and also with each other. Thats why only my desktop which was also connected wired was only able to access the printer and not the laptops connected wirelessly. 
    Problem solved. Thanks for all your help on this one.
    Cheers!

  • Problem in jsp with container(JEUS)

    Hi I am a developer in Korea
    Nowadays I have a problem in jsp pages which have contained some pakage directive in a library path
    so my problem is changing some of the classes in the package during service time.
    Error result is
    -Root Exception stack trace :
    -jeus.servlet.jsp.compiler.JspCompileException: fail to compile : source = C:\TmaxSoft\JEUS6.0\webhome\epims_container1\_generated_\j2ee-modules\harweb\jeus_jspwork\_custermg\_html\_mypage\_600_MyReqJob_5fjsp.java, -error msg = C:\TmaxSoft\JEUS6.0\webhome\epims_container1\_generated_\j2ee-modules\harweb\jeus_jspwork\_custermg\_html\_mypage\_600_MyReqJob_5fjsp.java:76: cannot access custermg.MyPageQuery
    bad class file: C:\epims\harweb\WEB-INF\classes\custermg\MyPageQuery.class
    -class file has wrong version 8241.8224, should be 49.0
    -Please remove or make sure it appears in the correct subdirectory of the classpath.
    -     MyPageQuery myquery = null;
    I don't know why this could be happed in random period of time It happens nearly each 10 hours . after this failure, the same error happen in other classes.
    Before ten hours?.... No problem with the jsp pages
    The number 8241.8224 tells me that it is not generated by java compiler but I don't have any clue but the above error
    my run time environment is
    - HP Server, Windows Server 2003, 64bit
    - Jeus, jdk1.5.0_15
    so any help from you will be appreciated...
    thanks

    Mr. Ahmed,
    Excuse-me by my bad english.
    I experienced the same problem when surrounded my scripts with comment caracters:
    <!--
    < SCRIPT ...
    -->
    If this is your case, simply uncomment it and the script will work fine.

  • Problem using jsp:include from inside a custom tag

    Hi, All !
              I have a problem using <jsp:include> from inside a custom tag. Exception is:
              "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
              Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
              could not do this. Is it a bug, since in the 1.1 spec is said: "The
              BodyContent is a subclass of JspWriter that can be used to process body
              evaluations so they can retrieved later on."
              My code is:
              <wfmklist:items>
              <jsp:include page="item.jsp" flush="true"/>
              </wfmklist:items>
              

    This is an area of contention with WL. It is not so tolerant with regards to
              the spec. I spent several days recently trying to convince it to accept the
              specification in regards to bodies and includes and it appears to have
              successfully rebuffed my efforts.
              Frankly, this is very disappointing. It appears that some shortcuts were
              taken on the way to JSP 1.1 support, and the result is a very hard-coded,
              inflexible implementation. As I have not seen the implementation myself, I
              hate to assume this, however one could posit that the term "interface" was a
              foreign concept during the implementation, other than as some annoying
              intermediary reference requiring an immediate cast to a specific Weblogic
              class, which in turn is apparently required to be final or have many final
              methods, as if being optimized for a JDK 1.02 JIT.
              I am sorry that I don't have any positive suggestions other than to use a
              URL object to come back in an execute the necessary "include" directly. You
              lose all context (other than session) and that can cause its own problems.
              However, you can generally get the URL approach to work, and you will
              hopefully avoid further frustration.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              Tangosol: How Weblogic applications are customized
              "Denis" <[email protected]> wrote in message
              news:[email protected]...
              > Hi, All !
              > I have a problem using <jsp:include> from inside a custom tag. Exception
              is:
              > "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
              >
              > Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
              > could not do this. Is it a bug, since in the 1.1 spec is said: "The
              > BodyContent is a subclass of JspWriter that can be used to process body
              > evaluations so they can retrieved later on."
              >
              > My code is:
              > ...
              > <wfmklist:items>
              > <jsp:include page="item.jsp" flush="true"/>
              > </wfmklist:items>
              > ...
              

  • Urgent Solution needed--Problem in JSP compilation with JDK 1.5 and JDK 1.6

    Hi,
    I m using JDK 1.5 and Tomcat 5.0 the problem is that after starting server when I m going to access my application at that time instead of displaying HomePage it directly display the blank page on screen.
    After analyzing tomcat log I have found that there was a problem with JSP page compilation.
    The exception logged in Tomcat Log is given below
    An error occurred at line: 1 in the generated java file
    The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
    Stacktrace:
    *     at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)*
    *     at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)*
    *     at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)*
    *     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)*
    *     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)*
    *     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)*
    *     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
    *     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)*
    *     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)*
    *     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)*
    *     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447)*
    *     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)*
    *     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)*
    *     at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)*
    *     at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)*
    *     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)*
    *     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)*
    *     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)*
    *     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)*
    *     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)*
    *     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)*
    *     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)*
    *     at java.lang.Thread.run(Thread.java:619)*
    After getting this kind of error I have analyzed my code furhter then I came to know that there was problem with static include tag.
    In my jsp page I have used following line which is the main cause of error
    <%@ include file="top.jsp" %>If I ommit this line then it is working properly.
    Instead of static include I have used jsp:include also.
    Still I m getting same problem.
    We have to migrated from JDK 1.5 to 1.6 and Tomcat 5.0.28 to 6.0.14, still same problem is there.
    We have tried a lot but didnt get success to overcome this problem.
    If anybody having any solution then ur each reply will be appreciated.
    Thanks in advance..........!!!!!!!
    Edited by: JBOSS2000 on Jan 15, 2008 9:29 AM

    Hi "mshanu" and "amit" Thanks for ur replies Here I m posting the code of "top.jsp"........!!!!
    <%@ page errorPage="errordisplay.jsp"%>
    <table cellpadding="0"
           cellspacing="0"  height=50 width=780>
           <tbody>
             <tr class="header">
               <td class="logo"><IMG SRC="assets/Logo.gif" BORDER=0 ALIGN=top></td>
               <td align="right"><span class="applicationtitle"><%@ include file="/contents/logo.htm" %></span><br>
               <span class="companyname"><%@ include file="/contents/companyname.htm" %></span></td>
             </tr>
            </tbody>
    </table>To include top.jsp I have tried
    <jsp:include page="top.jsp" flush="true">
    </jsp:include>
             AND       
    <%@ include file="top.jsp"%>but none of this worked.
    If I remove the include then It is working properly.
    But I need inluded file too so that I am wondoring for the solution.
    This problem seems very wiered to me. I dont know why it is happening.
    This problem is started only when I used the TOMCAT 6.14.
    Is it the bug of TOMCAT 6.14 or What somebody Plz help.
    I got stuck here.........!!!!!!!!!!
    It doesn't seem any problem with top.jsp. As per my thinking the problem is there in include due to that it doesn't compile the JSP page in Tomcat 6.0.
    Earlier I am having same code running on the Tomcat 5.0.28 and JDK 1.5.0.
    But problem occured when I have used Tomcat 6.x...!!

  • Language problem in JSP please help

    Hi all java guru;
    Altough I tried all different way I can not solve the my problem.
    My problem is Turkish language problem in JSP.
    If my jsp page use database applications such as push or pull data to my SQL 2000 database or call some datas from database, some data which contains turkish caracter are seen wrong. suc as ����� is to ??????
    what is the problem?
    But important point is that; this is only Database data which come from sql database. But I can see JSP data or HTML data truly.
    I try different method to solve in JSP page;
    1-request.setEncoding("iso-8859-9");
    or
    request.setCharacterEncoding( "windows-1250" );
    2-
    @contentType="text/html; charset=iso-8859-9"
    @page pageEncoding="iso-8859-9"
    3-
    <meta http-equiv="Content-Language" content="tr">
    <META http-equiv="Content-Style-Type" content="text/css">
    4-
    ISO-8859-9 is turkish charecter spefications
    String TR_tlp = new String(NEW_TALEP.getBytes(),"ISO-8859-9"); // this parm is inserting database but problem is go on.
    5-
    for the database...
    Properties props = new Properties();
    props.put("user","login");
    props.put("password","password");
    props.put("charSet","UNICODE");
    6-
    url= "jdbc:microsoft:sqlserver://IP_NO:1433;databasename=database;TRUSTED_CONNECTION = true;CHARSET="+sun.io.ByteToCharConverter.getDefault().getCharacterEncoding();
    or
    url= "jdbc:microsoft:sqlserver://IP_NO:1433;databasename=database;TRUSTED_CONNECTION = true;CHARSET=ISO-8859-9"
    con= DriverManager.getConnection(url, kulad, sifre);
    I am using tomcat 5.0.19,
    is there any way to solve this problem... Please help......

    Were you ever able to solve your problem?
    I have a similar problem.
    My database is storing the characters correctly and they can be viewed in Java, but when I try to convert them to unicode using:
    String inputUtf8 = new String(input.getBytes(),charset);
    it works for almost all characters, but some come through as noncharacter "boxes."
    The characters that come through as boxes in iso8859-1 are the ones that are in the "supplementary" character range of that set, such as:
    - curved left and right quotes
    - "TM" symbol
    - bullets
    - m dash and n dash
    (see this table: http://www.csgnetwork.com/htmlchrset.html for a more complete list of the supplementary characters )
    Any idea what I need to do to have these characters show up properly?

  • Problems configuring Platform Domain with MS Sql Server

    Hi,
    We are having problems configuring a Platform Domain with MS Sql Server 2000.
    We are using Weblogic version 7.0.0.2. These are the steps we followed
    1.We manually created a database called TestDB and created a user account called
    "system", pwd ==>> "weblogic" in SQL server and assigned him as the DB owner for
    the TestDB created.
    2. Changed dbsettings_properties files (Commented pointbase entries and uncommented
    SQL Server entries. I gave the connection parameter as connection=jdbc:weblogic:mssqlserver4:localhost:1433
    in this file.
    3. Modified Config.xml and changed properties for DataSyncPool, WLIPool, CommercePool,WLIPool
    and modified the RDBMS realm properties to point to the database.
    4. ran the create_db script and it seemed to have run fine looking at the log
    file.
    5. I then tried to start the BEA Server instance and I get the following error.
    I am also attaching the config.xml file for reference.
    Appreciate any help/suggestions. Thanks in Advance.
    Vikram
    <Apr 9, 2003 2:57:45 AM EDT> <Error> <RDBMSRealm> <000000> <An error occured cre
    ating a database connection for the realm.
    java.sql.SQLException: Invalid port: weblogic:mssqlserver4:localhost:1433
    at weblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:
    193)
    at weblogic.jdbc.mssqlserver4.ConnectDriver.parse(ConnectDriver.java:333
    at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:1
    02)
    at com.bea.p13n.security.realm.RDBMSDelegate.<init>(RDBMSDelegate.java:1
    69)
    at com.bea.p13n.security.realm.RDBMSDelegate$DFactory.getInstance(RDBMSD
    elegate.java:962)
    at com.bea.p13n.security.realm.internal.Pool.<init>(Pool.java:53)
    at com.bea.p13n.security.realm.RDBMSRealm.createPool(RDBMSRealm.java:153
    at com.bea.p13n.security.realm.RDBMSRealm.<init>(RDBMSRealm.java:140)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at weblogic.security.acl.Realm.getRealm(Realm.java:87)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    <Apr 9, 2003 2:57:45 AM EDT> <Emergency> <WebLogicServer> <000342> <Unable to
    in
    itialize the server: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    [config.xml]

    Try removing the server section from the SchemaProperties line.
    Preferrably do not use localhost or hostnames in the server
    configuration file.
    <RDBMSRealm
    Name="wlcsRealm"
    DatabaseDriver="weblogic.jdbc.mssqlserver4.Driver"
    DatabasePassword="weblogic"
    DatabaseURL="jdbc:weblogic:mssqlserver4:yourIPAddress:1433"
    RealmClassName="com.bea.p13n.security.realm.RDBMSRealm"
    SchemaProperties="user=system;password=weblogic"/>
    Also consider ...
    If you have a new Portal database created in SQL Server?
    Does the user system have the Portal database as his default database?
    -- Jim
    Vikram wrote:
    Hi,
    We are having problems configuring a Platform Domain with MS Sql Server 2000.
    We are using Weblogic version 7.0.0.2. These are the steps we followed
    1.We manually created a database called TestDB and created a user account called
    "system", pwd ==>> "weblogic" in SQL server and assigned him as the DB owner for
    the TestDB created.
    2. Changed dbsettings_properties files (Commented pointbase entries and uncommented
    SQL Server entries. I gave the connection parameter as connection=jdbc:weblogic:mssqlserver4:localhost:1433
    in this file.
    3. Modified Config.xml and changed properties for DataSyncPool, WLIPool, CommercePool,WLIPool
    and modified the RDBMS realm properties to point to the database.
    4. ran the create_db script and it seemed to have run fine looking at the log
    file.
    5. I then tried to start the BEA Server instance and I get the following error.
    I am also attaching the config.xml file for reference.
    Appreciate any help/suggestions. Thanks in Advance.
    Vikram
    <Apr 9, 2003 2:57:45 AM EDT> <Error> <RDBMSRealm> <000000> <An error occured cre
    ating a database connection for the realm.
    java.sql.SQLException: Invalid port: weblogic:mssqlserver4:localhost:1433
    at weblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:
    193)
    at weblogic.jdbc.mssqlserver4.ConnectDriver.parse(ConnectDriver.java:333
    at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:1
    02)
    at com.bea.p13n.security.realm.RDBMSDelegate.<init>(RDBMSDelegate.java:1
    69)
    at com.bea.p13n.security.realm.RDBMSDelegate$DFactory.getInstance(RDBMSD
    elegate.java:962)
    at com.bea.p13n.security.realm.internal.Pool.<init>(Pool.java:53)
    at com.bea.p13n.security.realm.RDBMSRealm.createPool(RDBMSRealm.java:153
    at com.bea.p13n.security.realm.RDBMSRealm.<init>(RDBMSRealm.java:140)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at weblogic.security.acl.Realm.getRealm(Realm.java:87)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    <Apr 9, 2003 2:57:45 AM EDT> <Emergency> <WebLogicServer> <000342> <Unable to
    in
    itialize the server: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    <Domain Name="epmsDomain">
    <Log
    FileName="logs/wl-domain.log"
    Name="epmsDomain"
    />
    <!-- Configuration Wizard Cluster and Admin/Managed Node support -->
    <Server
    Name="platformServer"
         ListenAddress="localhost"
    ListenPort="7501"
    NativeIOEnabled="true"
    TransactionLogFilePrefix="logs/"
    >
    <SSL
    Name="platformServer"
    ListenPort="7502"
    Enabled="true"
    ServerCertificateChainFileName="ca.pem"
    ServerCertificateFileName="democert.pem"
    ServerKeyFileName="demokey.pem"
    />
    <Log
    FileName="logs/weblogic.log"
    />
    <WebServer
    DefaultWebApp="splashPage"
    LogFileName="./logs/access.log"
    LoggingEnabled="true"
    Name="platformServer"
    />
    </Server>
    <!-- WLP Pool -->
    <JDBCConnectionPool
    Name="commercePool"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    URL="jdbc:weblogic:mssqlserver4:localhost:1433"
    Properties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Password="weblogic"
    InitialCapacity="20"
    MaxCapacity="20"
    CapacityIncrement="1"
    RefreshMinutes="0"
    ShrinkingEnabled="false"
    Targets="platformServer"
    TestConnectionsOnReserve="false"
    TestTableName="WEBLOGIC_IS_ALIVE"
    />
    <!-- WLI Pool -->
    <JDBCConnectionPool
    CapacityIncrement="2"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    InitialCapacity="8"
    LoginDelaySeconds="1"
    MaxCapacity="36"
    Name="wliPool"
    Properties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Password="weblogic"
    RefreshMinutes="0"
    ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true"
    Targets="platformServer"
    URL="jdbc:weblogic:mssqlserver4:localhost:1433"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="false"
    JNDIName="weblogic.jdbc.jts.commercePool"
    Name="commercePool"
    PoolName="commercePool"
    Targets="platformServer"
    />
    <JDBCDataSource
    JNDIName="weblogic.jdbc.pool.commercePool"
    Name="commercePool"
    PoolName="commercePool"
    Targets="platformServer"
    />
    <JDBCDataSource
    JNDIName="WLAI_DataSource"
    Name="WLAI_DataSource"
    PoolName="wliPool"
    Targets="platformServer"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="com.bea.wlpi.TXDataSource"
    Name="TXDataSource"
    PoolName="wliPool"
    Targets="platformServer"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="WLCHub.DS"
    Name="WLCHub.DS"
    PoolName="wliPool"
    Targets="platformServer"/>
    />
    <!-- Configure WebLogic Workshop to run in Platform domain -->
    <JDBCTxDataSource
         EnableTwoPhaseCommit="true"
    JNDIName="cgDataSource"
    Name="cgDataSource"
    PoolName="commercePool"
    Targets="platformServer"/>
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="cgSampleDataSource"
    Name="cgSampleDataSource"
    PoolName="commercePool"
    Targets="platformServer"/>
    <JMSConnectionFactory JNDIName="weblogic.jws.jms.QueueConnectionFactory"
    Name="cgQueue" Targets="platformServer"/>
    <JMSJDBCStore ConnectionPool="commercePool" Name="cgJDBCStore" PrefixName="WEBLOGIC"/>
    <JMSServer Name="cgJMSServer" Store="cgJDBCStore" Targets="platformServer">
    <JMSQueue JNDIName="jws.queue" Name="cgJWSQueue" StoreEnabled="default"/>
    </JMSServer>
    <JTA Name="epmsDomain" TimeoutSeconds="3600"/>
    <!-- End: Configure WebLogic Workshop to run in Platform domain -->
    <!-- WLP DATASYNC -->
    <JDBCConnectionPool
    Name="dataSyncPool"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    URL="jdbc:weblogic:mssqlserver4:localhost:1433"
    Properties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Password="WEBLOGIC"
    InitialCapacity="1"
    MaxCapacity="5"
    CapacityIncrement="1"
    RefreshMinutes="0"
    ShrinkingEnabled="false"
    TestConnectionsOnReserve="false"
    TestTableName="WEBLOGIC_IS_ALIVE"
    Targets="platformServer"/>
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="false"
    JNDIName="weblogic.jdbc.jts.dataSyncPool"
    Name="dataSyncPool"
    PoolName="dataSyncPool"
    Targets="platformServer"/>
    />
    <!-- General Config -->
    <Security
    GuestDisabled="false"
    Name="epmsDomain"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm"
    CompatibilityMode="true"
    />
    <PasswordPolicy
    Name="wl_default_password_policy"
    />
    <Realm
    Name="wl_default_realm"
    CachingRealm="wlcsCachingRealm"
    FileRealm="wl_default_file_realm"
    />
    <CachingRealm
    BasicRealm="wlcsRealm"
    CacheCaseSensitive="true"
    Name="wlcsCachingRealm"
    />
    <RDBMSRealm DatabaseDriver="weblogic.jdbc.mssqlserver4.Driver"
    DatabasePassword="weblogic"
    DatabaseURL="jdbc:weblogic:mssqlserver4:localhost:1433"
    SchemaProperties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Name="wlcsRealm"
    RealmClassName="com.bea.p13n.security.realm.RDBMSRealm"/>
    <FileRealm
    Name="wl_default_file_realm"
    />
    <StartupClass
    ClassName="com.beasys.commerce.ebusiness.security.KeyBootstrap"
    FailureIsFatal="false"
    Name="KeyBootstrap"
    Targets="platformServer"
    />
    <!-- WLI configuraion for Platform -->
    <JMSConnectionFactory Name="WLI_B2B_TopicFactory"
    JNDIName="com.bea.wli.b2b.server.TopicConnectionFactory"
    AllowCloseInOnMessage="true"
    UserTransactionsEnabled="true"
    Targets="platformServer"
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="true"
    JNDIName="com.bea.wli.b2b.rosettanet.QueueConnectionFactory"
    Name="RNQueueFactory"
    Targets="platformServer"
    UserTransactionsEnabled="true"
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="false"
    DefaultDeliveryMode="Persistent"
    DefaultPriority="4"
    DefaultTimeToLive="0"
    JNDIName="com.bea.wlai.JMSConnectionFactory"
    MessagesMaximum="10"
    Name="WLAI_JMSConnectionFactory"
    OverrunPolicy="KeepOld"
    UserTransactionsEnabled="true"
    Targets="platformServer"/>
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="true"
    JNDIName="com.bea.wlpi.TopicConnectionFactory"
    Name="wlpiFactory"
    Targets="platformServer"
    UserTransactionsEnabled="true"
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="true"
    JNDIName="com.bea.wlpi.QueueConnectionFactory"
    Name="wlpiQueueFactory"
    Targets="platformServer"
    UserTransactionsEnabled="true"
    />
    <JMSJDBCStore
    ConnectionPool="wliPool"
    Name="JMSWLIStore"
    PrefixName="PBPUBLIC"
    />
    <JMSServer Name="WLIJMSServer"
    Targets="platformServer"
    TemporaryTemplate="TemporaryTemplate"
    Store="JMSWLIStore">
    <JMSTemplate Name="TemporaryTemplate"/>
    <!-- B2B -->
    <JMSQueue Name="WLI_B2B_RNEncoderQueue"
    JNDIName="com.bea.wli.b2b.rosettanet.EncoderQueue"/>
    <JMSTopic Name="WLI_B2B_Topic"
    JNDIName="com.bea.wli.b2b.server.B2BTopic"/>
    <JMSQueue Name="WLI_B2B_OutboundQueue"
    JNDIName="com.bea.b2b.OutboundQueue"/>
    <!-- BPM -->
    <JMSTopic Name="wlpiEvent"
    JNDIName="com.bea.wlpi.EventTopic"/>
    <JMSQueue Name="WLI_BPM_Timer"
    JNDIName="com.bea.wli.bpm.TimerQueue"
    StoreEnabled="true"
    Template="WLI_JMSTemplate"/>
    <JMSQueue Name="WLI_BPM_Event"
    JNDIName="com.bea.wli.bpm.EventQueue"
    StoreEnabled="true"
    Template="WLI_JMSTemplate"/>
    <JMSQueue Name="WLI_BPM_ValidatingEvent"
    JNDIName="com.bea.wli.bpm.ValidatingEventQueue"
    StoreEnabled="true"
    Template="WLI_JMSTemplate"/>
    <JMSTopic Name="WLI_BPM_Error"
    JNDIName="com.bea.wli.bpm.ErrorTopic"/>
    <JMSTopic Name="WLI_BPM_Audit"
    JNDIName="com.bea.wli.bpm.AuditTopic"/>
    <JMSTopic Name="WLI_BPM_Notify"
    JNDIName="com.bea.wli.bpm.NotifyTopic"/>
    <!-- AI -->
    <JMSQueue Name="WLAI_ASYNC_REQUEST_QUEUE"
    JNDIName="com.bea.wlai.ASYNC_REQUEST_QUEUE"/>
    <JMSQueue Name="WLAI_ASYNC_RESPONSE_QUEUE"
    JNDIName="com.bea.wlai.ASYNC_RESPONSE_QUEUE"/>
    <JMSQueue Name="WLAI_EVENT_QUEUE"
    JNDIName="com.bea.wlai.EVENT_QUEUE"/>
    <JMSTopic Name="WLAI_EVENT_TOPIC"
    JNDIName="com.bea.wlai.EVENT_TOPIC"/>
         <!-- App View control -->
         <JMSQueue JNDIName="com.bea.wlai.WORKSHOP_ASYNC_RESPONSE_QUEUE" Name="WLAI_WORKSHOP_ASYNC_RESPONSE_QUEUE"/>
         <JMSQueue JNDIName="com.bea.wlai.WORKSHOP_EVENT_QUEUE" Name="WLAI_WORKSHOP_EVENT_QUEUE"/>
    <!-- WLI -->
    <JMSQueue Name="WLI_FailedEvent"
    JNDIName="com.bea.wli.FailedEventQueue"
    StoreEnabled="true"/>
    <JMSTemplate Name="WLI_JMSTemplate"
    ErrorDestination="WLI_FailedEvent"
    RedeliveryDelayOverride="60000"
    RedeliveryLimit="10"/>
    </JMSServer>
    <JMSJDBCStore Name="JMSWLIStore"
    ConnectionPool="wliPool"
    PrefixName="platformServer"/>
    <!-- Distributed queue/topic configuration for WLI components -->
    <!-- End WLI configuraion for Platform -->
    <!--===========================================================================-->
    <!-- Configure the J2EE enterprise applications supporting the Platform -->
    <!--===========================================================================-->
    <!-- The enterprise application containing the WLS-based Tax and Payment WebService -->
    <Application
    Deployed="true"
    Name="taxWSApp"
    Path="C:/bea/user_projects/epmsDomain/beaApps/taxWSApp"
    TwoPhase="true"
    >
    <EJBComponent
    Name="tax"
    URI="tax.jar"
    Targets="platformServer"
    />
    <WebAppComponent
    Name="tax-webservice"
    URI="tax-ws"
    Targets="platformServer"
    />
    </Application>
    <Application
    Deployed="true"
    Name="paymentWSApp"
    Path="C:/bea/user_projects/epmsDomain/beaApps/paymentWSApp"
    TwoPhase="true"
    >
    <EJBComponent
    Name="payment"
    URI="payment.jar"
    Targets="platformServer"
    />
    <WebAppComponent
    Name="payment-edit webservice"
    URI="pay-ws"
    Targets="platformServer"
    />
    </Application>
    <!-- The enterprise application containing the installed/online links documentation -->
    <Application
    Deployed="true"
    Name="wlpDocsApp"
    Notes=""
    Path="C:/bea/weblogic700/portal/lib"
    TwoPhase="true"
    >
    <WebAppComponent
    IndexDirectoryEnabled="false"
    Name="wlpDocs"
    Targets="platformServer"
    URI="wlpDocs.war"
    ServletReloadCheckSecs="300"
    />
    </Application>
    <!-- The enterprise application containing the WLP components -->
    <Application
    Deployed="true"
    Name="portalApp"
    Notes=""
    Path="C:/bea/user_projects/epmsDomain/beaApps/portalApp"
    TwoPhase="true"
    >
    <ApplicationConfiguration
    Name="portalApp"
    Targets="platformServer"
    URI="META-INF/application-config.xml"
    />
    <EJBComponent
    Name="events"
    Targets="platformServer"
    URI="events.jar"
    />
    <EJBComponent
    Name="pipeline"
    Targets="platformServer"
    URI="pipeline.jar"
    />
    <EJBComponent
    Name="property"
    Targets="platformServer"
    URI="property.jar"
    />
    <EJBComponent
    Name="rules"
    Targets="platformServer"
    URI="rules.jar"
    />
    <EJBComponent
    Name="usermgmt"
    Targets="platformServer"
    URI="usermgmt.jar"
    />
    <EJBComponent
    Name="customer"
    Targets="platformServer"
    URI="customer.jar"
    />
    <EJBComponent
    Name="ebusiness"
    Targets="platformServer"
    URI="ebusiness.jar"
    />
    <EJBComponent
    Name="portal"
    Targets="platformServer"
    URI="portal.jar"
    />
    <EJBComponent
    Name="campaign"
    Targets="platformServer"
    URI="campaign.jar"
    />
    <EJBComponent
    Name="catalogws"
    Targets="platformServer"
    URI="catalogws.jar"
    />
    <EJBComponent
    Name="document"
    Targets="platformServer"
    URI="document.jar"
    />
    <EJBComponent
    Name="ejbadvisor"
    Targets="platformServer"
    URI="ejbadvisor.jar"
    />
    <EJBComponent
    Name="mail"
    Targets="platformServer"
    URI="mail.jar"
    />
    <EJBComponent
    Name="placeholder"
    Targets="platformServer"
    URI="placeholder.jar"
    />
    <WebAppComponent
    Name="toolSupport"
    Targets="platformServer"
    URI="toolSupport"
    ServletReloadCheckSecs="300"
    />
    <WebAppComponent
    Name="tools"
    Targets="platformServer"
    URI="tools"
    ServletReloadCheckSecs="300"
    />
    <WebAppComponent
    Name="datasync"
    Targets="platformServer"
    URI="datasync"
    ServletReloadCheckSecs="300"
    />
    <WebAppComponent
    Name="splashPage"
    Targets="platformServer"
    URI="splashPage"
    ServletReloadCheckSecs="300"
    />
    <!-- The enterprise application containing the WLP P13N Console components -->
    </Application>
    <Application
    Deployed="true"
    TwoPhase="true"
    StagedTargets="platformServer"
    Name="p13nConsoleApp"
    Path="C:/bea/weblogic700/portal/lib"
    >
    <WebAppComponent
    Name="p13nConsole"
    ServletReloadCheckSecs="300"
    Targets="platformServer"
    URI="p13nConsole.war"
    />
    </Application>
    <!-- The enterprise application containing the WLI components -->
    <Application Deployed="true" LoadOrder="900" Name="EAI" Path="C:/bea/weblogic700/samples/workshop/wlai/ear/" TwoPhase="true">
    <EJBComponent
    DeploymentOrder="100"
    Name="repository-ejb.jar"
         Targets="platformServer"
    URI="repository-ejb.jar"/>
    <EJBComponent Name="WLI-B2B Startup"
    DeploymentOrder="200"
    Targets="platformServer"
    URI="b2b-startup.jar"/>
    <EJBComponent DeploymentOrder="300" Name="b2b-rosettanet.jar" Targets="platformServer" URI="b2b-rosettanet.jar"/>
    <WebAppComponent DeploymentOrder="400" Name="b2b.war" Targets="platformServer" URI="b2b.war"/>
    <WebAppComponent DeploymentOrder="500" Name="b2bconsole.war" Targets="platformServer" URI="b2bconsole.war"/>
    <EJBComponent DeploymentOrder="600" Name="WLI-AI Server" Targets="platformServer" URI="wlai-server-ejb.jar"/>
    <WebAppComponent DeploymentOrder="700" Name="wlai" Targets="platformServer" URI="wlai.war"/>
    <EJBComponent DeploymentOrder="800" Name="WLI-AI Async Processor" Targets="platformServer" URI="wlai-asyncprocessor-ejb.jar"/>
    <EJBComponent DeploymentOrder="900" Name="WLI-AI Event Processor" Targets="platformServer" URI="wlai-eventprocessor-ejb.jar"/>
    <EJBComponent DeploymentOrder="1000" Name="wlpi-ejb.jar" Targets="platformServer" URI="wlpi-ejb.jar"/>
    <EJBComponent DeploymentOrder="1100" Name="wlpi-master-ejb.jar" Targets="platformServer" URI="wlpi-master-ejb.jar"/>
    <EJBComponent DeploymentOrder="1200" Name="wlpi-mdb-ejb.jar" Targets="platformServer" URI="wlpi-mdb-ejb.jar"/>
    <EJBComponent DeploymentOrder="1300" Name="WLXTEJB.jar" Targets="platformServer" URI="WLXTEJB.jar"/>

  • Bizarre thread problem with JSP

    I'm having a strange problem using JSPs whereby a single method call to a
              bean results in 2 execute threads being created each executing the method
              called.
              I have a bean reference in the jsp that has session scope declared like this
              (package names left off):
              <jsp:useBean id="deployment" class="Deployment" scope="session">
              <% deployment.init(application); %>
              </jsp:useBean>
              I've also set the isThreadSafe value to "false" (since I'm trying to
              prevent/figure out what's going on):
              <%@ page isThreadSafe="false" %>
              Within the JSP body I have code that makes the method call on the deployment
              bean:
              if (action.equals("Send"))
              int status = deployment.send();
              Then, within my form I have:
              <INPUT TYPE="image" SRC="../images/Deploy.gif"
              onClick="confirmAndSubmit('Send',
              'Deploying Application to server <%=
              deployment.getServer() %>')"/>
              Where the functions called are:
              function setActionSubmit(action) {
              document.deployForm.actionPerformed.value = action;
              document.deployForm.submit();
              function confirmAndSubmit(action, promptString) {
              if (confirm(promptString)) {
              setActionSubmit(action);
              Tracing, thread dumping, et al, have confirmed that although I have a single
              session, I end up with two threads each executing the deployment.send()
              method.
              Any ideas? I'm stumped.
              Thanks,
              Jim
              

    I found the problem, although I don't completely understand the behavior:
              The FORM was not handling the submit event, leaving it to the whim of the
              browser to have its way with the event. Although it sometime ended up
              having two threads serving the request, it didn't always.
              The solution was to put an onSubmit=="return false;" in the <form>
              Hope this helps someone else.
              Jim
              "Jim Gish" <[email protected]> wrote in message
              news:[email protected]...
              > I'm having a strange problem using JSPs whereby a single method call to a
              > bean results in 2 execute threads being created each executing the method
              > called.
              >
              > I have a bean reference in the jsp that has session scope declared like
              this
              > (package names left off):
              >
              > <jsp:useBean id="deployment" class="Deployment" scope="session">
              > <% deployment.init(application); %>
              > </jsp:useBean>
              >
              > I've also set the isThreadSafe value to "false" (since I'm trying to
              > prevent/figure out what's going on):
              > <%@ page isThreadSafe="false" %>
              >
              > Within the JSP body I have code that makes the method call on the
              deployment
              > bean:
              > if (action.equals("Send"))
              > {
              > int status = deployment.send();
              > }
              >
              > Then, within my form I have:
              > <INPUT TYPE="image" SRC="../images/Deploy.gif"
              > onClick="confirmAndSubmit('Send',
              > 'Deploying Application to server <%=
              > deployment.getServer() %>')"/>
              >
              > Where the functions called are:
              > function setActionSubmit(action) {
              > document.deployForm.actionPerformed.value = action;
              > document.deployForm.submit();
              > }
              >
              > function confirmAndSubmit(action, promptString) {
              > if (confirm(promptString)) {
              > setActionSubmit(action);
              > }
              > }
              >
              > Tracing, thread dumping, et al, have confirmed that although I have a
              single
              > session, I end up with two threads each executing the deployment.send()
              > method.
              >
              > Any ideas? I'm stumped.
              >
              > Thanks,
              > Jim
              >
              >
              >
              >
              >
              

  • Problem configuring RVS4000 router

    I just purchase the Cisco Router RVS4000 vpn and I am having problem configuring the VPN option.  I just try all way I could imaging, but somehow something are missing and I don't know what it is.  Here are a image of my current configuration.

    Without examining this in detail, it is only half of the equation.  The other end of the tunnel needs to be configured as well.  BTW, don't ever post your WAN IP and shared key in a public forum.  Change the key.

  • Cookie Problem  With JSP and Tomcat

    I have a tiny web application developed for my project thing.
    I am facing a problem while maintaining sessions with Cookie. I use Tomcat 3.2.1 Web Server and JSP 1.2 Specifications for my web application.
    I have created a page which creates a cookie and stores it in the client's PC, so when the same client visits the site, he can be remembered. Now while surfing the site in the same session, the site remembers the client. But once the client closes the browser and tries connecting to the site, he cannot be remembered. So I took a look into Temporary Internet Files of the client PC and found no cookie there. So where the cookie gets created and why does it disappears with the session. I have set a time limit of 1 year in the cookie.
    Now is that a Problem with Tomcat or with the configuration settings of IE in the client PC?? Or something else???
    Reply me Soon...

    Thanks for your reply.
    following is the code for how do i create a cookie...
    <%
         String custno = custBean.createPreferred();
         Cookie c = new Cookie("pc", custno);
         c.setVersion(1);
         c.setPath("/");
         c.setComment("PreferredCustomer");
         c.setDomain("think_machine");
    //think_machine is the name of the Web Server(Tomcat)
         c.setMaxAge(365*24*60*60);
         response.addCookie(c);
    %>
    And the code to read a cookie is..
         String custID = null;
         Cookie[] cookies = request.getCookies();
         for(int i = 0; i < cookies.length; i++)
              if(cookies.getName().equals("pc"))
                   custID = cookies[i].getValue();
                   break;
    One more thing I would like to let you know, that i access this from the same PC on which the Web Server is installed. Means the Server and the client are both one and the same PC.

  • Problem with jsp file on Mac running windows 7 thru bootcamp

    I'm running Windows 7 64 bit on a Mac.  Install went fine.  Problem is that I cannot launch a jsp file (that then launches Citrix).  Instead I get a message that it wants to save the file, or search the web for the program to open it. 
    I downloaded and installed Java (from Java website), but still have the same problem.  Any ideas?  Thanks!

    It does not work in Windows, "I'm running Windows 7 64 bit" that is why I suggested to check your "Windows" file associations and to look into a Windows forum. The issue has to do with Windows. Are you trying to view a jsp page with a browser? If so, what is the url? Are you trying to serve jsp pages? If so have you correctly configured a server with a srvlet container such as Tomcat?
    jsp pages are opened with a browser.

Maybe you are looking for