Setting the charset from an adapter module
Hi folks,
I'm trying to set the charset encoding of a payload using an adapter module (I know there is a TextCodepageConverterBean, but I want to set the charset for a message that hasn't one yet). The problem is probably more clear using an example.
I output a UTF-8 flat string from my message mapping to the adapter framework (mail adapter in my case). Afterwards I want to convert this UTF-8 string to an ISO-8859 encoding with the TextCodepageConverterBean. But if I set the charset using the setContentType() function of my TextPayload object the information gets cut away. I'm using the format
setContentType("text/plain;charset=utf-8;name=Test.txt")
. But everything after the first semicolon is dropped. Setting the charset using the MessageTransformBean works, but I want to avoid this by all means, as I need to set the mime type from the adapter module.
This is running on NW2004 with SP 16 and the latest patch.
Any idea, why the MessageTransformBean works and not the setContentType call?
This bug will be fixed with SP20.
Regards
Stefan
Similar Messages
-
Get/set message interface name in adapter module
Hello,
From an adapter module, I'd like to get or even set the Message Interface name of the message that is handed over to the function "process" of the adapter module.
I've got two context's, sessioncontext and modulecontext. With both contexts, you can get values from that context. I'm not sure which context has the message interface name of the message currently being processed, and I'm also not sure what that value is called (moduleContext.getContextData("name");).
The reason for this is that sometimes you'd like to do something different depending on the type of message being processed.
If anyone knows how to do this, I'd be glad to hear.
Thanks in advance for any advice!
Greetings, Walter.Hi Walter,
It is fairly easy to get the interface name. When you have extracted the XIMessage there is a parameter, which allows you get the Action, where you can get the interface name.
I have tried to change the interface name. You need to create a new message an copy the content from the old message over to this. This is a little tricky and I'm not able to get any code samples for you.
/daniel -
Setting the charset in dynamic invocation
I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
shows how to set the charset attribute of the Content-Type HTTP header via the
client stub. But I am not using client stubs, I'm using dynamic invocation. So
how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
property field for this.
TIA...
MarkThe trouble with this example is that it doesn't use JAX-RPC dynamic invocation.
The attachment contains an example of what I am trying to do. The method of interest
is case3(), in which. on lines 294-296, is an (unsuccessful) attempt to set the
character set. The other methods of interest here are getEMAExceptionServices()
(which creates the javax.xml.rpc.Service object) and getUpdateExceptionResolutionStatusCall(Service
iService) (which creates the javax.xml.rpc.Call object).
[OK, this time I attached something.]
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Take a quick look at Manoj's Mega example [1] and see if this clears
things up. If not, post your code and we can take a look, or speak to
our outstanding support team: http://support.bea.com or [email protected]
Thanks,
Bruce
[1]
http://manojc.com/tutorial/mega/client/BindingProperties.java
Mark Shaffer wrote:
Bruce,
If I try to get the "weblogic.webservice.bindinginfo" property froma Call object,
this exception is thrown:
javax.xml.rpc.JAXRPCException: unknown property: weblogic.webservice.bindinginfo
at weblogic.webservice.core.rpc.CallImpl.getProperty(CallImpl.java:322)
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Did you try the code in the doc?
import weblogic.webservice.binding.BindingInfo;
BindingInfo info =
(BindingInfo)stub._getProperty("weblogic.webservice.bindinginfo" );
// The following method sets the Content-Type HTTP header
info.setCharset( "UTF-8" );
port.helloWorld();
Thanks,
Bruce
Mark Shaffer wrote:
Bruce,
OK, but the disconnect here is that I don't have a BindingInfo object,nor do
I know how to obtain one. All I have is javax.xml.rpc.* objects.
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Your client application can specify the character set that it would
prefer the Web Service to use in its response by using the
weblogic.webservice.binding.BindingInfo.setAcceptCharset() method.
See: http://e-docs.bea.com/wls/docs81/webserv/i18n.html#1069629
There is example code there as well.
Hope this helps,
Bruce
Mark Shaffer wrote:
I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
shows how to set the charset attribute of the Content-Type HTTP
header
via the
client stub. But I am not using client stubs, I'm using dynamic
invocation.
So
how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
property field for this.
TIA...
Mark
[UTEMAExceptionServices.java] -
How to set the charset encoding dynamically in JSP
Is there any way to set the charset encoding dynamically in a JSP
page?
we are using weblogic 6.1 on HP unix.
is there some way we can set the charset dynamically in the page directive
<%@ page contentType="text/html;charset=Shift_JIS" %>
and in MAET tag
<meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
Saurabh AgarwalDear Saurabh,
I guess it is possible. Here is an example I have made some time ago :
In my html page :
<form name="form1" METHOD=POST Action=Lang ENCTYPE="application/x-www-form-urlencoded" >
<p>
<select name="code" size="1">
<option value="big5">Chinese</option>
<option value="ISO-2022-KR">Korean</option>
<option value="x-euc-jp">Japanese</option>
<option value="ISO-8859-1">Spanish</option>
<option value="ISO-8859-5">Russian</option>
<option value="ISO-8859-7">Greek</option>
<option value="ISO-8859-6">Arabic</option>
<option value="ISO-8859-9">French</option>
<option value="ISO-8559-1">German</option>
<option value="ISO-8859-4">Swedish</option>
<option value="ISO-8859-8">Hebrew</option>
<option value="ISO-8859-9">Turkish</option>
</select>
</p>
<p>
<textarea name="entree_text"></textarea>
<input type="submit" name="Submit" value="Submit" >
</p></form>
and in my jsp :
// Must set the content type first
res.setContentType("text/html");
code = req.getParameter("code");
example = req.getParameter("entree_text");
PrintWriter out = res.getWriter();
// The Servlet send to the Browser the informations to format the language type
out.println("<html><head><title>Hello World!</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset="+code+"\"></head>");
// System recover the general Character encoding
String reqchar = req.getCharacterEncoding();
out.println("<body><h1>Hello MultiLingual World!</h1>");
out.println("You have defined an ISO of : "+code);
out.println("<BR>This is the code of the page that is displayed in this page<BR>");
out.println("<BR>");
out.println("<BR>");
out.println("Character encoding of the page is : "+reqchar);
out.println("<BR>This is the character code in the Servlet");
out.println("<BR>");
out.println("<BR>");
out.println("<BR>");
out.println("You have typed : "+example);
out.println("<BR>");
out.println("");
out.println("</body></html>");
I think starting from this example it is surely easy to modify dynamically the jsp.
The other possibility would be to use the Weblogic Commerce and the LOCALIZE function, so that you'll have an automatic redirection to the right jsp-encoding depending on the customer's language.
Feel free to reply on the forum for any related issue.
Best regards
Nohmenn BABAI
BEA EMEA Technical Support Engineer
"Saurabh" <[email protected]> a écrit dans le message de news: [email protected]...
Is there any way to set the charset encoding dynamically in a JSP
page?
we are using weblogic 6.1 on HP unix.
is there some way we can set the charset dynamically in the page directive
<%@ page contentType="text/html;charset=Shift_JIS" %>
and in MAET tag
<meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
Saurabh Agarwal[att1.html] -
Is there a way where we can set the headers from custom plugin
Using OAM 11.1.1.5 and webgate 11g. I am trying to custom cookie using a authentication plugin. So I created a custom authentication module with three steps. First identification then authentication both using Oracle's out of box plugins. Have set the identity store to OID. The third step is creating the cookie. In addition to this since we have integrated EBS with OAM, it is a requriement from Oracle and EBS that we pass two parameters in header, User name set to $user.userid and USR_ORCLGUID to $user.attr.orclguid. We are trying to set this paramters from authentication polices response settings, the $user.userid is being set properly however we are getting an exception in $user.attr.orclguid . Is there a way where we can set the headers from custom plugin or any other way. Thsi exception is only with custom authentication module. When we use LDAP Authentication module it works.
Exception below:-
Apr 17, 2013 4:47:54 PM CDT> <Error> <oracle.oam.user.identity.provider> <OAMSSA-20005> <Error initializing User/Role API : Identity Provider Configuration not found for : NONE..>
<Apr 17, 2013 4:47:54 PM CDT> <Error> <oracle.oam.user.identity.provider> <OAMSSA-20005> <Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...>
<Apr 17, 2013 4:47:54 PM CDT> <Warning> <oracle.oam.engine.authz> <OAMSSA-14007> <Provider failed to retrieve value for policy: "null" in domain: "null". Response details: "RuntimeResponse name="USER_ORCLGUID", value="$user.attr.orclguid", type="HEADER"".>
<Apr 17, 2013 4:47:54 PM CDT> <Warning> <oracle.oam.engine.authz> <OAMSSA-14005> <Error thrown during response processing:
oracle.security.am.engines.authz.ResponseException: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...
at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:243)
at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
at oracle.security.am.engines.authz.ResponseProcessor.processAuthz(ResponseProcessor.java:120)
at oracle.security.am.engines.authz.AuthorizationEngine.isAuthorized(AuthorizationEngine.java:122)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:570)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.<init>(IdentityProviderImpl.java:180)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderPool.getProvider(IdentityProviderPool.java:89)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProviderInternal(UserIdentityProviderFactory.java:116)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProvider(UserIdentityProviderFactory.java:97)
at oracle.security.am.engines.common.identity.util.OAMIdentity.getAttribute(OAMIdentity.java:539)
at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:241)
at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
at oracle.security.am.engines.authz.ResponseProcessor.processAuthz(ResponseProcessor.java:120)
at oracle.security.am.engines.authz.AuthorizationEngine.isAuthorized(AuthorizationEngine.java:122)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:570)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Caused By: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Identity Provider Configuration not found for : NONE..
at oracle.security.am.engines.common.identity.provider.util.ConfigUtil.getInitParams(ConfigUtil.java:146)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.<init>(IdentityProviderImpl.java:164)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderPool.getProvider(IdentityProviderPool.java:89)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProviderInternal(UserIdentityProviderFactory.java:116)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProvider(UserIdentityProviderFactory.java:97)
at oracle.security.am.engines.common.identity.util.OAMIdentity.getAttribute(OAMIdentity.java:539)
at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:241)
at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
at oracle.security.am.engines.authz.ResponseProcessor.processAuthn(ResponseProcessor.java:90)
at oracle.security.am.engines.authz.AuthorizationEngine.fillAuthenticationResponses(AuthorizationEngine.java:225)
at oracle.security.am.engines.enginecontroller.util.ResponseHelper.populateAuthnResponses(ResponseHelper.java:127)
at oracle.security.am.engines.enginecontroller.util.ResponseHelper.populateAuthnResponses(ResponseHelper.java:267)
at oracle.security.am.engines.enginecontroller.util.ResponseHelper.handleAllPolicyResponses(ResponseHelper.java:178)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:679)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
<Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.sso> <BEA-000000> <SEVERE exception while finding AppsUser details for GUID $user.attr.orclguid -->
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.sso.SsoUser getAppsUsers
SEVERE: SEVERE exception while finding AppsUser details for GUID $user.attr.orclguid -->
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.common.server> <BEA-000000> <SEVERE SQL error==>
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2 doGet
SEVERE: SEVERE SQL error==>
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.common.server> <BEA-000000> <ERROR found--redirecting to error.jsp>
Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2 doGet
SEVERE: ERROR found--redirecting to error.jsp -
OMB command to set the location of an ODBC module
I am writing OMB scripts to deploy an OWB project to a production environment.
In the deployment script, I set the location of an Oracle module using the OMB commands :
OMBALTER ORACLE_MODULE '<modulename>' ADD REFERENCE LOCATION '<locationname>' SET AS DEFAULT
OMBALTER ORACLE_MODULE '<modulename>' SET PROPERTIES (DB_LOCATION) VALUES ('<locationname>')
I also have an ODBC module for which I need to assign a location in the same way
What is the OMB syntax to achieve this?
OWB version 10.2.0.4You can use GATEWAY_MODULE for these. For example ...
OMBALTER GATEWAY_MODULE '<modulename>' SET PROPERTIES (DB_LOCATION) VALUES ('<locationname>')
Cheers
David -
Revision: 1657
Author: [email protected]
Date: 2008-05-09 17:37:18 -0700 (Fri, 09 May 2008)
Log Message:
Rebuilt our modified Batik and Velocity JARs after setting the file properties correctly on modules/thirdparty.
Modified Paths:
flex/sdk/trunk/lib/batik-all-flex.jar
flex/sdk/trunk/lib/velocity-dep-1.4-flex.jarHi DST
This is a great effort and gesture. thank you on behalf of all the newbies.
PJ -
Send apple email - how do I set the - send FROM account?
found this nice script to auto create and send apple email...
Q: how do I set the : send from account?
tell application "Mail"
set theMessage to make new outgoing message with properties {visible:true, subject:"My Subject", content:"My Body"}
tell theMessage
make new to recipient at end of to recipients with properties {name:"test", address:"[email protected]"}
end tell
send theMessage
end tell
nice info here:
http://www.mactech.com/articles/mactech/Vol.21/21.09/ScriptingMail/index.htmlI've been using the following which may be more complicated than necessary but it does work:
-- SCRIPT SEGMENT --
tell application "Mail"
activate
set listOfSenders to {}
set everyAccount to every account
repeat with eachAccount in everyAccount
set everyEmailAddress to email addresses of eachAccount
if (everyEmailAddress is not equal to missing value) then
repeat with eachEmailAddress in everyEmailAddress
set listOfSenders to listOfSenders & {(full name of eachAccount & " <"Mail"
set newMessage to make new outgoing message with properties {subject:theSubject, content:theBody & return & return}
tell newMessage
set visible to true
set sender to theSender
make new to recipient at end of to recipients with properties {name:theName, address:theAddress}
set font to "Lucinda Sans"
set size to 14
end tell
activate
--send newMessage
end tell
-- END SCRIPT SEGMENT --
I have commented the actual "send message" line so that I can read the message before clicking the send button as I often will add a comment.
Al -
Setting the Charset for outgoing mail in Mail
When I send mails to windows-systems, the Outlook program gets the message with wrong characters. Especially of course the special danish characters, but also other information goes wrong. F.ex. grey lines hows up where I certainly did not put it!
I have noticed, that the header of the message from Mail is like this:
--Apple-Mail-1--672517002
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
Sometimes like this:
--Apple-Mail-9--596884052
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=UTF-8;
delsp=yes;
format=flowed
When using the HTML functionality in Mail I get headers like this:
--Apple-Mail-2--619494695
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=WINDOWS-1252;
delsp=yes;
format=flowed
And the HTML-mails show's correctly!
I guess it is an charset issue, but how can I control that maually?Open your Mail.app
From the top of your screen choose Window>Connection Doctor.
Double click on each server and make sure the password field is filled out, (your smtp server is likely to be missing the password)
Enter the password into the field you find empty and close the preferences windows (saving changes if prompted) and close the Connection Doctor.
Test to make sure you are fixed.
If issues continue its going to be an issue with Keychain Access and you will need additional steps.
EE -
How do I set the charset in robohelp?
I have to edit a Polish help file but Robohelp change the
charset of every topic I edit from
charset=windows-1250 to charset=windows-1252
Resulting in the Polish characters not being displayed
properly.
charset=windows-1250 is for Belarusian, Croatian, Czech,
Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian
But I can't choose any of these languages in Project
settings.
How can I force Robohelp in keeping or using
charset=windows-1250?I haven't tried with Japanese, but Roboholp will keep the
original charset of your htm files as long you don't open/edit
them.
First it's important you change you Regional options and
Language for non-unicode programs to japanese.
Then if I need to edit something, I will make my changes save
the project then change the charsert using notepad.
(If you edit a bunch of them you can use notepad++ to do a
find and replace in files)
Then reopen the project and compile it.
Don't edit the htm source in Robohelp what you see is not
necessarily what you get. -
How to get the sent date in Adapter Module
Hi
How to get Sent Date in Adapter Module. I have used message.getSentTime(). But i am getting in 1179051733406 format is there any way to change this format.
Is there any other way to get the date when file sending.?
Is it possible to get Soap Header data Run Time xml file elements (<SAP:Date>) in SXMB_MONI into my Adapter Module.
Please Help Me
Best Regards
Ravi Shankar BIs it possible to get Soap Header data Run Time xml file elements (<SAP:Date>) in SXMB_MONI into my Adapter Module.?
Hi ravi, if you enable Adapter specific Message Attributes in your Adapter CC,(Source File TimeStamp), you can access the same in your ADapter code as a dynamic configuration
Regards
krishna -
How a menu item can read the parameter from a Form module and ....
I would like to specify the menu item to go_block from a Form module, or even open window, reading parameters.
But there is an Error says "CANNOT CALL LINK-IN FORM from Form builder"
How to make it works??
Plesae HELP~~~~~Dear Friend,
There is one Procedure by which you can get the value of the paramtere passed to the form.. this procedure is NAME_IN...
Hope this will solve your problem..
Ok
Email me when your problem is solved...
My email is "[email protected]"
Regards
Shan -
Problems setting the charset encoding via jdbc
Dear list,
I would like to know if/how its possible to set the character encoding via the jdbc string, with the oracle thin driver client (classes12.jar).
Microsoft SQLserver for example supports the addition of a charset="utf-8" for example in the jdbc url.
Please could tell me how/if this is possible.
A pasted example would be much appreciated..
ben bookeyThis bug will be fixed with SP20.
Regards
Stefan -
Setting the CLASSPATH from the JVM by a class
Hy experts
I have an application thats searching a jar file and have to access classes from this jar file.
There are two ways to do this:
1.
Loading the jar file byte by byte and create the classes to load them into memory. This is the hard way.
2.
Setting the CLASSPATH variable in the running program! Thats the easy way! May how does it works?
Is there any possiblity to set the classpath in a running application or only in the shell?
Thanks for help
konradthe classpath is readin when you run the JVM ie issue the 'java' command, the environment cant be altered to update a new classpath. However, why not just put the files you wish to load at runtime within the current classpath you've setup. If you use the System.loadLibrary(), you should be able to pick up the classes you wish to readin at run time via this approach.
good luck
rob -
I am unable to set the classpath from unix shell script
) I am new to java, provide me the solution to my problem, as it is urgent
I am unable to execute shell script on unix machine, the code is given below:
Basically it is not setting the classpath
dbUpload .java is astand alone java program to retrieve the report instance statistics from crystal server
Created a jar file from dbUpload.java as
Jar �cvf dbUpload.jar dbUpload.class
Here is mycode(script.sh)
CLASSPATH=/u01/CrystalList/cecore.jar:${CLASSPATH}:
CLASSPATH=${CLASSPATH}:/u01/CrystalList/cereports.jar:
CLASSPATH=${CLASSPATH}:/u01/CrystalList/dbUpload.jar:
Export CLASSPATH
Echo ${CLASSPATH}
Java dbUploadvenkat123,
if the code you posted is the original code of your script - it has some misspellings. Please try this one - it works for me both on solaris and linux.
#! /bin/bash
CLASSPATH=/u01/CrystalList/cecore.jar:$CLASSPATH
CLASSPATH=$CLASSPATH:/u01/CrystalList/cereports.jar
CLASSPATH=$CLASSPATH:/u01/CrystalList/dbUpload.jar
export CLASSPATH
echo $CLASSPATH
java dbUpload
Maybe you are looking for
-
Portal favorites open in same window after upgrade
Dear Experts, After upgrade Portal from EP 7.0.1 SP3 TO SP8 KMC Patch 1, we are facing some issues, the issue is, clicking on the favorites link opens the page in the same window. But in the page properties we have mentioned to open in a new window
-
11.5.10.2
Hi All, i want the detalis of the columns in Fnd_concurrent_processes . Thanks in advance.
-
In need of some help please...
I have just had to reboot my VAIO Laptop (Windows 8) and of course it has removed everything in the process. I pay a monthly subscription for Photoshop CC and assumed that I would be able to just log into my Adobe account, download it again and re in
-
Weblogic 8.1 - 2 Tier Proxy Architecture
Hi, I want to know more about the round-robin behavior of the HTTP proxy when I set my infrastructure up like the 2 Tier Proxy illustrated at: http://e-docs.bea.com/wls/docs81/cluster/planning.html#1094289 If you have more than one HTTP Proxy instanc
-
Ipod mini click wheel works only when charging
my ipod mini click wheel will only work 100% when it is charging and is recognized by itunes. if a computer does not have itunes it will not work properly and also when it is not charging and i am just using it normally it wont work either. when it i