Hot swap and JSP debugging for Weblogic in exploded format?

Hi,
I'm trying to use JDeveloper for JSF development to be deployed to a weblogic server.
I must say JDeveloper is a great tool for JSF development as none of the free IDE in the market can do what JDeveloper does.
However, I have a question on hot swap and JSP debugging.
I have managed to setup JDeveloper to debug my JSF application deploy to my Weblogic server's applications folder in exploded format.
I can step through the java code.
However, I didn't manage to do a hot swap and the break point set in the JSF-JSP does not seems to take effect.
I would appreciate any advice on the problem.
Thanks.
Han Ming

How did you setup the server to handle exploded format? Appreciate the help. Sorry can't help with your question though.
Thnx.
Soni

Similar Messages

  • Custom JSP Tags for Weblogic

    Hi,
              I have several questions regarding this topic:
              1) Does Weblogic 5.1 supports Custom Tags ? If so, are there any known
              problems ?
              2) Does Weblogic come with any tag libraries (for loops, if, etc) and where
              can I get them ?
              3) Are there any tag libraries out there (JRun, for example) that have been
              successfully run on Weblogic ?
              Any help would be much appreciated.
              Thanks,
              Jamie
              

    As there seems to be general interest, a link would probably be a great
              help.
              Regards
              Daniel Hoppe
              -----Original Message-----
              From: Michael Girdley [mailto:[email protected]]
              Posted At: Friday, August 25, 2000 8:03 AM
              Posted To: jsp
              Conversation: Custom JSP Tags for Weblogic
              Subject: Re: Custom JSP Tags for Weblogic
              Please see the documentation:
              http://www.weblogic.com/docs51/resources.html
              Michael Girdley
              BEA Systems Inc
              "Jamie" <[email protected]> wrote in message
              news:[email protected]...
              > Update
              > =======
              >
              > Weblogic Portal has some Tag libraries. I've downloaded the trial
              version
              > of
              > the Weblogic Commerce Server. How do I get the tag libraries and use
              them
              > on WL 5.1 ?
              >
              > Answers to original post still wanted
              >
              > Thanks,
              >
              > Jamie
              >
              > Jamie <[email protected]> wrote in message
              > news:[email protected]...
              > > Hi,
              > >
              > > I have several questions regarding this topic:
              > >
              > > 1) Does Weblogic 5.1 supports Custom Tags ? If so, are there any
              known
              > > problems ?
              > >
              > > 2) Does Weblogic come with any tag libraries (for loops, if, etc)
              and
              > where
              > > can I get them ?
              > >
              > > 3) Are there any tag libraries out there (JRun, for example) that
              have
              > been
              > > successfully run on Weblogic ?
              > >
              > >
              > > Any help would be much appreciated.
              > >
              > > Thanks,
              > >
              > > Jamie
              > >
              > >
              >
              >
              

  • OpenSolaris - Difference between hot swapping and hot plugging?

    Hello,
    I would like to know the difference between hot swapping and hot plugging on
    OpenSolaris. I wonder if someone could please help?
    Thank you,
    Akino

    Hi,
    Try saying "hot repair" and "hot upgrade" instead. And then think about all the actions you need to perform to do what you want to do (replace a failed component vs add a new component).
    Write if you have questions.
    Kirill Babeyev

  • Where to download wlst.jar and python.jar for weblogic 10

    where to download wlst.jar and python.jar for weblogic 10 ? I am unable to find the links ..most of the prevoius ones point to dev2dev which are no longer valid

    Hi,
    I have written the below python script to list the user ,that was created in realms->myrealms->users.
    It's not working it.
    Kindly help to in this python script.
    from weblogic.management.security.authentication import UserReaderMBean
    from weblogic.management.security.authentication import GroupReaderMBean
    file_loc='MbeanValues.properties'
    file=java.io.File(file_loc)
    if file.exists():
         loadProperties(file_loc)
    connect(dwlusr,dwlspwd,dwlsurl)
    domain_name = cmo.getName()
    print 'UserName='+dwlusr
    print 'URL='+dwlsurl
    print 'DomainName='+ domain_name
    print 'welcome'
    print 'Checking if isMember of a group'realm=cmo.getSecurityConfiguration().getDefaultRealm()
    atns = realm.getAuthenticationProviders()
    for i in atns:
    if isinstance(i,UserReaderMBean):
    userReader = i cursor = i.listUsers("*",0)
    print 'Users in realm '+realm.getName()+' are: '
    while userReader.haveCurrent(cursor):
    print userReader.getCurrentName(cursor)
    userReader.advance(cursor)
    userReader.close(cursor)for i in atns:
    if isinstance(i,GroupReaderMBean):
    groupReader = i
    cursor = i.listGroups("*",0)
    print 'Groups in realm are: '
    while groupReader.haveCurrent(cursor):
    print groupReader.getCurrentName(cursor)
    groupReader.advance(cursor)
    groupReader.close(cursor)
    disconnect()

  • Remte JSP debugging for standalong OC4J 10.3.x not working

    Follow the next steps:
    1. Copying the ojc.jar, jdev-rt.jar and jdev-remote.jar to the OC4J_HOME/lib
    directory
    2. Add the next lines to the application.xml file
    < !-- Remote Debug settings -->
    < library path="../../../lib/jdev-rt.jar" />
    < library path="../../../lib/ojc.jar" />
    < library path="../../../lib/ojmisc.jar" />
    3. Change the global-web-application.xml in a text editor.
    From the following section:
    < orion-web-app
    jsp-cache-directory="./persistence"
    servlet-webdir="/servlet"
    development="false"
    >
    Change development="false" to development="true" to enable servlet
    debugging.
    4. In the global-web-application.xml file, modify the jsp servlet tags to be:
    < servlet>
    < servlet-name>jsp< /servlet-name>
    < servlet-class>oracle.jsp.runtimev2.JspServlet< /servlet-class>
    < init-param>
    < param-name>debug_mode< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>developer_mode< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>encode_to_java< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>emit_debuginfo< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>jspjavacompiler< /param-name>
    < param-value>oracle.jdevimpl.jsp.JspOjcCompiler< /param-value>
    < /init-param>
    < load-on-startup>0< /load-on-startup>
    < /servlet>
    5. Start the oc4j using the next command:
    java -hotspot -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -jar oc4j.jar
    6. Deploy the application
    7. Select the Remote Debugging and Profiling option in the Run Configuration
    for the project with the jsp to debug.
    8. In the Debugger/Remote section of the run Configuration set the host, port
    and timeout to the correct ones (name of the computer where you are running
    the application).
    When trying to run the jsp you are going to get the error:
    STACK ERROR:
    07/12/28 11:56:56
    ....\j2ee\home\application-deployments\MyJ2eeApp\MyJ2eeApp\persistence\_pages\_MyPage
    error #552: illegal forward reference
    07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
    07/12/28 11:56:56
    2007-12-28 11:56:57.703 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP
    Page : oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: _MyPage
    Dependent class: oracle.jsp.runtimev2.JspPageInfo
    Loader: oc4j:10.1.3
    Code-Source: ..../j2ee/home/lib/ojsp.jar
    Configuration: < code-source> in META-INF/boot.xml in ....\j2ee\home\oc4j.jar
    This load was initiated at MyJ2eeAppInfo.web.MyJ2eeAppInfo.jsp26687282:0.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound
    (PolicyClassLoader.java:2068) [/C:/sw/oracle/oc4j101330/j2ee/home/lib/pcl.jar
    (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]
    Reproduced the problem with the next products:
    JDev OC4J Reproduced?
    10.1.3.3.0 10.1.3.2.0 YES
    10.1.3.3.0 10.1.3.3.0 YES
    10.1.3.2.0 10.1.3.2.0 YES
    When i try not use the following tags section
    < init-param>
    < param-name>emit_debuginfo< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    everything is working, but ojc not generate debug information for compiled JSP page and debugger doesn't stop at break points.
    When i try use thise tags section, i got the next instructions for compiler in MyPage.java (it is generated from MyPage.jsp):
    /*@lineinfo:filename=/MyPage.jsp*/
    /*@lineinfo:generated-code*/
    and compiler is generating next message in console:
    error #552: illegal forward reference
    07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
    and doesn't want to compile MyPage.java.
    I need help with this problem! And i don't have any ideas how to solve it. People, help me, please!

    Dear dvohra, have you ever try yourself the method, which you suggest?
    It is not working!
    If i try to configure OC4j like in blog, IDE doesn't stop in JSP's break points.
    So, I need in 100% working solution for remote debugging on oc4j 10.3.x. The main reason of using remote debug for me is that i have to develop portlets, and i have to invoke my portlets from portal. It is posible only when i deploy my portlet on stand alone oc4j!
    I really need remote debug! And i'll be very thankful someone for 100% working solution!

  • Redeploy precompiled JSPs to managed server in exploded format without incurring a JSP recompile

         How do you redeploy precompiled JSPs to a managed server in exploded format without
    incurring a JSP recompile?
         Our application is deployed in Two Phase, Stage mode, Exploded Format. We regularly
    update JSPs on our Production application and would like to be able to redeploy
    JSPs without incurring the JSP recompile. I am able to precompile JSPs and redeploy
    the JSP and compiled JSP to the managed server, but the updated page is still
    recompiled.
         I've searched the BEA site, newsgroups, and web and still need some help.
         Additional information:
         - precompile in web.xml is false. we'd prefer not to precompile all the jsps
    at startup to minimize Production downtimes when deploying new major releases
         - the compiled JSPs reside in ~/classes/jsp_servlet and not ~/WEB-INF/classes/jsp_servlet
         - our directory structure looks like:
              ~/app
                   /META-INF
                   /WEB-INF
                   /classes ( compiled source )
                        /hotwire ( java class files )
                        /jsp_servlet ( compiled jsps )
              ~/deploy ( property files )
                   /prod
                        /web.xml
                        /weblogic.xml
              ~/src ( java files )
                   hotwire/
         I found this information on the BEA newsgroup ( http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=582&utag=
    ) regarding the _isStale() method for compiled JSPs, but wasn't able to get it
    to work when the file was in the exact same path ( note: compilation occurred
    on a different machine than the managed view server )
         Do we have to store our compiled JSP files under /WEB-INF/classes for this feature
    to work and in a WAR?
         What am I missing?
         Regards,
              Paul

    Hi Mark,
    Thank you for replying and logging the CR. I've read lots of your posts in researching
    this issue and was hoping you'd reply.
    I used the JSP Precompile Validation Utility ( http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
    ) and tested against WLS8.1sp2 and agree with your assessment. The JSP Time utility
    indicates that the JSP and compiled class are in agreement, yet the server always
    recompiled the JSP after I redeployed that particular file and class. I opened
    Case Ticket #: 473459 that includes a test script, output, and lots of information.
    It's currently being investigated. I'll inform the BEA Relations engineer and
    add my name to the CR you opened.
    Dynamic content updates without recompiles is something we'd really like to be
    able to do. We are hoping to be able to do specific frequent content updates
    in the afternoon as opposed to 1:00 AM :)
    Thanks again,
    Paul
    JSP TIME TOOL:
    Summary
    ====================
    Total JSP Files: 1
    Total JSP that will compile in server because of missing _staticIsStale method:....
    0
    Total JSP that will compile in server because of wrong weblogic version:...........
    0
    Total JSP that will compile in server because jsp is newer than parse date:........
    0
    Total JSP that will compile in server because missing class:.......................
    0
    REDEPLOY COMMAND:
    $JAVA weblogic.Deployer -adminurl t3://localhost:7004 -user <username> -password
    <password> -name phoenixApp -targets phoenixViewWebApp@wlview1 -redeploy web/jsp/customer-care/indexMain.jsp
    WEB-INF/classes/jsp_servlet/_web/_jsp/_customer_45_care/__indexmain.jsp
    WEBLOGIC LOG:
    ####<Jan 13, 2004 3:33:04 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149059> <Module
    phoenixViewWebApp of application phoenixApp is transitioning from active to prepared
    on server wlview1.>
    ####<Jan 13, 2004 3:33:04 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149060> <Module
    phoenixViewWebApp of application phoenixApp successfully transitioned from active
    to prepared on server wlview1.>
    ####<Jan 13, 2004 3:33:05 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149059> <Module
    phoenixViewWebApp of application phoenixApp is transitioning from prepared to
    active on server wlview1.>
    ####<Jan 13, 2004 3:33:05 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149060> <Module
    phoenixViewWebApp of application phoenixApp successfully transitioned from prepared
    to active on server wlview1.>
    ####<Jan 13, 2004 3:38:13 PM PST> <Info> <HTTP> <ppjsp01> <wlview1> <ExecuteThread:
    '119' for queue: 'default'> <<anonymous>> <> <BEA-101295> <Recompiling JSP [ServletContext(id=31702491,name=phoenixViewWebApp,context-path=)],
    resource [web/jsp/customer-care/indexMain.jsp], because it is stale. It was previously
    compiled using a different version of WebLogic Server.
    JSP build version: 8.1.2.0
    WLS build version: 8.1.2.0.>
    ####<Jan 13, 2004 3:38:13 PM PST> <Info> <HTTP> <ppjsp01> <wlview1> <ExecuteThread:
    '119' for queue: 'default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=31702491,name=phoenixViewWebApp,context-path=)]
    Generated java file: /opt/p4/phoenix/6.2/app/WEB-INF/classes/jsp_servlet/_web/_jsp/_customer_45_care/__indexmain.java>
    "Mark Griffith" <[email protected]> wrote:
    So this is a scenario that we should support Paul.
    There are a couple of issues.
    1) I dont think our weblogic.Deployer api currently does a very good
    job of
    this at all, since it is MOSTLY concerned with redeployment of applications
    and modules, and in this scenario you dont want app redpeloyment you
    just
    want what are essentially content files distributed. In otherwords the
    api
    I worry wont help you distributing files for this case, at least in this
    current release and SP.
    2) once you get the files to the location, things should in the servlet
    containers.
    Having said that it is easier if you are able to have the application's
    deployed with -no-stage, or no-copying, or shared application, that way
    you
    have one location to copy files to vs. many stage dirs. Either way you'll
    have to copy the jsp's and the classfiles to the webapp directories.
    Additionally I just tried this on 8.1. sp2 and the stale-check by the
    servlet container is busted. :( I opened a bug on this: CR133453.
    Not
    sure if this is in sp1 or not, didnt have time to check it. I suggest
    you
    contact support and get your name added to this CR to raise its priority.
    Cheers
    mbg

  • JHTML to JSP convertor for WebLogic Server 4.5.0 and above

    Hallo,
    For what kind of JHTML is that convertor ???
    Can it convert Dynamo JHTML pages to JSP pages ???
    Thanks
    [email protected]
    Dusan

    The tool in the freeware downloads section of commerce.bea.com was a
    tool that was originally targeted at converting pre-WLS 4.51 JHTML into
    JSP 1.0 pages. It might be able to help you do the Dynamo conversion
    but I would suspect that you will still need to do some work by hand to
    make sure that everything is correctly converted...
    Hope this helps,
    Robert
    Dusan Petrovic wrote:
    Hallo,
    For what kind of JHTML is that convertor ???
    Can it convert Dynamo JHTML pages to JSP pages ???
    Thanks
    [email protected]
    Dusan

  • Another JSP qn for weblogic

              Hi
              I have this JSP , where I make use of interface Enumeration
              There is no import statement in JSP for Enumeration. It gives me an error in
              my IDE (wsad) and this JSP does not run inside WSAD.
              If I deploy this JSP in weblogic it works without a problem
              How does this work in weblogic .
              Please advise
              JSP is given below
              <html>
              <head>
              </head>
              <%
                   boolean isExpire = false;
                   System.err.println("Beginning of JSP");
                   if(request.getParameter("action")!=null){      
                        System.err.println("before calling clean session");
                        cleanSession(session);
                        System.err.println("after calling clean session");
                        if (request.getParameter("action").trim().equalsIgnoreCase("expire"))
                             isExpire = true;     
                   System.out.println("........isExprire:"+ isExpire);
                   String submit = request.getParameter("submit.x");
              %>
              <body onLoad="return setFocusOn();" bgcolor="#FFFFFF" leftmargin="0" topmargin="0"
              marginwidth="0" marginheight="0" vlink="#666666">
              <center>
              <table>
              <tr>     <td colspan=4 ><br><br><br><center>
                   <form action ="logon.jsp" name="myform" method="post" >
                        <table width="300" border="0" cellspacing="0" cellpadding="0" >
                             <tr ><td colspan=2> </td></tr>
                             <tr><td colspan=2><br><br></td></tr>
                             <tr><Td align=right><div class=labeling>WwProbUser ID :  </div></td><td>
                                  <input name="userName" class="nav-input" type=text maxlength=10></td></tr>
                             <tr><Td align=right><div class=labeling>Password :  </div></td><td>
                                  <input name="password" type=password class="nav-input" maxlength=10></td></tr>
                             <tr><td colspan=2><br></td></tr>
                             <tr><Td colspan=2 align=center><input type="submit" name="submit" border=0
              ><br><br></td></tr>
                             <tr ><td colspan=2><br></td></tr>
                        </table>
                   </form>
              </td>
              </tr>
              </table>
              </center>
              </body>
              </html>
              <%!
              private void cleanSession(HttpSession session){
                   Enumeration en = session.getAttributeNames();
                   System.err.println("Enumeration is "+ en.toString() +" "+en.getClass());
                   String session_name = null;
                   while (en.hasMoreElements()){
                        session_name = (String)en.nextElement();
                        if (session.getAttribute(session_name)!=null)     session.removeAttribute(session_name);
              %>
              

    Just compile a simple jsp page which doesnt have any import page directives
              with weblogic.jspc
              java weblogic.jspc -keepgenerated simple.jsp
              The generated java files will have the imports implicitly imported by wls
              "ks" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Nagesh
              >
              > Thanks for the answer ,
              >
              > Did that include java.io.* also , becuase this happens for the
              IoException classes
              > also,
              >
              > Where can we get a list of import statements like this which should not
              be declared
              >
              > Thanks again
              >
              >
              >
              > "Nagesh Susarla" <[email protected]> wrote:
              > >Weblogic's default import list includes "java.util.*" and thats the
              reason
              > >Enumeration works w/o the need for adding an explicit import to
              java.util.
              > >
              > >--Nagesh
              > >
              > >"ks" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> Hi
              > >>
              > >> I have this JSP , where I make use of interface Enumeration
              > >>
              > >> There is no import statement in JSP for Enumeration. It gives me an
              > >error
              > >in
              > >> my IDE (wsad) and this JSP does not run inside WSAD.
              > >>
              > >> If I deploy this JSP in weblogic it works without a problem
              > >>
              > >> How does this work in weblogic .
              > >>
              > >> Please advise
              > >>
              > >> JSP is given below
              > >>
              > >> <html>
              > >> <head>
              > >> </head>
              > >> <%
              > >>
              > >> boolean isExpire = false;
              > >> System.err.println("Beginning of JSP");
              > >> if(request.getParameter("action")!=null){
              > >> System.err.println("before calling clean session");
              > >> cleanSession(session);
              > >> System.err.println("after calling clean session");
              > >> if (request.getParameter("action").trim().equalsIgnoreCase("expire"))
              > >> isExpire = true;
              > >> }
              > >> System.out.println("........isExprire:"+ isExpire);
              > >> String submit = request.getParameter("submit.x");
              > >>
              > >>
              > >> %>
              > >> <body onLoad="return setFocusOn();" bgcolor="#FFFFFF" leftmargin="0"
              > >topmargin="0"
              > >> marginwidth="0" marginheight="0" vlink="#666666">
              > >> <center>
              > >> <table>
              > >> <tr> <td colspan=4 ><br><br><br><center>
              > >> <form action ="logon.jsp" name="myform" method="post" >
              > >> <table width="300" border="0" cellspacing="0" cellpadding="0" >
              > >> <tr ><td colspan=2> </td></tr>
              > >> <tr><td colspan=2><br><br></td></tr>
              > >> <tr><Td align=right><div class=labeling>WwProbUser ID :
              > > </div></td><td>
              > >>
              > >> <input name="userName" class="nav-input" type=text
              > >maxlength=10></td></tr>
              > >> <tr><Td align=right><div class=labeling>Password : </div></td><td>
              > >> <input name="password" type=password class="nav-input"
              > >maxlength=10></td></tr>
              > >> <tr><td colspan=2><br></td></tr>
              > >> <tr><Td colspan=2 align=center><input type="submit" name="submit"
              > >border=0
              > >> ><br><br></td></tr>
              > >> <tr ><td colspan=2><br></td></tr>
              > >> </table>
              > >> </form>
              > >> </td>
              > >> </tr>
              > >> </table>
              > >> </center>
              > >> </body>
              > >> </html>
              > >> <%!
              > >> private void cleanSession(HttpSession session){
              > >> Enumeration en = session.getAttributeNames();
              > >> System.err.println("Enumeration is "+ en.toString() +"
              "+en.getClass());
              > >> String session_name = null;
              > >> while (en.hasMoreElements()){
              > >> session_name = (String)en.nextElement();
              > >> if (session.getAttribute(session_name)!=null)
              > >session.removeAttribute(session_name);
              > >>
              > >> }
              > >> }
              > >> %>
              > >>
              > >
              > >
              >
              

  • Hot get and apply HPs for WebAS6.2 MINI?

    I've recently installed a mini version of SAP 6.2 WEBAS (ABAP, of course). It comes in HP 24, but I would like to bring it to 29 at least so I could play with ABAP Memory Inspector.
    Questions:
    Where can I get the Hot packs?
    How can I install them?
    Thanks
    Leonardo.

    I can't find the HP's to download.
    I go to SAP Support Portal with my OSS ID and seach in the Software download section but the search engine returns nothing.
    There are a few options:
    Search for Support Packages and Patches - RETURNS NOTHING even if I enter the right package name
    Entry by Application Group - Doesn't work either
    My Company's Application Components - It could be a great way of doing it, if I had a software registered... It is a mini...
    Any help here is greatly appreciated.
    Leonardo.

  • Cfcontent and MIME types for MS outlook .MSG format

    Hi
    I am using a web service that returns the contents of a MSG file as a binary string.
    I was hoping to use <cfcontent> to then be able to render the document on demand when the user required.
    (e.g.)
    <cfcontent type="application/vnd.ms-outlook"><cfoutput>#tostring(structDocument.filecontent)#</cfout put><cfabort /> 
    However whenever I try to do this a dialogue box appears asking me to save or open the .cfm file instead of rendering the document like it would for the other file types.  Opening the .cfm file, I can see that the content is pretty much intact. 
    (e.g.)
    <cfcontent type="application/pdf"><cfoutput>#tostring(structDocument.filecontent)#</cfoutput><cfabor t /> 
    WORKS
    Does anyone have any ideas? 
    Thanks

    Hi Adam,
    In the end, the only way that I could get it to work in all browsers was to create a temporary file.  However, the cfheader info was useful, so thanks.
    Michael
    Code I used:
    <cffile action="write"
    file="#GetTempDirectory()#/#varFileName#"
            output="#structDocument.Filecontent#"
    >
    <!--- Output doc --->
    <cfheader name="Content-Disposition" value="#var_content_dis#">
    <cfheader name="Content-Length" value="#var_content_len#">
    <cfcontent type="#var_content_type" file="#GetTempDirectory()#/#varFileName#">

  • Get start and end date for posting period (YYYYMMM format)

    In revenue recognition I'd like to have the start date and the end date of the posting period, which is in format YYYYMMM. It's field VBREVR-BDJPOPER.
    Any idea?
    I had no luck so far to find a relevant FM.
    Thanks in advance,
    Peter

    Hi,
    Use this FM To convert the date into DD.MMM.YYYY format
    <b>CONVERSION_EXIT_SDATE_OUTPUT</b>.
    Use the followiong FM To convert the date into <b>user specified</b> format
    <b>SLS_MISC_CONVERT_TO_DATE</b>     
    Rewaed if helpful.
    Regards,
    Sandhya

  • T60: Ultrabay: Hot swap of OD works, but not of a certain HDD

    post-edit (more precisely asked question)
    Hi,
    I have a T60 with Windows XP 2002 SP2 as Operating System.
    My question is about hot swapping a certain device; i.e. connecting it to running machine.
    - When I hot swap an optical drive (DVD Multi by Lenovo (Hitachi)) into the Ultrabay slot, it is immediately recognized by the OS. It appears in the Windows Drive Management as well as in the Explorer.
    - In contrast, when I hot swap a 500GB SATA HDD in a 'Leicke' adapter into the Ultrabay slot, the HDD is not recognized by the OS. The HDD does not appear in the Drive Management as a data carrier and the (four) logical drives on the HDD are not shown in the explorer.
    (Electrically, the adapter seems to be properly connected: the HDD's and the T60's control LEDs are on.)
    However, AFTER REBOOTING the T60 with the Ultrabay HDD ALREADY INSERTED, the Drive Management recognizes the HDD as data carrier as well as the logical drives on it without any problem. Even the correct drive letters appear automatically.
    =>> How can I make the OS recognize a hot swapped HDD (in an adapter) as well as an hot swapped optical drive?
    Thanks a lot,
    rolf
    post-edit 2010-12-10 02:20 PM:
    I now borrowed a colleague's 320GB HDD (Samsung HM320JI) and used it with the same Ultrabay adapter in my T60 - and the hot-swapping works perfectly... :-)
    So, obviously my 500GB HDD (Seagate Momentus 5400.6) is the actual trouble maker. :-(
    ==>> What can I do at the hard disk, in the OS or elsewhere to make Windows XP accept the 500GB also when hot swapped and not only after rebooting?
    (Sorry for my somewhat off-topic questions before, but I didn't expect the problem could be related to the disk.).
    old version:
    t60: hot swap of ultrabay HDD
    Hi,
    after succeslessly searching several www places and the ThinkVantage help function for a precise and comprehensible  answer, I hope to find it here. 
    I have a 500GB SATA HDD in an ultrabay adapter. I want to be able to (re-)connect it with the running t60 because I neither want it to be plugged in all the time, nor do I want to reboot the t60 for accessing the HDD's data.
    (post-edit: I want the Ultrabay device to be handled like an USB device; i.e. I want it to be recognized by Windows XP also when it is inserted AFTER booting)
    - Is 'hotSwapping' the proper word for what I want to do?
    - If so, how can I find out if my t60 is capable of hotswapping?
    - If it is, how do I switch on the function?
    Thanks a lot and best regards,
    rolf

    pommesmann, welcome to the forum,
    yes hot swapping is the correct term, you must however ensure you use the "safely remove hardware" - "Hardware sicher entfernen" function of the OS you are using. There is an icon in the task bar; in XP it looks like a pc card with agreen arrow above it, in W7 an usb stick with a white tick in a green circle.
    to be absolutely correct, it's not 100% the hardware that is hot swapping capable; the OS needs to support it. Windows OSes since W2K have supported it. Therefore if you have W2K, XP, Vista or W7 your T60 is capable of hot swapping.
    you don't need to turn it on, it's there by default with the above mentioned OSes.
    Caution. Do not create shortcuts from files / folders on the bay hard drive to your desktop; when trying to "stop" it using the remove hardware function you will get a message that you can't because it's being accessed. Another example is music files on the drive which are linked to albums in media player, this can also cause problems. One that really got me wondering one day turned out to be a file that I had sent as an attachment in an e-mail; as I hadn't closed Outlook Windows thought the drive was still being accessed.
    Hope this helps
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Oracle BPEL is not starting up for Weblogic 8.1.5

    I have installed Weblogic 8.1.5 and Oracle BPEL for Weblogic in D:. When I tried to start the Oracle WL BPEL, I get the following exception.
    <Dec 21, 2005 11:48:05 AM IST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at D:\OraBPELPM_2\user_projects\wlorabpel\.\config.xml.>
    <Dec 21, 2005 11:48:06 AM IST> <Error> <Management> <BEA-140002> <InvocationTargetException occurred while setting attribute Properties on MBean wlorabpel:Name=BPELServerPool,Type=JDBCConnectionPool to value {user=system, password=manager}. Method: public void weblogic.management.mbeans.custom.JDBCConnectionPool.setProperties(java.util.Properties) throws javax.management.InvalidAttributeValueExcep
    tion.
    weblogic.security.internal.encryption.EncryptionServiceException: [Security:0902
    19]Error decrypting Secret Key java.lang.SecurityException: sealing violation: p
    ackage com.rsa.jsafe is sealed
    at weblogic.security.internal.encryption.JSafeSecretKeyEncryptor.decrypt
    SecretKey(JSafeSecretKeyEncryptor.java:120)
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<ini
    t>(JSafeEncryptionServiceImpl.java:205)
    at weblogic.security.internal.encryption.JSafeEncryptionServiceFactory.g
    etEncryptionService(JSafeEncryptionServiceFactory.java:23)
    at weblogic.security.internal.SerializedSystemIni.getEncryptionService(S
    erializedSystemIni.java:230)
    at weblogic.security.internal.SerializedSystemIni.getEncryptionService(S
    erializedSystemIni.java:238)
    at weblogic.management.EncryptionHelper.getCEncryptionService(EncryptionHelper.java:141)
    at weblogic.management.EncryptionHelper.encryptString(EncryptionHelper.j
    ava:81)
    at weblogic.management.mbeans.custom.JDBCConnectionPool.setProperties(JD
    BCConnectionPool.java:50)
    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:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBe
    anImpl.java:1662)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
    anImpl.java:1109)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
    igurationMBeanImpl.java:369)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
    ava:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
    ava:1333)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribu
    te(RemoteMBeanServerImpl.java:431)
    at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(Remot
    eMBeanServerImpl.java:387)
    at weblogic.management.internal.WLSParserHandler.parseMBeanAttributes(WL
    SParserHandler.java:1189)
    at weblogic.management.internal.WLSParserHandler.startElement(WLSParserH
    andler.java:469)
    at weblogic.management.internal.xml.ConfigurationRepositoryImpl.processE
    lements(ConfigurationRepositoryImpl.java:1059)
    at weblogic.management.internal.xml.ConfigurationRepositoryImpl.processE
    lements(ConfigurationRepositoryImpl.java:1066)
    at weblogic.management.internal.xml.ConfigurationRepositoryImpl.parseThr
    ough(ConfigurationRepositoryImpl.java:468)
    at weblogic.management.AdminServerAdmin.parse(AdminServerAdmin.java:733)
    at weblogic.management.AdminServerAdmin.initializeRepository(AdminServer
    Admin.java:865)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java
    :267)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
    at weblogic.Server.main(Server.java:32)
    >
    The WebLogic Server did not start up properly.
    Exception raised: 'weblogic.management.configuration.ConfigurationException: [Se
    curity:090219]Error decrypting Secret Key java.lang.SecurityException: sealing v
    iolation: package com.rsa.jsafe is sealed - with nested exception:
    [weblogic.security.internal.encryption.EncryptionServiceException: [Security:090
    219]Error decrypting Secret Key java.lang.SecurityException: sealing violation:
    package com.rsa.jsafe is sealed]'
    Reason: weblogic.management.configuration.ConfigurationException: [Security:0902
    19]Error decrypting Secret Key java.lang.SecurityException: sealing violation: p
    ackage com.rsa.jsafe is sealed - with nested exception:
    [weblogic.security.internal.encryption.EncryptionServiceException: [Security:090
    219]Error decrypting Secret Key java.lang.SecurityException: sealing violation:
    package com.rsa.jsafe is sealed]
    D:\OraBPELPM_2\user_projects\wlorabpel>ENDLOCAL
    D:\OraBPELPM_2\user_projects\wlorabpel>ENDLOCAL
    D:\OraBPELPM_2\user_projects\wlorabpel>
    Does anybody know why this exception is coming or Is the oracle bpel different for Weblogic 8.1.5 ?

    Can you use WebLogic 8.1 SP4 ? BPEL has been certified with that version. We have been able to reproduce the issue and currently investigating the cause of it.

  • Serving Java Servlets and JSP

    I have a small hosting company and was wondering what is required to be installed on a Win2k Server to host Java Servlets and JSP pages for a client of mine?

    Ah, so you just want to add a servlet engine to IIS5?
    Tomcat can be used as a plugin for IIS. Check out the Tomcat FAQs - somewhere in there you should find one relating to using Tomcat as an IIS plugin. They're far more comprehensive than I could ever hope to be on the matter!

  • Need to write start up scrits for weblogic admin server on Linux

    Hi,
    I am new to weblogic i have Installed wls1035 on Linux Created Managed servers,but i want write start up and stop scripts for weblogic admin server please let me know how to write.
    My weblogic server is Running on Linux..please help me its very urgent for me.....

    Put something like this into a startAll.py file (excluding the ---):
    startNodeManager(verbose='false',NodeManagerHome=localWlsHome + '/common/nodemanager',ListenPort=5556,ListenAddress=localhost)
    nmConnect('weblogic','password','localhost','5556','domain_name')
    nmStart('AdminServer','/path-to-domain-dir')     
    nmStart('my_server_1','/path-to-domain-dir')     
    nmStart('my_server_2','/path-to-domain-dir')     
    nmDisconnect()
    exit()
    source /path-to-domain-dir/bin/setDomainEnv.sh
    $JAVA_HOME/bin/java weblogic.WLST startAll.py
    Similar for stop (stopAll.py):
    nmConnect('weblogic','password','localhost','5556','domain_name')
    nmKill('my_server_1')     
    nmKill('my_server_2')     
    nmKill('AdminServer')
    stopNodeManager()
    exit()
    source /path-to-domain-dir/bin/setDomainEnv.sh
    $JAVA_HOME/bin/java weblogic.WLST stopAll.py
    You might have issues with the Nodemanager having an autogenerated username and password. That can be fixed like this:
    In the AdminServer console, click on Lock & Edit
    In the AdminServer console, go to <domain> -> Security -> General -> Advanced and update the Node Manager username and password to use the same values as the WebLogic server.
    In the AdminServer console, apply the changes.
    Start WLST: $WL_HOME/common/bin/wlst.sh
    Connect to the AdminServer: connect('weblogic','password','t3://<adminserver-hostname>:<adminserver-port>')
    Enroll: nmEnroll('/path-to-domain-dir')
    Exit WLST: CTRL^D
    You might also look into customizing the nodemanager's property file:
    Edit $WL_HOME/common/nodemanager/nodemanager.properties
    StopScriptEnabled=true
    CrashRecoveryEnabled=true
    StartScriptEnabled=true
    For further reading, please take a look at: http://docs.oracle.com/cd/E15051_01/wls/docs103/config_scripting/reference.html
    Edited by: 925121 on Apr 3, 2012 2:16 AM

Maybe you are looking for

  • Help, how to open and display blobs from tables

    Dear all, I am trying to store ms-word files on a table using a blob column. Does anyone how to open the files and display them from a form using 9iAS? Thank you. Carlos.

  • IN F-03 DATA NOT GETING PROFT CENTERWISE

    I HAVE QUERY ABOUT GL TAG BY PROFIT CENTER WISE  WHEN I CHECK IN FAGLL03 THE ENTRY GET SEPARATED WITH  PARTICULAR PROFIT CENTER BUT WHEN I USE F-03 FOR G/L TAGGING  PROFIT CENTER FELID GET BLANK . I WANT TAG DATA PROFIT CENTER WISE HOW CAN GET THE DA

  • IPad 2 Syncing Problmes

    I bought my iPad 2 a couple of mounths ago and have synced with iTunes many timse with no problems. I went on my Macbook, opened up iTunes and tried to sync my iPad and the sync button in the lower right is greyed out. This has never happened before.

  • HP Mini 110-1030CA headphone audio jack: low-qualit​y

    So, the headphone audio jack seems to only give me low-quality unintelligible sound. I've seen various posts about installing the Vista version of the IDT driver, but that didn't work. I don't mean that it didn't solve my problem, I mean it didn't in

  • Is it possible to apply path styles to live paint objects or clipping paths?

    Hey everybody! I tried searching for the answer online, but couldn't find what I was looking for... I want to create an illustration with black outlines. Within these outlines I want to have some spots without outlines that stay clean within the line