Running JMX with HTML adapter

Hi!
I am new to JMX MBeans and I'm trying to run a simple sample program with HtmlAdaptorServer. I have three .java files, one with the interface, on with the class having its implementation and a main .java file to register with the server..etc.
I am able to compile the 3 files without any error but while running, it gives me the following exeption:
Exception in thread "main" java.lang.NoClassDefFoundError:
HelloAgent (wrong name:com/example/mbeans/HelloAgent)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Can someone please help me as to where am I goin wrong?
-Kanak

Kanak10 wrote:
hi!
I have the same, a com, then example, mbean and inside it HelloAgent.java.That's not what I've been describing. Almost, but not entirely. Check what I wrote above.
But how do I exactly set the classpath? should it be an environment variable?Sorry, but if you don't know that, then you must keep away from JMX for some time and go back to the basics.
See this and this.

Similar Messages

  • Running Apache with html files on a mounted NAS device

    Hi.  I am hoping someone could help me out.  I have been pulling my hair out for the past 2 days.
    I am running Arch v0.8.  I have very few packages installed -- I started with base install and added Apache, MySql, PHP, Samba and a few others.
    Configuration:
    - I have apache running as user=apache, group=apache.  I changed this from nobody:nobody in httpd.conf.
    - I have a Buffalo TerraStation on my lan.  It is called edge_nas.  It has a share called "linux".
    - I successfully mounted the Buffalo share using the following entry in fstab:
    //edge_nas/linux /mnt/edge_nas smbfs username=apache,password=theapachepassword,gid=apache 0 0
    - I created a soft link in /home which points /home/httpd to /mnt/edge_nas/home/httpd.
    - I want my web files on the Buffalo NAS device because it is raid 5. 
    Problem:
    - Root is able to read and write anywhere on /mnt/edge_nas.
    - Apache can read /mnt/edge_nas.
    - Apache can write in its home directory on /mnt/edge_nas/home/apache.
    - Apache cannot write in any other directory (especially /mnt/edge_nas/home/httpd/html).
    Question:
    - How do I grant apache read/write access to the html root?
    Any ideas?  Please be gentle.
    Thank you for your help.
    Edge

    cactus wrote:umm. still not clear on what you did...
    Please layout a clear step by step of what you did. That might make it easier to help you.
    Ok. From the top...
    On the Buffalo NAS (edge_nas):
    - I logged into the Buffalo web-based admin screen.
    - I created a new share called linux.
    - I created a new user called apache.
    - I granted read/write access to apache on the linux share.
    On Arch Linux:
    - I logged in locally as root.
    - I created a new user apache, in group apache.
    - I created a new directory called /mnt/edge_nas.
    - I mounted the Buffalo share using the following entry in fstab:
    //edge_nas/linux /mnt/edge_nas smbfs username=apache,password=theapachepassword,gid=apache 0 0
    - I changed apache to run as apache:apache.  I changed this from nobody:nobody in httpd.conf.
    - In /home/httpd, I created a softlink for /home/httpd/html, pointing it to /mnt/edge_nas/home/httpd/html.
    - I chmod 777 /mnt/edge_nas/home/httpd/html.
    - I restarted apache.
    - I created a summy index.html in that directory to ensure apache can see the mount.
    To test it out:
    - I logged into arch locally as my apache user.
    - I cd'ed to /home/httpd/html.
    - I tried to create a new text file with vi.
    - I cannot open the text file for write.
    I hope that helps.  Please excuse any misuse of terminology.
    Thanks.
    Edge

  • Running javascript with HTML

    Hi all,
    I am looking for a way and example of how to run javascript against an HTML file. My project is a web site test utility that can load HTML pages and submit forms, however some forms require executing javascript to set or validate various form fields. I've looked into the Rhino javascript engine, but I do not understand how to execute the javascript functions which change HTML form values. Can anyone give examples of how this can be done? Please let me know if I need to explain this further.
    Thanks!

    Sorry the description of what I am doing is a bit vague. My java application is like a web crawler, no web browser involved, but it needs to behave like a web browser. The application will parse html and follow links found in anchor HTML tags. When my app encounters a form, it can build the target URL by parsing the form action, and all form elements such as the input, select and whatnot. The tricky part is when forms involve javascript that may alter values in form input fields, for example, hidden input fields. In this case, my app cannot simply build the target URL combining form field values. My application must execute any found javascript functions so that the correct values are placed in the form fields, then the true URL can be built. I investigated the Rhino javascript engine, which seems great for executing javascript methods, but I cannot find how to include form fields in the HTML which the javascript function may alter. I'm not set on using Rhino, just anything that works.

  • Outbound Plain HTML Adapter how to change the html-header field "host"?

    Hello,
    I'm using XI 3.0 SP11 and want to transmit a message to a business partner using the Plain HTML Adapter.
    My problem is now that I need to change the default Html-Header field "host" because it seems that the adapter engine is converting it to lower case and is attaching the port-number which is causing trouble with the loadbalancer/applicationserver of our business partner.
    I tried to set the appropriate http-header value in the communication channel configuration, but the adapter engine is ignoring this value.
    Thanks in advance for any ideas.
    Sascha Fuchs
    Message was edited by: Sascha Fuchs

    Hi Sascha,
    unfortunately the Plain HTTP adapter is not running in the J2EE, therefore you cannot extend the functionality with an adapter module.
    I am not sure to understand the problem right. Why do you need to change the HTTP header? What is in it in your case and what should be?
    Regards
    Stefan

  • Replacing non-ASCII characters with HTML charcter references

    Hi All,
    In Oracle 10g or greater is there a built-in function that will convert a string with non-ASCII characters like this
    a b č 뮼
    into an ASCII string with HTML character references like this?
    a b & # x 0 1 0 D ; & # x B B B C ;
    (note I had to include spaces between each character in the sample code for message to prevent the forum software from converting my text)
    I tried using
    utl_i18n.escape_reference( val, 'us7ascii' )
    but for some reason it returns
    a b c & # x B B B C ;
    Note how it converted the Western European character "č" to its unaccented counterpart "c", not "& # x 0 1 0 D ;" (is this a bug?).
    I also tried a custom solution using regexp_replace and asciistr (which I can't include here because the forum software chokes on it) but it only returns the correct result for values <=4000 characters long. Unfortunately asciistr doesn't appear to accept CLOB values larger than 4000 characters. It returns an error message like
    (ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 30251, maximum: 4000) ).
    I'm looking for a solution that works on CLOB data of any size.
    Thanks in advance for any insight you can provide.
    Joe Fuda

    So with that (UTF8) in mind, let's take another look.....
    As shown below, I used a AL32UTF8 database.
    Note: I did not use a unicode capable tool for querying. So I set console mode code page to 1250 just to have č displayed properly (instead of posing as an è).
    Also, as a result of using windows-1250 for client character set, in the val column and in the second select's ncr column (iso8859-1), è (00e8) has been replaced with e through character set conversion going from server back to client.
    Running the same code on a database with a db character set such as we8mswin1252, that doesn't define the č (latin small c with caron) character, would yield results with a c in the ncr column.
    C:\>chcp 1250
    Aktuell teckentabell: 1250
    C:\>set nls_lang=.ee8mswin1250
    C:\>sqlplus test/test
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri May 23 21:25:29 2008
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the OLAP option
    SQL> select * from nls_database_parameters where parameter like '%CHARACTERSET';
    PARAMETER              VALUE
    NLS_CHARACTERSET       AL32UTF8
    NLS_NCHAR_CHARACTERSET AL16UTF16
    SQL> select unistr('\010d \00e8') val, utl_i18n.escape_reference(unistr('\010d \00e8'),'us7ascii') NCR from dual;
    VAL  NCR
    č e  c e
    SQL> select unistr('\010d \00e8') val, utl_i18n.escape_reference(unistr('\010d \00e8'),'we8iso8859p1') NCR from dual;
    VAL  NCR
    č e  &# x10d; e     <- "è"
    SQL> select unistr('\010d \00e8') val, utl_i18n.escape_reference(unistr('\010d \00e8'),'ee8iso8859p2') NCR from dual;
    VAL  NCR
    č e  č &# xe8;
    SQL> select unistr('\010d \00e8') val, utl_i18n.escape_reference(unistr('\010d \00e8'),'cl8iso8859p5') NCR from dual;
    VAL  NCR
    č e  &# x10d; &# xe8;In the US7ASCII case, where it should be possible for all non-ascii characters to be escaped, it seems as if the actual escape step is skipped over.
    Hope this helps to understand whether utl_i8n is usable or not in your case.
    Message was edited by:
    orafad
    Fixed replaced character references :)

  • Issue with Apps adapter for Create_Cust_Account API

    Hi ,
    I need to invoke this package from apps adapter in BPEL(10.1.3.5).
    Create Customer: HZ_CUST_ACCOUNT_V2PUB. create_cust_account. This is a Over loaded procedure. Look for the Procedure with these Parameters.
    PROCEDURE create_cust_account (
    p_init_msg_list IN VARCHAR2:= FND_API.G_FALSE,
    p_cust_account_rec IN CUST_ACCOUNT_REC_TYPE,
    p_organization_rec IN HZ_PARTY_V2PUB.ORGANIZATION_REC_TY
    PE,
    p_customer_profile_rec IN HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER
    PROFILEREC_TYPE,
    p_create_profile_amt IN VARCHAR2:= FND_API.G_TRUE,
    x_cust_account_id OUT NUMBER,
    x_account_number OUT VARCHAR2,
    x_party_id OUT NUMBER,
    x_party_number OUT VARCHAR2,
    x_profile_id OUT NUMBER,
    x_return_status OUT VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2
    But I’m getting the following error,
    An error occurred while running Jpublisher.missing method
    · I’ve tried with Database adapter. But in the runtime I’m not able to pass oracle apps initialization parameter in spite of using transaction and idempotent property in partnerlink.
    · Then I’ve tried to invoke fnd_global.apps_initialize first then call the package from database adapter, but it fails again, apparently its not able to execute both DBadapter in same database session although they are in same BPEL transaction.
    When I’m passing the initialization parameters in adapter created wrapper procedure then its working fine and customer got created.
    Please let me know where I’m going wrong or issue with apps adapter.
    It’s urgent …
    Thanks in Advance,
    Shreekanta

    Thanks for the reply.
    I'm able to execute the BPEL flows using DB adapter in same session and customer got created.
    But I'm wondering why I cant invoke the API using Apps adapter though its standard one.
    wsdl file is not getting generated as the adapter wizard not get completed.
    Do u have any idea why its giving ' error occurred while running Jpublisher.missing method' error?should I conclude that apps adapter does not support overloaded procedure.

  • Appending in file and supplying file name at run time using File Adapter

    Hi,
    Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called.
    Another query is can we create the file at run time with the supplied file name?

    In order to append to a file, we can use Append="true" in the interaction spec for the File/Ftp adapter.
    <jca:operation
    FileType="ascii"
    PhysicalDirectory="/home/adapter/output"
    FileNamingConvention="OutputFile.txt"
    NumberMessages="1"
    Append="true"
    >
    Filename we can specify in wsdl...

  • Any issues connecting the new MacBook to LCD projector with VGA adapter?

    I do presentations on the road using my old MacBook with whatever LCD I find when I get there. I run Keynote with lots of video clips in my presentations. I carry a Mini-DVI to VGA adapter. Most often it works fine.
    I was hoping to update to the new MacBook, but I'm concerned about the display issues on the discussion board.
    Has anyone had any experience connecting the new MacBook using Mini DisplayPort to VGA Adapter?

    I received my MB (aluminium) 2.0 in early November, but only this week (2nd week December) have had a need to use it for a presentation via the Mini DisplayPort --> VGA adapter.
    I thought I could use it just as I did my previous (white 1.83 MacBook) laptop, but this one is a bit quirkier. Plugging in the adapter cable results in a system freeze. Unplugging the cable will restore mouse control (unfreezing the computer) in most instances, but not all.
    Turns out that in order to use an external VGA connection, I need to have the adapter plugged in and restart the machine. If the external display is not present from boot, then it freezes.
    This is unlike my previous MacBook, in which I could plug-unplug willy-nilly. The screen would flash blue a couple of times and all would be fine, with the external extended display detected and functioning. This was one of those nice "Mac" things that my Windows-using colleagues were somewhat jealous of, as they constantly have trouble getting their laptops to recognize the LCD projector.
    Sadly, it looks like I'm now living in their world...
    M

  • HTTP 415 Unsupported Media Type with SOAP adapter ?

    Hello All,
    Iam getting  HTTP 415 Unsupported Media Type with SOAP adapter  error while executing the scenario.
    i got one thread which have the solution. iam not getting exactly how to write message transform Bean.
    HTTP 415 Unsupported Media Type with SOAP adapter trying to put SOAP header
    Please tell me where i need to write the MessageTransformBean at sender adapter or receiver file adapter.
    Thanks and regards,
    chinna

    Hi Chinna,
    Have you checked this
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    Regards
    Ramesh

  • I just updated my Firefox browser to Firefox 8. I am a college student and practice with HTML and CSS for class assignments. The fonts in all my html documents are being overwritten online by your script typeface. How do I resolve this issue?

    I just updated my Firefox browser to Firefox 8. I am a college student and practice with HTML and CSS for class assignments. The fonts in all my html documents are being overwritten online by your script typeface. I did not have this issue in the older version. I use an iMAC running OS10.6.8. How do I resolve this issue?

    Starting with this, you have errors in your CSS code.
    body {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-left: 0px;
      color: 151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: EFF5F8;
    body {
      margin:0;
      color: #151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: #EFF5F8;
      font-size: 100%;
    Related links:
    Windows Chrome, why do my fonts look so bad? - Lee Green
    css3 - Bad font rendering Chrome - Stack Overflow
    Nancy O.

  • Issue with DB Adapter involving multiple tables

    Hi,
    Am facing an issue with DB Adapter with multiple tables. Here are the details.
    I have 4 tables. Header, Details,Products and Devices. The relationship is defined as follows:
    Header has 1:M relationship with Details.
    Details has 1:M relationship with Products.
    Products has 1:M relationship with Devices.
    I want to select the details from all the tables for a particular header_id and detail_id. Defined 2 parameters and query is created with parameters.
    SELECT DISTINCT t0.FILE_NAME, t0.UNIQUE_SEQUENCE_NUMBER, t0.HEADER_COUNT, t0.TOTAL_DEVICE_COUNT, t0.FILE_DATE, t0.FILE_SEQ_NUMBER, t0.DEVICE_COUNT, t0.PHONE_TYPE, t0.PHONE_OWNERSHIP, t0.TRANSACTION_TYPE, t0.PURCHASE_ORDER_NUMBER, t0.CUSTOMER_ID, t0.CUSTOMER_DEST_SUFFIX, t0.LOCATION_DESTINATION, t0.MASTER_FACTORY_ORDER, t0.MASTER_FACTORY_ORDER_LINE_NUM, t0.ENT_ORDER_NUMBER, t0.DELIVERY_IDENTIFICATION_NUM, t0.UEDF_REVISION_NUM, t0.STATUS, t0.INBOUND_BPEL_INSTANCE_ID, t0.ERROR_DESCRIPTION, t0.INBOUND_FILE_VERSION, t0.CREATED_BY, t0.CREATION_DATE, t0.UPDATED_BY, t0.UPDATE_DATE FROM EDF_HEADER_STG_INT t0, EDF_DETAILS_STG_INT t1 WHERE (((t0.FILE_NAME = #file_name) AND (t1.EDF_SERIAL_TYPE = #prod_type)) AND (t1.UNIQUE_SEQUENCE_NUMBER = t0.UNIQUE_SEQUENCE_NUMBER))
    I expect the DB Adapter to retrieve the records for the parameters passed. i.e only those records from details table which matches with the parameter I passes in (t1.EDF_SERIAL_TYPE = #prod_type) . But I see that the DB Adapter retrieves all records from the details table for a particular unique_sequence_number(unique_sequence_number is primary key for headers table and foreign key for details table). Could you pls tell me how can I retrieve only selected records from the details table?
    Regards,
    Meenu

    Yes. When I run this query in DB, I get one record . While defining DB Adapter, I have imported 4 tables and also defined the relationship between the tables. In my case, column unique sequence number is primary key of headers table and foreign key of details table.The above select query is generated by the DB Adapter for the parameters I have passed in.
    My data is as follows:
    Headers table:
    file_name uniq_seq_num
    file_1.xml 220
    Details table
    product_id unique seq num edf_prod_type
    111 220 A
    112 220 B
    113 220
    Now, I call DB Adapter with parameters 'file_1.xml' (file_name)and 'A'(prod_type). I expect the DB adapter to retrieve only one record with product_id 111 in the detailscollection. But I see that the adapter retrieves all records from the details table without considering the value of prod_type.
    Edited by: user13276819 on Mar 19, 2012 6:32 AM

  • JCA Binding error with FTP Adapter on put operation

    Hi
    I am facing a problem with put operation with ftp adapter. my soa service will get file from the 1st ftp server (Unix) as attachment and is putting the file on another ftp serve(Unix)r. the put operation is failing with the below error:-
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server. Error sending file to FTP Server. Unable to send file to server. Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>Unexpected termination: Socket closed</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>
    this is a SFTP server and the corressponding property is set to true on the configuration. I had also recreated the jndi again & also increased the max connections to 700, but still facing the same issue. Also i am able to ftp the files to this location through filezilla. Also i continously getting the below errors in soa_server1.out:-
    <Jul 24, 2012 7:25:11 AM CDT> <Error> <oracle.soa.bpel.engine> <BEA-000000> <Unhandled exception for ComponentDN=default/NShoreAccrualConcService!1.0*soa_9113be23-2e93-4e54-9987-2e8ae5a4b2e6/ProcessNShoreAccurals CompositeInstanceId=330020 ComponentInstanceId=330018>
    <Jul 24, 2012 7:25:11 AM CDT> <Error> <oracle.soa.bpel.engine> <BEA-000000> <This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope. Root cause :
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server.
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    ,detail=<detail>Unexpected termination: Socket closed</detail>
    ,code=<code>null</code>}
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:338)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1059)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:586)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:130)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2543)
         at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1165)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1071)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4430)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4361)
         at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:698)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:555)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:673)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:293)
         at sun.reflect.GeneratedMethodAccessor1687.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         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.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
         at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
         at sun.reflect.GeneratedMethodAccessor1119.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy277.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    >
    <Jul 24, 2012 7:25:11 AM CDT> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-000000> <failed to handle message
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server.
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>

    Error itself indicates the potential issues -
    Please ensure
    1. Specified remote output Dir has write permission
    2. Output filename has not exceeded the max chararters allowed by the OS and
    3. Remote File System has enough spaceRegards,
    Anuj

  • Prolog with soap adapter in PI

    Dear All,
    We run a scenario Proxy=>PI=>HTTP
    The remote service accepts messages POSTed using either the form-encoded format (name, value pairs)
    or the multi-part mime format which enables the files to be passed to the web service.
    In both cases, the external service replies with a multi-part message.
    We are going to use the SOAP adapter (plain HTTP does not support attachments)
    with nosoap flagged.
    What is best approach to add a prolog before the actual XML with SOAP adapter,
    to simulate the form-encoded format?
    Example :
    USER=USER1&PASS=PASS1&DB=DB1
    In the 2nd situation, how to create the different documents before the actual XML?
    Example :
    7d924f5b0464
    Content-Disposition: form-data; name="USER"
    USER1
    7d924f5b0464
    Content-Disposition: form-data; name="PASS"
    PASS1
    7d924f5b0464
    Content-Disposition: form-data; name="DB"
    DB1
    Best regards,
    KR,
    Laurent

    Dear All,
    We run a scenario Proxy=>PI=>HTTP
    The remote service accepts messages POSTed using either the form-encoded format (name, value pairs)
    or the multi-part mime format which enables the files to be passed to the web service.
    In both cases, the external service replies with a multi-part message.
    We are going to use the SOAP adapter (plain HTTP does not support attachments)
    with nosoap flagged.
    What is best approach to add a prolog before the actual XML with SOAP adapter,
    to simulate the form-encoded format?
    Example :
    USER=USER1&PASS=PASS1&DB=DB1
    In the 2nd situation, how to create the different documents before the actual XML?
    Example :
    7d924f5b0464
    Content-Disposition: form-data; name="USER"
    USER1
    7d924f5b0464
    Content-Disposition: form-data; name="PASS"
    PASS1
    7d924f5b0464
    Content-Disposition: form-data; name="DB"
    DB1
    Best regards,
    KR,
    Laurent

  • JLabel with HTML visible only for the first time

    I've implemented a really simple applet:
    public class TestApplet extends JApplet {
      @Override
      public void init() {
        try {
          SwingUtilities.invokeAndWait(new Runnable() {
            public void run() {
              JPanel topPanel = new JPanel();
              topPanel.setLayout(new BorderLayout());
              getContentPane().add(topPanel);
              JLabel labelHello = new JLabel("<html>Hello World!</html>");
              topPanel.add(labelHello, BorderLayout.NORTH);
              JLabel labelHelloNoHTML = new JLabel("Hello World - without html!");
              topPanel.add(labelHelloNoHTML, BorderLayout.SOUTH);
        } catch (Exception e) {
          System.err.println("Couldn't initialize GUI");
    }And there are two html pages, both having the same applet and a link referring to each other:
    index.html
    <html>
           <head><title>Applet</title></head>
           <body>
                  <div><a href="link.html">Link</a></div>
                  <div>
                        <applet hspace="0" height="375" align="left" width="600" vspace="0" mayscript="" alt="GetJava" codebase="./"
                        code="com.test.TestApplet" name="TestApplet"></applet>         
                  </div>
           </body>
    </html>link.html
    <html>
           <head><title>Applet</title></head>
           <body>
                  <div><a href="index.html">Link</a></div>
                  <div>
                        <applet hspace="0" height="375" align="left" width="600" vspace="0" mayscript="" alt="GetJava" codebase="./"
                        code="com.test.TestApplet" name="TestApplet"></applet>         
                  </div>
           </body>
    </html>Now when I navigate to index.html the applet shows correctly both labels but in case I jump to link.html the applet shows only the second label i.e. Hello World - without html! . This seems to be specific to Java version 1.6.0_21 and 1.6.0_22, it was working properly in 1.6.0_17. Is anyone else experiencing similar issue or am I missing something?
    Edited by: user13135196 on Nov 25, 2010 4:33 AM
    Edited by: Slavek Tecl on 25.11.2010 13:12

    I am having this exact same issue. I have a JLabel with <html> for superscript in my JApplet. The first time I run my applet it displays fine. All subsequent times (refresh the page, or close the tab then open again) the JLabel with <html> doesn't show. This issue does NOT occur in the Eclipse Applet Viewer, but does occur with Google Chrome9 and IE8.
    I spent forever checking my methods and changing things trying to figure out why all the other labels show. Never would have guessed <html> in a JLabel would make it not display. This is terrible bug. Please fix ASAP.

  • Problem running reports with graphics in 11i

    Hi,
    I have developed some custom reports (using
    Reports 6i) with graphics charts embedded within them. I would like to display the output from within Oracle Applications 11i.
    There seem to be two approaches:
    1. Invoke the report from Oracle Self-Service using OracleOasis.runReport
    2. Register the report as a concurrent request (with HTML/PDF output) and run it using the concurrent manager
    Approach 1 requires the reports server cgi which I start using adrepctl.sh. Approach 2 requires the concurrent manager which I start using adcmctl.sh.
    The problems start to occur depending on how and from where I start these scripts. The exact problem occurs in both cases.
    If these scripts are started:
    1. From a regular telnet window from a windows NT box
    The reports error out with a REP-3000 internal toolkit error
    2. From an Exceed xterm session and I keep the Exceed session alive (I tried both TrueColors and PseudoColors settings)
    The reports work but there are problems with the output - pie colors do not appear (everything is white, for e.g.), etc.
    3. From the Sun Solaris console
    The reports work fine.
    The problem is that method 3 is not very convenient since every time I bring down the concurrent manager or reports cgi server, I need to walk to a different building (where the Sun boxes are) to start it.
    Method 2 above isn't particularly great either (even assuming I can get it to work) since I need to have an exceed session running all the time.
    Can some one offer suggestions to solve the problem I'm having? Even clues on why method 2 above is not working as expected would be greatly appreciated.
    Thanks,
    - NR

    Problem solved! As long as the xhost + is set on the host machine and some one is logged in, it appears that one can simply set the DISPLAY environment variable to point to the host (even from a simple telnet window) and start the reports server or concurrent manager. Looks like you also have to have REPORTS60_NO_DUMMY_PRINTER set to "YES".

Maybe you are looking for

  • Is it possible to add a button on smartform layout to achieve some action ?

    hi all , Is it possible to have a self-define button to achieve actions when we preview the smartform layout . thanks and regards Kevin

  • Embedded fonts in SVG not working?

    CS3, CS4 - is it just me, or is the SVG import really broken? even if I make a new file with Illustrator, save as SVG and choose to embed fonts, Illustrator still reports a missing font when I remove the font from the system and then try to open that

  • Macbook Pro Graphics Problem?

    Hello everyone, So i have been having this problem recently where my Macbook Pro would flip out and the graphics would lag and go crazy. If i try to drag a window it would leave a trail behind. I was able to take a screen shot of it and you can actua

  • How to block field groups instead of fields on tcode BP in SAP ECC

    Hi Experts, Does anyone know how I can block modification of entire tabs in tcode BP for a given user access role instead of down at the field level only? Example: how can I make the entire Address tab of the General Data view nonmodifiable instead o

  • URGENT: Extend EBS with APEX (new Tab Menu = Function/ html call to APEX)

    Hello everyone, we are trying to extend EBS with APEX applications: - Created function XX with type = JSP (HTML Call = GWY.jsp?targetAppType=APEX&p=100:1) If we add/ call this function on a standard EBS main menu, it works fine and calls the APEX pag