Turning "RunConversionVisibly" on under WebLogic

I'm trying to debug a PDFG problem that is happening on a client site.  I would like to turn on the "RunConversionVisibly" flag.  I have instructions on how to do this in JBoss (using the jmxconsole app to change this MBean property on the PDFMaker service).  I have also managed to perform the same operation using the Java jconsole app under JBoss however I've been unable to utilize jconsole to turn this flag on under WebLogic.
I'm able to connect jconsole to Weblogic however I don't see the adobe.com MBean.  Just like under JBos, I can see JMImplementation, java.lang and java.util.logging MBeans.  I can also see Security and com.bea MBeans, but no adobe,com MBean.
The client is running LiveCycle 8.2.1 SP3,WebLogic 10.0, Windows 2003 64-bit, MS SQL Server 2005 SP1.
How can I turn on "RunConversionVisibly" under WebLogic?
Rob

This appears to be (yet another) bug in ADE2.0/2.0.1, that (randomly?) effect some people, but not all.
Easiest solution is to install the olver version.
~~~~~~~~~
There are lots of bugs in ADE2.0 (and 2.0.1).  Try replacing ADE2.0 with the older but more reliable v1.7.2.
(You can have them both installed at once if you like.)
Version 1.7.2, it is a little difficult to find, available on Adobe site for Windows and for Mac.
http://helpx.adobe.com/digital-editions/kb/cant-install-digital-editions.html
The forum software is sometimes corrupting the link above.  There shouldn't be a blank in 'editio ns.html'.  The following redirects to the same page: http://tinyurl.com/diged172
Some people have found ADE trying to upgrade automatically. 
It appears (not 100% sure) that if you install ADE2.0 as a new install (not as an upgrade) that your 1.7.2 will continue to run.
Probably best to say no if 2.0.x installation asks if you want to migrate your library.

Similar Messages

  • Setting up OIM to start as a Windows Service running under Weblogic 10.3.2

    Hi,
    On recommendation from our Oracle Rep. we have begun migrating our existing OIM installation on Oracle AS to a Weblogic Application Server. As such we are looking for a way to get the OIM application to run as a service in windows - so we dont have to start it manually after a reboot and so that system monitoring can alert us if/when the application crashes for some reason.
    I have asked Oracle support - which basically said that no such howto/documentation exists and that "One needs to debug on their own when face any issue." (whatever the h*** that means).
    I was thinking that we werent the first customers trying to get the OIM webapplication to start automatically under weblogic and that someone must have figured out a way to accomplish this ?
    Any advice on how to do this will be greatly appreciated.
    Thank you in advance.
    /Jacob

    Hi Jacob,
    See this post that I answered few time ago. Re: Keeping Remote Manager running - Windows
    Our OIM is running as a Windows Service.
    REnato

  • I have upgraded to ios5 and Facetime no longer works.  I have tried turning off Facetime under settings and back on, but it still does not work.

    I have upgraded to ios5 and Facetime no longer works.  I have tried turning it off under Settings and then back on, but it still doesn't work. The symptoms are the same as what I read but the solution that has worked for some has not worked for me.

    Hi,
    Try restoring your iPad.
    If not speak to someone at the genius bar in Apple

  • Oracle Portal returns 500 error running under Weblogic 11g server

    I've got Oracle Portal set up under Weblogic 11g.
    SSO running, talking to OID 11g, also running under the same Weblogic 11g server. Tested SSO, it is working well.
    After the install (no errors or issue on install), I go to http://<server>:8090/portal/pls/portal and geta Error 500 - Internal Server Error.
    I traced down the problem to OHS - in ohs1.log:
    [2009-08-04T10:09:15.0512-05:00] [OHS] [ERROR:32] [OHS-9999] [odl_log.c] [host_id: <server>] [host_addr: 127.0.0.1] [tid: 1320139072] [user: oracle] [ecid: 004S594zs25Fw000jzwkno0002740001NK] [rid: 0] [VirtualHost: main] Request Failed for : /portal/pls/portal, Resp Code : [500]
    [2009-08-04T10:09:15.1212-05:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: <server> [host_addr: 127.0.0.1] [tid: 1330628928] [user: oracle] [ecid: 004S5953tHhFw000jzwkno0002740001NL] [rid: 0] [VirtualHost: main] File does not exist: /opt/oracle/Middleware/asinst_2/config/OHS/ohs1/htdocs/favicon.ico
    So the problem is favicon.ico is missing, which I confirmed. Does this mean a bad deployment of an .EAR file? What should I do?

    Yes, it seems you are correct....this is from WLS_PORTAL-diagnostic.log
    Looks like the real problem is ERROR: Failed to load C shared library in RepositoryGateway after calling RepositoryGatewayJNI.load:
    [2009-08-05T08:32:08.333-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBekbL6Fw000jzwkno1AU3uT000001,0] [APP: portal] Portal Servlet Context Listener destroy started
    [2009-08-05T08:34:14.191-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] Initializing Portal Servlet Context Listener
    [2009-08-05T08:34:14.534-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] Creating Repository Service
    [2009-08-05T08:34:14.540-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] In RepositoryService.constructor(<3 args>), PLSQL_CONFIG_FILE = /opt/oracle/Middleware/user_projects/domains/pfrd/servers/WLS_PORTAL/stage/portal/portal/configuration/portal_plsql.conf[[args: serverInfo=WebLogic Server 10.3.1.0 Thu Jun 11 00:26:56 EDT 2009 1227385 , contextRoot=/portal, logMode=error]]
    [2009-08-05T08:34:14.578-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] In RepositoryServiceConfig, DAD_CONFIG_FILE = /opt/oracle/Middleware/user_projects/domains/pfrd/servers/WLS_PORTAL/stage/portal/portal/configuration/portal_dads.conf, CACHE_CONFIG_FILE = /opt/oracle/Middleware/user_projects/domains/pfrd/servers/WLS_PORTAL/stage/portal/portal/configuration/portal_cache.conf
    [2009-08-05T08:34:14.582-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] In RepositoryServiceConfig, dadRetriever = oracle.webdb.repository.service.DadFileConfigRetriever@26d4835, cacheRetriever = [email protected]7
    [2009-08-05T08:34:14.622-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] Calling RepositoryGatewayJNI.load ...
    **ERROR STARTS HERE
    [2009-08-05T08:34:14.637-05:00] [WLS_PORTAL] [ERROR] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] ERROR: Failed to load C shared library in RepositoryGateway!
    [2009-08-05T08:34:14.665-05:00] [WLS_PORTAL] [ERROR] [] [oracle.portal] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId:
    <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] ERROR: Repository Service creation failed. Please check previous log entries for possible cause.
    [2009-08-05T08:34:14.911-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal.config.modplsql.mbeans.DadManagerMXBeanImpl] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] **** Inside Reloaded, NOW Register mbean = : /pls/portal
    [2009-08-05T08:34:14.915-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portal.config.modplsql.mbeans.DadManagerMXBeanImpl] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IBel63LFw000jzwkno1AUOdM000000,0] [APP: portal] **** Inside RegisterBean, global beanName = : oracle.portal.config:subtype=DADs,name=/pls/portal,type=PortalConfig,Application=portal
    [2009-08-05T08:36:16.717-05:00] [WLS_PORTAL] [NOTIFICATION] [] [oracle.portlet.server.wsrp.mbean.WSRPTransientConfigMXBeanImpl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IBelXi4Fw000jzwkno1ARF2b0004Zm,1:5002] [APP: wsrp-tools] Found WLS AppDeployment MBean com.bea:Name=portalTools#11.1.1.1.0,Type=AppDeployment

  • Display Chinese characters on JSP under WebLogic 6.1

    We've recently migrated from WebLogic 5.1 to 6.1 and we found that all those
    Chinese JSP pages cannot display properly under Solaris, but it works on
    some Windows 2000 machines (but everything work under 5.1).
    However we haven't made any special changes to any configuration in all
    these machines. Why some of them work and some of them doesn't ? Those W2K
    machines work are running English version of Windows 2000, but with Chinese
    character sets installed.
    Our Chinese JSP pages use big5 character encoding instead of unicode.
    I've read a number of messages in this newsgroup but I'm still very
    confusing on how to fix the problem ...

    Hi,
    I have the same problem here. I am using weblogic 6.1 on W2k server. I save
    prpblem from those static contents in the jsp file, but those data in chinese
    from oracle database is working fine. I create a simple jsp file just with a simple
    text "hello world" in chinese, I save one as a html and one as a jsp. When I run
    this two under weblogic 6.1, the html file display correctly but the jsp is not.
    I try "UTF-8", "GB2312" and other charsets but all not working with jsp files.
    Please help.... Thank you.
    yanglin
    "Nohmenn BABAI" <[email protected]> wrote:
    >
    >
    Dear Ricky,
    Could you please check the following :
    If you are on Sun Solaris systems please check the LC values of your
    =
    environment as shown in example below.
    This is the cause of many troubles due to the fact that the JVM =
    considers these parameters to encode.
    (example given for Italian display, so I guess for you this will be =
    Big5)
    On Solaris 7 the right settings are=20
    LC_COLLATE=3Dit.ISO8859-15
    LC_CTYPE=3Dit.ISO8859-15
    LC_MESSAGES=3Dit
    LC_MONETARY=3Dit.ISO8859-15
    LC_NUMERIC=3Dit.ISO8859-15
    LC_TIME=3Dit.ISO8859-15=20
    on Solaris 8=20
    LC_COLLATE=3Dit_IT.ISO8859-1
    LC_CTYPE=3Dit_IT.ISO8859-1
    LC_MESSAGES=3Dit
    LC_MOLC_COLLATE=3Dit.ISO8859-15
    LC_NUMERIC=3Dit_IT.ISO8859-1
    LC_TIME=3Dit_IT.ISO8859-1
    Also another point to check is=20
    In All Weblogic Releases :
    You can add the flag -Dfile.encoding=3DUTF8 in the startup line to force
    =
    default encoding in the JVM
    In your Webloigc 5.1 property file
    # WEBLOGIC CHARACTERS PROPERTIES
    weblogic.httpd.inputCharset./russian/*=3DISO-8859-5
    weblogic.httpd.inputCharset./utf/*=3DUTF-8
    weblogic.httpd.inputCharset./french/*=3DISO-8859-1
    weblogic.httpd.inputCharset./japan*=3DShift_JIS
    # FOR ENCODING THE WHOLE SITE IN UTF-8, UNCOMMENT THE FOLLOWING LINE
    #weblogic.httpd.inputCharset./*=3DUTF-8
    In your weblogic.xml's Weblogic 6.1 and later :
    <weblogic-web-app>=20
    <charset-params>=20
    <input-charset>=20
    <resource-path>/japan*</resource-path>=20
    <java-charset-name>Shift_JIS</java-charset-name>=20
    </input-charset>=20
    </charset-params>
    =20
    <charset-params>=20
    <input-charset>=20
    <resource-path>/russian*</resource-path>=20
    <java-charset-name>ISO-8859-5</java-charset-name>=20
    </input-charset>=20
    </charset-params>=20
    <charset-params>=20
    <input-charset>=20
    <resource-path>/french*</resource-path>=20
    <java-charset-name>ISO-8859-1</java-charset-name>=20
    </input-charset>=20
    </charset-params>
    <charset-params>=20
    <input-charset>=20
    <resource-path>/UTF-8*</resource-path>=20
    <java-charset-name>UTF-8</java-charset-name>=20
    </input-charset>=20
    </charset-params> =20
    </weblogic-web-app>
    As you may have noted, the ressouce-path is starting from root, and =
    after you insert the directory where you want to define de encoding.
    This will influence the JVM when performing a compilation (please clean
    =
    the temp directories from any compiled jsps before re-starting your =
    WLS).
    Please reply in the forum is you still face the problem after all these
    =
    modifications.
    Best regards
    Nohmenn BABAI
    BEA EMEA Technical Support Engineer
    "Ricky Wong" <[email protected]> a =E9crit dans le message de news:
    =
    [email protected]...
    We've recently migrated from WebLogic 5.1 to 6.1 and we found thatall =
    those
    Chinese JSP pages cannot display properly under Solaris, but it works=
    on
    some Windows 2000 machines (but everything work under 5.1).
    =20
    However we haven't made any special changes to any configuration in=
    all
    these machines. Why some of them work and some of them doesn't ? Those=
    W2K
    machines work are running English version of Windows 2000, but with=
    Chinese
    character sets installed.
    =20
    Our Chinese JSP pages use big5 character encoding instead of unicode.
    =20
    I've read a number of messages in this newsgroup but I'm still very
    confusing on how to fix the problem ...
    =20
    =20<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY>
    <DIV><FONT face=3DArial size=3D2>Dear Ricky,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Could you please check the following
    =
    :</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>If you are on Sun Solaris systems =
    please check the=20
    <STRONG>LC</STRONG> values of your environment as shown in example=20
    below.<BR>This is the cause of many troubles due to the fact that the
    =
    JVM=20
    considers these parameters to encode.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>(example given for Italian display,
    so =
    I guess for=20
    you this will be <STRONG>Big5</STRONG>)</FONT></DIV>
    <DIV><BR><FONT face=3DArial size=3D2><FONT color=3D#ff0000><STRONG>On
    =
    Solaris 7 the=20
    right settings are</STRONG>=20
    <BR></FONT>LC_COLLATE=3Dit.ISO8859-15<BR>LC_CTYPE=3Dit.ISO8859-15<BR>LC_M=
    ESSAGES=3Dit<BR>LC_MONETARY=3Dit.ISO8859-15<BR>LC_NUMERIC=3Dit.ISO8859-15=
    <BR>LC_TIME=3Dit.ISO8859-15=20
    </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><FONT color=3D#ff0000><STRONG>on =
    Solaris 8</STRONG>=20
    <BR></FONT>LC_COLLATE=3Dit_IT.ISO8859-1<BR>LC_CTYPE=3Dit_IT.ISO8859-1<BR>=
    LC_MESSAGES=3Dit<BR>LC_MOLC_COLLATE=3Dit.ISO8859-15<BR>LC_NUMERIC=3Dit_IT=
    ..ISO8859-1<BR>LC_TIME=3Dit_IT.ISO8859-1</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><STRONG>Also another point to check
    =
    is</STRONG>=20
    </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>In All Weblogic Releases :<BR>You can
    =
    add the flag=20
    -Dfile.encoding=3DUTF8 in the startup line to force default encoding
    in =
    the=20
    JVM</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2><STRONG>In your Webloigc 5.1 property=20
    file</STRONG></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2># # # # # # # # # # # # # # # # # #
    # # =
    # # # # # #=20
    # # # # # # # #<BR># WEBLOGIC CHARACTERS PROPERTIES<BR>#=20
    ------------------------------------------------<BR>weblogic.httpd.inputC=
    harset./russian/*=3DISO-8859-5<BR>weblogic.httpd.inputCharset./utf/*=3DUT=
    F-8<BR>weblogic.httpd.inputCharset./french/*=3DISO-8859-1<BR>weblogic.htt=
    pd.inputCharset./japan*=3DShift_JIS<BR>#=20
    # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #<BR>#
    =
    FOR=20
    ENCODING THE WHOLE SITE IN UTF-8, UNCOMMENT THE FOLLOWING LINE<BR>#=20
    ------------------------------------------------<BR>#weblogic.httpd.input=
    Charset./*=3DUTF-8</FONT></DIV>
    <DIV><BR><FONT face=3DArial size=3D2><STRONG>In your weblogic.xml's =
    Weblogic 6.1 and=20
    later :</STRONG></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><weblogic-web-app> </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><charset-params> =
    <BR><input-charset>=20
    <BR><resource-path>/japan*</resource-path>=20
    <BR><java-charset-name>Shift_JIS</java-charset-name>=20
    <BR></input-charset>=20
    <BR></charset-params><BR> <BR><charset-params>=20
    <BR><input-charset>=20
    <BR><resource-path>/russian*</resource-path>=20
    <BR><java-charset-name>ISO-8859-5</java-charset-name>=20
    <BR></input-charset> <BR></charset-params> </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><charset-params> =
    <BR><input-charset>=20
    <BR><resource-path>/french*</resource-path>=20
    <BR><java-charset-name>ISO-8859-1</java-charset-name>=20
    <BR></input-charset> <BR></charset-params></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><charset-params> =
    <BR><input-charset>=20
    <BR><resource-path>/UTF-8*</resource-path>=20
    <BR><java-charset-name>UTF-8</java-charset-name>=20
    <BR></input-charset> <BR></charset-params>  =
    </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></weblogic-web-app></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><EM>As you may have noted, the =
    ressouce-path is=20
    starting from root, and after you insert the directory where you want
    to =
    define=20
    de encoding.</EM></FONT></DIV>
    <DIV><EM><FONT face=3DArial size=3D2></FONT></EM> </DIV>
    <DIV><EM><FONT face=3DArial size=3D2></FONT></EM> </DIV>
    <DIV><FONT face=3DArial size=3D2>This will influence the JVM when =
    performing a=20
    compilation (please clean the temp directories from any compiled jsps
    =
    before=20
    re-starting your WLS).</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Please reply in the forum is you still
    =
    face the=20
    problem after all these modifications.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Best regards</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Nohmenn BABAI</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>BEA EMEA Technical Support =
    Engineer</FONT></DIV>
    <DIV><FONT face=3DArial><BR><FONT size=3D2></FONT></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>"Ricky Wong" <</FONT><A=20
    href=3D"mailto:[email protected]"><FONT face=3DArial=20
    size=3D2>[email protected]</FONT></A><FONT face=3DArial =
    size=3D2>> a =E9crit dans=20
    le message de news: </FONT><A =
    href=3D"mailto:[email protected]"><FONT=20
    face=3DArial size=3D2>[email protected]</FONT></A><FONT =
    face=3DArial=20
    size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> We've recently
    =
    migrated from=20
    WebLogic 5.1 to 6.1 and we found that all those<BR>> Chinese JSP =
    pages cannot=20
    display properly under Solaris, but it works on<BR>> some Windows
    =
    2000=20
    machines (but everything work under 5.1).<BR>> <BR>> However we
    =
    haven't=20
    made any special changes to any configuration in all<BR>> these =
    machines. Why=20
    some of them work and some of them doesn't ? Those W2K<BR>> machines
    =
    work are=20
    running English version of Windows 2000, but with Chinese<BR>> =
    character sets=20
    installed.<BR>> <BR>> Our Chinese JSP pages use big5 character
    =
    encoding=20
    instead of unicode.<BR>> <BR>> I've read a number of messages in
    =
    this=20
    newsgroup but I'm still very<BR>> confusing on how to fix the problem
    =
    ....<BR>> <BR>> </FONT></BODY></HTML>

  • Insert CLOB into oracle under weblogic

    Situation: running my servlet under weblogic, want to insert more than 4000 characters into CLOB of oracle 8.1.7
    Problem: cannot be done by using code which is able to do it under tomcat
    i use this code in tomcat:
    import java.sql.*;
    import oracle.sql.CLOB;
    import oracle.jdbc.driver.OracleResultSet;
    con.setAutoCommit(false);
    Statement stmt = con.createStatement();
    rs = stmt.executeQuery("SELECT clob_field FROM table where rid=id FOR UPDATE");
    rs.next();
    CLOB clob = ((OracleResultSet)rs).getCLOB(1);
    Writer writer = clob.getCharacterOutputStream();
    writer.write(dataString);
    writer.close()l
    con.commit();
    con.setAutoCommit(true);
    stmt.close();
    after that i know that i can't use API of oracle when i'm using weblogic (e.g. oracle.sql.CLOB)
    and i find this code from other user:
    import weblogic.jdbc.vendor.oracle.OracleThinClob;
    import java.io.*;
    import java.sql.*;
    PreparedStatement stmt = con.prepareStatement ( "INSERT INTO database VALUES ( ?, EMPTY_CLOB() )" );
    stmt.setInt ( 1, 1 );
    // inserts a new entry with an empty clob object
    stmt.executeUpdate ();
    if ( stmt != null )
    stmt.close();
    // retrieves CLOB-Object
    stmt = con.prepareStatement ( "SELECT clob_field FROM database WHERE id=?" );
    stmt.setInt ( 1, 1 );
    ResultSet rs = stmt.executeQuery ( );
    if ( rs.next() )
    Clob cl = rs.getClob(1);
    Writer clobWriter = ((OracleThinClob)cl).getCharacterOutputStream();
    // Open the sample file as a stream for insertion into the Clob column
    File testFile = new File ( "file.txt" );
    FileReader testReader = new FileReader ( testFile );
    // buffer to hold data to being written to the clob.
    char[] cBuffer = new char[((OracleThinClob)cl).getBufferSize()];
    // Read data from file, write it to clob
    int iRead = 0;
    while( (iRead= testReader.read(cBuffer)) != -1 )
    clobWriter.write( cBuffer, 0, iRead);
    testReader.close();
    clobWriter.close();
    if ( rs != null )
    rs.close();
    if ( stmt != null )
    stmt.close();
    // update clob-data in database
    stmt = con.prepareStatement ( "UPDATE database SET clob_field = ? WHERE id = ?" );
    stmt.setClob ( 1, cl );
    stmt.setInt ( 2, 1 );
    stmt.executeUpdate();
    it throws java.lang.ClassCastException: oracle.sql.CLOB
    but i haven't imported or used any API from oracle.........
    please help
    thanks

    hi,
    unfortunatly, you can't do this with welbogic6.1 because it 'manage' itself oracle librairies (weblogic.jar),
    here is the way i solved the pb for BLOB :
    i replaced :
    BLOB blob = ((OracleResultSet)rs).getBLOB(1);
    by
    weblogic.jdbc.rmi.SerialOracleBlob cast1 =(weblogic.jdbc.rmi.SerialOracleBlob)rs.getBlob("myBlob");
    weblogic.jdbc.rmi.internal.OracleTBlobImpl cast2 =(weblogic.jdbc.rmi.internal.OracleTBlobImpl)cast1.getTheRealBlob();
    BLOB myBlob = (oracle.sql.BLOB)cast2.getTheRealBlob();
    it is the same for clob (i suppose ^_^)
    hope this helps !
    Badr.

  • HT204406 turned off iMatch under Store in iTunes now can't turn back on?

    turned off iMatch under Store in iTunes and now can't turn back on - any ideas

    Welcome to Apple Support Communities
    Do a test. Hold Command and R keys while your Mac is starting to start up into OS X Recovery, and see if you can connect to your network by pressing the Wi-Fi icon at the top right corner of the display. Can you select a network or it says "No hardware installed"?
    If you can choose a network, reinstall Mac OS X. If it says "No hardware installed", probably the Wi-Fi card has stopped working, so take your MacBook to an Apple Store

  • Problems with JSSE under Weblogic 5.1 sp9

    I have a java application which uses JSSE to communicate with a WebMethods server
    and it works great. However, when I take the same code block and run it under
    Weblogic 5.1 sp11, I receive a bad certificate error. After spending a lot of
    time reading through various postings, I fixed the problem where Weblogic was
    intercepting HTTPsURLConnection, but still have the bad_certificate error.
    My setup is as follows:
    - Keys stored using keytool in keystores outside of Weblogic
    - Service pack 9 is installed (also tested SP10)
    - Code runs fine as an isolated java application, but will not run when called
    from within weblogic.
    - JDK1.3.1_02
    - Modified the weblogic.policy file with the following line:"permission java.net.NetPermission
    "specifyStreamHandler";"
    Source Code:
    System.getProperties().put("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.out.println("\n\nHandler = "+System.getProperty("java.protocol.handler.pkgs"));
    URL server = new URL(null, "https://B2bserver.quadrem.com:4443/invoke/wm.tn/receive",
    new com.sun.net.ssl.internal.www.protocol.https.Handler());
    System.out.println("Connecting to : "+server.toExternalForm());
    char[] password = "weblogic".toCharArray();
    SSLContext context = SSLContext.getInstance("SSL");
    KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
    KeyStore keystore = KeyStore.getInstance("JKS");
    keystore.load(new FileInputStream("x:/jpkeystore"), password);
    keyManagerFactory.init(keystore, password);
    context.init(keyManagerFactory.getKeyManagers(), null, null);
    HttpsURLConnection conn = (HttpsURLConnection)server.openConnection();
    conn.setDoInput( true );
    conn.setDoOutput( true );
    conn.setAllowUserInteraction(false);
    conn.setUseCaches( false );
    conn.setDefaultUseCaches ( false );
    conn.setRequestMethod("POST");
    conn.setRequestProperty("Content-Type","text/xml");
    conn.setRequestProperty("Host", remoteHost);
    conn.setRequestProperty("Content-Length", "" + (XML_HEADER.length()+doc.length()));
    DataOutputStream out = new DataOutputStream (conn.getOutputStream());
    out.writeBytes(XML_HEADER);
    out.write(doc.getBytes());
    out.flush();
    out.close();
    All help will be appreciated.
    thanks
    Mark Johnson
    781-993-9212 x375
    [email protected]

    Mark,
    Can you post the complete exceptionand stack trace here ?
    Mark Johnson wrote:
    I have a java application which uses JSSE to communicate with a WebMethods server
    and it works great. However, when I take the same code block and run it under
    Weblogic 5.1 sp11, I receive a bad certificate error. After spending a lot of
    time reading through various postings, I fixed the problem where Weblogic was
    intercepting HTTPsURLConnection, but still have the bad_certificate error.
    My setup is as follows:
    - Keys stored using keytool in keystores outside of Weblogic
    - Service pack 9 is installed (also tested SP10)
    - Code runs fine as an isolated java application, but will not run when called
    from within weblogic.
    - JDK1.3.1_02
    - Modified the weblogic.policy file with the following line:"permission java.net.NetPermission
    "specifyStreamHandler";"
    Source Code:
    System.getProperties().put("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.out.println("\n\nHandler = "+System.getProperty("java.protocol.handler.pkgs"));
    URL server = new URL(null, "https://B2bserver.quadrem.com:4443/invoke/wm.tn/receive",
    new com.sun.net.ssl.internal.www.protocol.https.Handler());
    System.out.println("Connecting to : "+server.toExternalForm());
    char[] password = "weblogic".toCharArray();
    SSLContext context = SSLContext.getInstance("SSL");
    KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
    KeyStore keystore = KeyStore.getInstance("JKS");
    keystore.load(new FileInputStream("x:/jpkeystore"), password);
    keyManagerFactory.init(keystore, password);
    context.init(keyManagerFactory.getKeyManagers(), null, null);
    HttpsURLConnection conn = (HttpsURLConnection)server.openConnection();
    conn.setDoInput( true );
    conn.setDoOutput( true );
    conn.setAllowUserInteraction(false);
    conn.setUseCaches( false );
    conn.setDefaultUseCaches ( false );
    conn.setRequestMethod("POST");
    conn.setRequestProperty("Content-Type","text/xml");
    conn.setRequestProperty("Host", remoteHost);
    conn.setRequestProperty("Content-Length", "" + (XML_HEADER.length()+doc.length()));
    DataOutputStream out = new DataOutputStream (conn.getOutputStream());
    out.writeBytes(XML_HEADER);
    out.write(doc.getBytes());
    out.flush();
    out.close();
    All help will be appreciated.
    thanks
    Mark Johnson
    781-993-9212 x375
    [email protected]

  • Double submission problem in J2EE application under Weblogic 8.1 SP2 server

    Hi,
    We are facing double submission problem in our J2EE application which is running under Weblogic 8.1 SP2 and for the same we already implemented or added the below preventive solutions.
    1. We disable the SUBMIT button once the user clicks it.
    2. We preventated pressing 'F5' button and clicking 'Refresh' button in the browser.
    3. Also we tried to prevent by declaring the idempotent is 'true' under weblogic-ejb-jar.xml as below.
    <stateless-bean-methods-are-idempotent>true</stateless-bean-methods-are-idempotent>
    So please somebody help us on this issue like how to prevent in some other way.
    Regards,
    Dinesh.

    I have no idea why you would think changing your EJB configuration would have anything to do with preventing double submission at your servlet layer.
    One technique I've seen for preventing double submission was first used in the Struts framework several years ago. When a page is "prepared" for display, a token value is created and stored in the session. The page is displayed with a hidden field containing that value. When the page is submitted, the value of the hidden field is compared with the value stored in the session. If they're not equal, the submission is ignored.

  • Purging application logs automatically under Weblogic servers

    Hi,
    I am trying to explore purging options in Weblogic server.
    Could someone help me in finding a setting(if there is one) under Weblogic properties files, which will purge Application logs automatically after 'n' number of days.
    for example in D:\Hyperion\deployments\WebLogic9\servers\aas\logs directory, I see a lot of eas log files created with extensions from .log00001 to .log00427. Is there any way of removing these automatically without using any other windows scripts.
    Thanks
    Prasad

    This is configured within each server's Logging tab ( Servers -> server_name -> Logging ). Set the rotation type to "Time", files to retain, and rotation interval ( default 24 hours ), etc. This will keep the files to a fixed count.

  • How To Run OIM Under Weblogic As A Windows Service?

    Hi
    does anyone know how to run OIM under Weblogic as a windows service?
    Many thanks in advance,
    Evanela

    Hi
    Does anyone know how to run OIM under Weblogic as a windows service?
    I have used "Setting Up a WebLogic Server Instance as a Windows Service" (http://download.oracle.com/docs/cd/E12839_01/web.1111/e13708/winservice.htm#START143), but It doesn't work because OIM use the xlStartWLS.cmd file and not startWebLogic.cmd.
    thanks!
    Edited by: user13082223 on Sep 29, 2010 9:09 AM

  • Dummy question: how to make html file working under weblogic

    I created a file called register.html, and I put it under
    weblogic\myserver\public_html directory, but when I try to access from the
    browser, I get the following error:
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is
    given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the
    client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
    status code SHOULD be used if the server knows, through some internally
    configurable mechanism, that an old resource is permanently unavailable and
    has no forwarding address.
    What should I do to make this html file working?
    Thank you for any help.
    li

    I solved the problem.
    "li" <[email protected]> wrote in message
    news:[email protected]..
    I created a file called register.html, and I put it under
    weblogic\myserver\public_html directory, but when I try to access from the
    browser, I get the following error:
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indicationis
    given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the
    client, the status code 403 (Forbidden) can be used instead. The 410(Gone)
    status code SHOULD be used if the server knows, through some internally
    configurable mechanism, that an old resource is permanently unavailableand
    has no forwarding address.
    What should I do to make this html file working?
    Thank you for any help.
    li

  • My iMessage wasn't working so I turned it off under Settings and then tried to turn it back on again.  It hasn't turned back on, it just says "waiting for activation." Any ideas on how to get it working again?

    My iMessage on my iPhone wasn't working, so I turned it off under Settings and then tried to turn it back on again.  It hasn't turned back on yet.  It says, "waiting for activation.". Any ideas?

    Turn the Message App off from the Task Bar, reboot and try again.

  • Why don't my apps automaticaly update? i keep trying to turn it on under settings but it will not stay on

    why don't my apps automaticaly update? i keep trying to turn it on under settings but it will not stay on

    Sounds like we have a similar problem.  Four days ago I was playing music through a wireless Bose speaker via bluetooth and everything was fine.  Then I was texting while listening and got 2 texts about the same time as I was typing one and my phone went black.  I pushed the home button and it worked, went into my texts and all were there.  However ever since then the time isn't right, so it can't keep time no matter what I do.  The bluetooth works only at times, the wifi keeps jumping on and off, sometimes my data won't work and the other day I couldn't even turn it off, so had to wait until it died.  The battery life display at that moment wasn't correct either.  Took to Verizon, they couldn't help.  Suggested a factory reset, which I did last night and still the same issues!  One day I couldn't even text my husband on his iPhone.  Just wouldn't work at all.  Did everything suggest and still not good.  Seems like after stalking these pages today a lot of people are having this problem in Dec/Jan and of course also I'm 3 weeks out of my 1 year warranty and so were many others, by days.  Very strange, and all on the 5C.  What did you do?  Is it working now?

  • Need help with getResource() problem under weblogic 6.1

    Hey all,
              I've got a serious problem that I can't figure out. This should be really
              simple - but it's alluding me. I have an ear file with a number of servlets
              inside it. This ear file also contains a resource that my servlets want to
              read from. This resource is located (within the ear file) at:
              "/content/structure/a.txt". The file contains raw ascii.
              To have my serlvet read from this file, I thought it would be as simple as:
              URL content =
              servlet.getServletContext().getResource("/content/structure/a.txt");
              // pw is an instance of PrintWriter
              pw.print(content.getContent());
              However, when I execute the above I get the following exception:
              java.lang.NullPointerException
              at
              java.net.URLConnection.stripOffParameters(URLConnection.java:1011)
              at java.net.URLConnection.getContentHandler(URLConnection.java:979)
              at java.net.URLConnection.getContent(URLConnection.java:581)
              OK, so fine - I figure that I'm new to this. The documentation for the URL
              class tells me there is another way around this. It says that rather then
              calling getContent() directly, I can open a stream on the URL and read from
              that, like so:
              URL content =
              servlet.getServletContext().getResource("/content/structure/scenario2resourc
              es.txt");
              FileInputStream fis = content.openStream();
              but when I do this I get the following different exception:
              java.lang.ClassCastException: weblogic.utils.zip.SafeZipFileInputStream^M
              at Utility.writeFileToOutput(Utility.java:134)^M
              Apparently this thing is trying to return a web-logic-specific stream (which
              is incompatible with an FileInputStream) - which I don't want to use or
              learn about since I want my stuff to work under other webservers.
              Can anyone tell me what I'm doing wrong? This should be simple.
              -john
              John Hilgedick
              WisdomTools, Inc.
              [email protected]
              

    Wenjin,
              I appreciate your response. I tried treating it as a normal InputStream -
              but it didn't make any difference. Here's what I did:
              URL content =
              servlet.getServletContext().getResource("/content/structure/scenario2resourc
              es.txt");
              InputStream is = (InputStream)content.getContent();
              And here's the exception:
              java.lang.NullPointerException^M
              at
              java.net.URLConnection.stripOffParameters(URLConnection.java:1011)^M
              at
              java.net.URLConnection.getContentHandler(URLConnection.java:979)^M
              at java.net.URLConnection.getContent(URLConnection.java:554)^M
              at java.net.URL.getContent(URL.java:807)^M
              at Utility.writeFileToOutput(Utility.java:134)^M
              You can see that it is definitely breaking somewhere in getContent().
              If you have any other ideas, I'd appreciate hearing about them.
              -john
              ----- Original Message -----
              From: "Wenjin Zhang" <[email protected]>
              Newsgroups: weblogic.developer.interest.servlet
              Sent: Wednesday, November 20, 2002 5:03 PM
              Subject: Re: Need help with getResource() problem under weblogic 6.1
              >
              > The "/" in getServletContext().getResource("/content/structure/a.txt")
              means the
              > web (WAR) application root, not your EAR root.
              >
              > The ClassCastException is because that content.openStream() is not
              FileInputStream
              > and has nothing to do with Weblogic. You should treat it as normal
              InputStream.
              >
              >
              > "John Hilgedick" <[email protected]> wrote:
              > >Hey all,
              > >
              > >I've got a serious problem that I can't figure out. This should be
              really
              > >simple - but it's alluding me. I have an ear file with a number of
              servlets
              > >inside it. This ear file also contains a resource that my servlets want
              > >to
              > >read from. This resource is located (within the ear file) at:
              > >"/content/structure/a.txt". The file contains raw ascii.
              > >
              > >To have my serlvet read from this file, I thought it would be as simple
              > >as:
              > >
              > >URL content =
              > >servlet.getServletContext().getResource("/content/structure/a.txt");
              > >// pw is an instance of PrintWriter
              > >pw.print(content.getContent());
              > >
              > >However, when I execute the above I get the following exception:
              > >
              > >java.lang.NullPointerException
              > > at
              > >java.net.URLConnection.stripOffParameters(URLConnection.java:1011)
              > > at
              java.net.URLConnection.getContentHandler(URLConnection.java:979)
              > > at java.net.URLConnection.getContent(URLConnection.java:581)
              > >
              > >OK, so fine - I figure that I'm new to this. The documentation for the
              > >URL
              > >class tells me there is another way around this. It says that rather
              > >then
              > >calling getContent() directly, I can open a stream on the URL and read
              > >from
              > >that, like so:
              > >
              > >URL content =
              >
              >servlet.getServletContext().getResource("/content/structure/scenario2resour
              c
              > >es.txt");
              > >FileInputStream fis = content.openStream();
              > >
              > >but when I do this I get the following different exception:
              > >
              > >java.lang.ClassCastException: weblogic.utils.zip.SafeZipFileInputStream^M
              > > at Utility.writeFileToOutput(Utility.java:134)^M
              > >
              > >Apparently this thing is trying to return a web-logic-specific stream
              > >(which
              > >is incompatible with an FileInputStream) - which I don't want to use
              > >or
              > >learn about since I want my stuff to work under other webservers.
              > >
              > >Can anyone tell me what I'm doing wrong? This should be simple.
              > >
              > >-john
              > >
              > >
              > >--
              > >John Hilgedick
              > >WisdomTools, Inc.
              > >[email protected]
              > >
              > >
              >
              

Maybe you are looking for

  • Can HP ENVY 23-d030 be upgraded to i7-3770s

    Although according to the specifications, the HP ENVY 23-d003 can't be upgraded to a i7-3770s processor, the HP ENVY 23-d010a uses the same motherboard and is sold with the i7-3770s processor as standard. Since both use the same motherboard, the i7-3

  • No print to PDF option

    Very recently (after the latest security update?), I've lost the option on the print dialogue to print to a PDF. A work-around is to preview and then save the preview as a PDF, but I would like to have the print to PDF option back. I've run Disk Util

  • HOWTO -- Install BC4J in OC4J 9.0.3

    I have JDdev 903 and OC4J 903. I want to install BC4J in OC4J 903. I can find NO documentation on doing this for OC4J 903, only 902. I assume it is because OC4J 903 is still preview, but come on! The scripts to do this under JDev 902 do not exist in

  • How do i add ios 5 to a ipod 3

    how do i do it?

  • RootUIElementContainer not displaying in outline view

    Hi,       I am using EP 7.0 and NW04s.My problem is, once I am developing the webdynpro application, I created the necessary actions, Go and Back, the structure of my project is currently displayed in the Web Dynpro Explorer even thou the RootUIEleme