DIME on J2EE

It seems that WLS does not by itself support DIME attachments. Unfortunately
we find ourself in the position to implement SOAP with a DIME attachment
according to a given WSDL, as we wil be one of several parties offering the
same standardized prescribed webservice. (And yes: most of the other parties
are hooked on .NET, which is one of the reasons why this approach has been
adopted in the first place...)
What are the options open to us, if we wish to implement this Webservice on
WLS? (We value ease of use, but do not wish to spend much money, as BEA will
probably catch up supporting DIME in WLS and Weblogic Workshop in the near
future)
TIA.
Ad van Ommen
Agis Zorgverzekeringen
[email protected]

Thanks again Michael,
I guess its weekend time for me to implement and test this approach....
You have given me a headstart, but as a near freshman to (BEA) Webservices,
Workshop and J2EE filtering and DIME, it may take me more then the few hours
I have available this weekend.
Would it be a good idea to write a short note or whitepaper on this subject
for the BEA community?
(It seems relevant to a larger public then just you and me)
Finally I think you're dead right again about transferring large files, but
it's not in my hands. The size of 10 Mb I mentioned is the exception though.
The size will be far less then 1 Mb in most cases.
Regards
Ad vanOmmen (first name is just Ad, but with such excellent advice, you can
call me anything ;-)
[email protected]
"Michael Wooten" <[email protected]> wrote in message
news:[email protected]...
>
Hi Ad van,
Yep! It's that simple, but the devil is always in the details :-)
You'll need to create a HttpServletRequestWrapper and ServletInputStream,because
you'll need to rewrite the contents before you let it go to the respectiveweb
services Servlets in WLS and Workshop. Basically, you'll need to:
1. Change the Content-type header to text/xml (using the methods on theHttpServletRequestWrapper),
>
2. Throw away everything but the contents of the DIME record with the SOAPmessage
in it, and
3. Change the Content-length header (using the methods on theHttpServletRequestWrapper).
>
If you don't make the above changes, WLS (and Workshop) will spew forth"stack
trace obscenities", and generally be a little unhappy :-)
I would use disgression with attachment sizes though. Neither DIME, MIMEor HTTP
was designed for transfering huge files. That's why they created FTP (andGFTP)
The Java DIME package I told you about uses streaming, and will take careof all
the chunking for you.
Anyway, I think BEA is working on a "more elegant solution", as we speak.I talked
to Adam Bosworth a while back (about 2 months ago), about support for DIMEwith
both WLS and Workshop, and he was definitely all for it. Especially when Ishowed
him the differences in efficiency (and performance) with SwA using MIMEand DIME
Regards,
Mike Wooten
"Ad van Ommen" <[email protected]> wrote:
Thanks Michael,
Your solution strikes me as beautifully simple and effective. Just to
be
sure that I understand it right, I will formulate it in my own,
relatively
layman's terms. Please correct me if I'm wrong!
(The description is for my situation with an incoming DIME request)
1.
Intercept the DIME request message through a J2EE Servlet Filter
2.
Read the DIME message with the library you mentioned
2.1
The first DIME record is the SOAP message and is passed on
(The usual WLS or Workshop processing will apply to it later).
2.2
Subsequent DIME records are attachments.
They can be stored as files.
At no moment in time, the whole record needs to be in memory
(I expect records of up to approximately 10MB!)
2.3
SOAP message and files are related through the UUID.
So from the SOAP message, the filename can be derived
3.
The business logic of the webservice can find the attachments through
the
UUID.
After using it a file can be deleted.
4.
The response is simply passed by the Filter Servlet.
(If it really is this simple, one wonders why it's not offered by the
weblogic platform.)
Regards Ad
[email protected]
"Michael Wooten" <[email protected]> wrote in message
news:[email protected]...
Hi Ad van,
You might want to check out the LGPL-licensed Java DIME package at
http://onionnetworks.com/developers/index.php
I implemented a Servlet Filter (w/HttpServletRequestWrapper andHttpServletResponseWrapper
classes) that uses the generator and parser in that package, to doDIME
with both
Workshop and WLS web services. It only took me a weekend to write andtest
it,
so I think it may fit your requirement to "not spend much money, asBEA
will probably
catch up in the near future" :-)

Similar Messages

  • Does WLS6.1-sp2 support J2EE-1.3 spec by default?

    hi All,
              Just installed WLS6.1-sp2 30-day evaluation. I tested on it with a simple
              Filter servlet, but it didn't work at all.
              I tried to find some docs related to J2EE spec compliance and they say the
              default is J2EE-1.3. Can anyone tell me the default J2EE spec supported by
              WLS6.1-sp2? And how can I check the currently-used J2EE spec in my running
              WLS? How can I switch between J2EE-1.2 and 1.3?
              Thanks
              Liu Yan
              

    I think it is enabled by default. Note that javax.servlet.Filter which is
              shipped with WebLogic is different from one in final Servlet 2.3. Also you
              can search this newsgroup - there are lots of problems with Filters in 6.1.
              If you think that the problem is with your program, try to deploy it on Resin
              or Tomcat to see if it is actually the case.
              Liu Yan <[email protected]> wrote:
              > Thanks for your reply. I found that WLS6.1 DOES support so-called non-final
              > version of J2EE-1.3 spec. And my downloaded version is J2EE-1.3
              > feature-enabled by default. Seems the problem of my filter program.
              > But do you know how to configure J2EE compatibility in admin console? I mean
              > can I switch back and forth between J2EE-1.2 and 1.3?
              > Thanks
              > Liu Yan
              > "Dimitri Rakitine" <[email protected]> дÈëÏûÏ¢ÐÂÎÅ
              > :[email protected]...
              >> 6.1 does not support final Servlet 2.3 spec. You can see release notes
              >> for details: http://e-docs.bea.com/wls/docs61/notes/index.html
              >>
              >> Liu Yan <[email protected]> wrote:
              >> > hi All,
              >>
              >> > Just installed WLS6.1-sp2 30-day evaluation. I tested on it with a
              > simple
              >> > Filter servlet, but it didn't work at all.
              >>
              >> > I tried to find some docs related to J2EE spec compliance and they say
              > the
              >> > default is J2EE-1.3. Can anyone tell me the default J2EE spec supported
              > by
              >> > WLS6.1-sp2? And how can I check the currently-used J2EE spec in my
              > running
              >> > WLS? How can I switch between J2EE-1.2 and 1.3?
              >>
              >> > Thanks
              >>
              >> > Liu Yan
              >>
              >>
              >>
              >>
              >> --
              >> Dimitri
              Dimitri
              

  • Java Web Service that accepts DIME attachments?

    Hi guys here's my situation..
    I am required to build a Java webservice that can take a file attachment and various other parameters(I have the parameters bit sorted, and can access them fine using .net's WSE). I need to access this webservice and send the file attachment via a .Net web application. Can anyone please help me by pointing me in the right direction? I've spent hours now trying to google examples, but I cant' really find anything that gives me a clear example on how to create a web service in Java that integrates well with .net when dealing with file attachments. I see things such as Axis (JAX-RPC), SOAP with Attachments, etc.. which one is recommended for this situation?
    for what its worth, I'm using Tomcat 5.5, Eclipse 3.1 with the lomboz plug in and jdk 1.5.5.
    would appreciate some code samples, tutorials, etc..
    Also.. .net is more my comfort zone at present, although I did do some J2EE work for a while about 2 yrs ago, so apologies for not being entirely up to scratch with current java WS technologies.
    Thanks in advance!!..

    CF doesn't support DIME "natively", but Apache Axis does, and that's the library that CF uses. So, you'll have to drop to Java to do this.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • J2EE optimisation by pre-fetching pages

    Hi,
    I´m working on a J2EE application/site that generates pages
    dynamically. Although the pages vary significantly, the sequence of
    pages for a particular user is generally predictable. The client is
    worried about performance and wants the design to predict the next
    page, generate and cache it, so that it is ready for the user´s
    request.
    The pages are, at base, JSP pages (whose content depends largely on
    information in the user´s session that, over a single session, remains
    constant). Is there any way to do what the client wants (with a
    reasonable amount of effort)? I can't see how to work around the
    demand-driven nature of a J2EE server (in this case Weblogic's).
    Presumably, if there is a solution, it involves sending all requests
    to a Servlet, rather than the JSP page directly, and somehow the
    Servlet handles caching and prefetching. But that means the Servlet
    has to fake a SessionContext and redirect it to the appropriate JSP
    page (I think). Has anyone done this?
    Thanks,
    Andrew

    Also, take a look at Tangosol's Coherence caching product:
    http://www.tangosol.com/products-clustering.jsp
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Andrew Cooke" <[email protected]> wrote in message
    news:[email protected]...
    Actually, this reply is a bit too self-critical. It also makes sense for
    this data to be inside the JSP page for other, more sensible, reasons too.
    The data from page to page are very variable, requiring individual
    formatting.
    Andrew
    "Andrew Cooke" <[email protected]> escribió en el mensaje
    news:[email protected]...
    Hi,
    Thanks for the reply. Unfortunately it's difficult to know which data
    to
    cache until the page is generated, because the information that drivesthe
    page generation is inside the JSP page, not the database. In otherwords,
    when the page is generated, data within the page pulls the informationfrom
    the database.
    A cleaner design, obviously, would be to have everything in the
    database,
    but for practical reasons (limited resources - I am working for a small
    company in S. America, with a tight deadline and no other Java/JSP
    knowledge - that mean the closer this is to a "traditional" page-by-page
    website, the more likely it is to work) this is not possible. Or, atleast,
    it needs a very strong argument to change the approach (and I'm not sure
    this is it).
    Does that make sense? It means, as far as I can see, that only way to
    prepopulate the beans is by pre-generating the page...
    Thanks,
    Andrew
    <[email protected]> escribió en el mensaje
    news:[email protected]...
    Why don't you simply cache the data needed to render these
    pages? Unless your rendering mechanism is slow by itself, for a
    regular JSP which renders some pre-populated beans, pre-fetching
    shouldn't make much (if any) difference.
    Andrew Cooke <[email protected]> wrote:
    Hi,
    I´m working on a J2EE application/site that generates pages
    dynamically. Although the pages vary significantly, the sequence of
    pages for a particular user is generally predictable. The client is
    worried about performance and wants the design to predict the next
    page, generate and cache it, so that it is ready for the user´s
    request.
    The pages are, at base, JSP pages (whose content depends largely on
    information in the user´s session that, over a single session,
    remains
    constant). Is there any way to do what the client wants (with a
    reasonable amount of effort)? I can't see how to work around the
    demand-driven nature of a J2EE server (in this case Weblogic's).
    Presumably, if there is a solution, it involves sending all requests
    to a Servlet, rather than the JSP page directly, and somehow the
    Servlet handles caching and prefetching. But that means the Servlet
    has to fake a SessionContext and redirect it to the appropriate JSP
    page (I think). Has anyone done this?
    Thanks,
    Andrew--
    Dimitri

  • DIME on WLS 8.1 - WSDL

    Hi,
    I am attempting to implement DIME on wls 8.1. I saw some detailed messages on
    this newsgroup on how to do it, and i think i am allright in that dept (thanks
    to all!)
    I did have a question re the WSDL,though. How do i generate a WSDL that specifies
    DIME and not MIME(as WL does) ? I am writing this for a .Net client, and it needs
    to see DIME in the WSDL. Do i have to manually update my WSDL ? or is there a
    tool..?
    Thanks in advance,
    Leena.

    Hi Leena,
    The good folks with WS-I (http://www.ws-i.org) are currently wrestling
    with the interop issues associated with attachments, all to say this is
    still somewhat of a moving target (for DIME), however for J2EE, MIME is
    here to stay using SAAJ 1.1 (http://java.sun.com/xml/saaj/index.html)
    Regards,
    Bruce
    Also, there is some movement on PASWA, it's now called MTOM, and is
    being specified by the W3C XMLP (SOAP) WG. See:
    http://www.w3.org/TR/soap12-mtom/ and also see:
    http://dev2dev.bea.com/technologies/webservices/Soap_Binary_Data.jsp
    leena wrote:
    >
    Hi,
    I am attempting to implement DIME on wls 8.1. I saw some detailed messages on
    this newsgroup on how to do it, and i think i am allright in that dept (thanks
    to all!)
    I did have a question re the WSDL,though. How do i generate a WSDL that specifies
    DIME and not MIME(as WL does) ? I am writing this for a .Net client, and it needs
    to see DIME in the WSDL. Do i have to manually update my WSDL ? or is there a
    tool..?
    Thanks in advance,
    Leena.

  • Crystal Report generate PDF with J2EE problem

    Dear All
    I am having a great problem on generating PDF file by Crystal Report in J2EE.
    I have my J2EE application runs Crystal Report to generate PDF files.
    However for a report, i hit the following error (red color) when the PDF is generating.
    But is no problem for the other reports.
    Here is the code  that i used to generate the PDF
    My OS and Java version as follows
    Window 2003 server.
    Java 1.4.2_04
    Please Kindly Help
    Thanks very much
    public static void export(HttpServletRequest request, HttpServletResponse response, String reportPath, ArrayList paramList, ReportExportFormat outFormat) throws Exception{
         System.gc();
      HttpSession session = request.getSession(false);
      Object reportSource = getReportSource(request, reportPath);
      ReportExportControl exportControl = new ReportExportControl();
      if(paramList != null && paramList.size()>0){
       exportControl.setParameterFields(getParamFields(paramList));
      ExportOptions exportOptions = new ExportOptions();
      exportOptions.setExportFormatType(outFormat);
      PDFExportFormatOptions pdfexpopts = new PDFExportFormatOptions();
      exportOptions.setFormatOptions(pdfexpopts);
      exportControl.setReportSource(reportSource);
      exportControl.setExportOptions(exportOptions);
      exportControl.processHttpRequest(request, response, session.getServletContext(), null);
      exportControl.dispose();
        public static IReportSource getReportSource(HttpServletRequest request, String reportPath) throws Exception{
      ReportClientDocument oReportClientDocument = new ReportClientDocument();
      HttpSession session = request.getSession(false);
      oReportClientDocument.open(reportPath, 0);
      return oReportClientDocument.getReportSource();
    00:57:08,671 ERROR reportdefinition Thread-28 - Report printer was not valid, switching to default printer.
    00:57:08,687 ERROR objectformatter Thread-28 - com.crystaldecisions.reports.dataengine.k: |Y
    00:57:09,343 ERROR b Thread-28 - Disk Exporter: no output file was created by an exporter
    00:57:09,343 ERROR b Thread-28 - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); java.lang.IllegalArgumentException

    Hi,
    I have tried this code but stil the same.
    However i tried setup another tomcat and application in the other machine and the only job for  the application is exporting the report that has problem, then the error is gone.
    So i guess that is the memory size problem.
    Thanks for this
    One more question about the memory size between Tomcat and Crystal report.
    I have set in catalina.bat as
    set JAVA_OPTS = "-Xms2048M -Xmx1024M"
    and CRConfig as
    <JVMMaxHeap>1024000000</JVMMaxHeap>
    <JVMMinHeap>512000000</JVMMinHeap>
    1. Is that the correct setting.?
    2. The memory in the JAVA_OPT and is the MAX and MIN memory that java would use,
        then is the Max memory in CRConf is 1024M out of the java heap size or the application use another 1024 memory

  • HOW can i delete the members in dim using MAXL

    Hi All,
    I want to delete the all the memebers for dimensions before reloading so how ca n i write the maxl script for this to delete the members in the dimensions
    plz can any one help on this its very urjent ,
    It would be appriciated ...
    Thanks

    There is no way to alter an outline with MaxL, MaxL is an admin language for processing. The only option, as Glenn mentioned is to issue the reset all command to blow away everything. But you probably don't want to do that, so instead you use Maxl to run a series of load rules to achieve your goal.
    Load rules do not have functionality to delete outline members, it does have a feature however that allows you to remove unspecified members from a dimension build, so when loading in your members, if existing members are not in the import, they are removed. So Glenn's point was to create a source file with a single dummy member. When you load using "Remove Unspecified" it will delete all the members and just keep the one dummy member. Then when you go back a second time and actually load the real members, the dummy member will be removed and you will have a clean dim with only your new members. This is a work around solution, but it's what a lot of people do.
    Now if you have 15 dimensions you need to do this with, you might want to take a slightly different approach. I'm assuming 15 dimensions is probably an ASO cube and this method will be preferable to avoid outline fragmentation.
    Create a copy of your outline with all the base dimensions that do not change intact. For the ones that do change, just have your dim root member. Consider this your starting outline template and save a copy of it. When you want to rebuild your cube have a server process that takes the copy of your template outline and copies it over your existing outline file in the directory structure. Then run your load rules to import your new members.

  • Error while installing J2EE Add- In to the ABAP system

    Error while installing J2EE Add-In to the ABAP system 
    We are installing J2EE Add-In to the ECC5 System in the new hardware.
    When are getting Error while installing J2EE Add-In to the ABAP system.
    Transaction Begin*****************************
    ERROR 2005-08-10 14:58:28
    CJSlibModule::writeLogEntry()
    CJS-20011 J2EE engine configuration error. DIAGNOSIS: Error when
    configuring J2EE Engine. See output of
    logfile /usr/sap/QSS/install/batchconfig.log: 'My Library Path
    is: /usr/j2se/jre/lib/sparcv9/server:/usr/j2se/jre/lib/sparcv9:/usr/j2se/jre/../lib/sparcv9:/tmp/sapinst_exe.13084.1123702275:/usr/lib::/usr/openwin/lib:/usr/sap/QSS/SYS/exe/run:/oracle/QSS/920_64/lib:/oracle/QSS/920_64/lib32:/usr/lib
    ElementInfoTask has finished successfully on dispatcher
    ConsoleLogsTask has finished successfully on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager:
    LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager:
    ClusterManager on dispatcher
    ElementInfoTask has finished successfully on server
    ConsoleLogsTask has finished successfully on server
    ChangeManagerPropsTask has finished successfully. Manager:
    LockingManager on server
    ChangeManagerPropsTask has finished successfully. Manager:
    ClusterManager on server
    ChangeServicePropsTask has finished successfully. Service: dbpool on
    server
    ChangePasswordsTask finished successfully.
    Error occured while connecting to database (UploadFile). Msg: No such
    algorithm: DESede
    Transaction end***********************************
    We tried twice clean installation, after removing j2ee dir, SCS and
    resp profiles and droping PSAPQSSDB tablespace and SAPQSSDB user.
    I have also confirmed the passwords in ABAP system/000 for SAPJSF, DDIC, J2EE_ADMIN, J2EE_GUEST.
    We are getting the same error in both tries.
    Kindly advice us to resolve the problem.
    Thanks and Regards,
    Srinivas

    Ananda,
    you saved my day!  I've been banging my head against the wall with this same problem during a J2EE add-in installation for SRM 4.0 on Windows, in preparation of an LAC 2.0 installation.  I had tried deleting the schema first, but that didn't work.  After I removed the sys\global\security folder as well, it worked perfectly.
    Thank you.

  • Error while updating account dim

    I get the below error while updating the Outline Account Dim.This error occurs only when updating account dim. It does not happen with other dimensions. So it doesn't seem to be the connection being down. If we recycle the analytics server. But we are not able to find out the actual cause for this issue.
    Error message:
    Cannot build dimension. Analytic Server Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again
    Additional information
    Account is defined as dense dimesion with 1800 level 0 members. We are updating this using rules file.
    Potential Number of Data Blocks     :     27762609853440
    Number of Existing Data Blocks     :     2625360
    Index Cache: 40960
    Data cache : 20480
    I appreciate any help in resolving this issue

    There is probably something in your dim build source file that Essbase doesn't like and isn't giving you a good error message. Did this dim build work in the past and you recently added something to it?
    Try excluding certain columns like member properties and data storage just to see if you can get the members to load. Then slowly bring back in the other columns to see if you find the one that has the problem. Similarly try keeping all the columns but just try loading one record and see if it succeeds, this will help you start to narrow down if it is a load rule or source issue. Other option is to create a new load rule, perhaps there is something wrong with the one you are using.
    Unfortunately there is no magic bullet here, you just have to work through small samples to try and isolate what the problem is.

  • Getting oracle.j2ee.xml.XMLMessages error while running project in 11g

    when I run a project in JDeveloper 11g for the first time i.,e when it starts the embedded oc4j server, I get "oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered" error. I am using TP4. is this a severe error or something we can ignore?
    -Pardha

    hi Pardha
    For questions about JDeveloper 11g you could try this forum:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • Error while deploying ear-file to J2EE via NWDS/SDM

    Hi everybody,
    i have a problem deploying an ear-file. I was looking for similar cases in forums, but didn't find anything. My application is developed by jsp/servlets. The deployment aborts with following error-massage:
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.warcom.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason: java.io.IOException: Stream closed
    I don't know what the reason could be. The application is running on tomcat. And I can deploy other applications to j2ee with nwds/sdm.
    Maybe somebody had or has the same problem. Or somebody knows the answer for the problem. Please help, points will be regarded. Thanks in advance.
    best regards
    Lu

    Hi,
    I checked the log-files, but there are no helpful informations, but:
    07/04/23 12:08:04 -  Start updating EAR file...
    07/04/23 12:08:04 -  start-up mode is lazy
    07/04/23 12:08:20 -  com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
                         com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
                          java.io.IOException: Stream closed
    and
    Apr 23, 2007 12:08:20... Error: Aborted: development component 'Dokusunddownloads'/'sap.com'/'localhost'/'2007.04.23.12.07.47'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
    com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
    java.io.IOException: Stream closed
    thanks,
    Lu

  • Error in creating a new user in j2ee 14 admin console

    Hi,
    I am getting the following error while trying to create a new user using the j2ee 1.4 admin console.:
    A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor 'fileUsers'"
    The root cause is "java.lang.ArrayIndexOutOfBoundsException: 0"
    Plz proide me with solutions
    Regads,
    Tanmoy

    This problem wil happen only if you've created a user with an empty group id, and this issue is fixed for FCS .
    You have two workarounds to use adminGUI for managing users:
    1. Use CLI, and create a group id to this user, then you can use adminGUI.
    2. Other option is remove the empty group id user from domain.xml, and then you can come back to adminGUI to create the user with some group id. I prefer the 1st option.

  • Error while running a J2EE application on Oracle10gAS

    Hi,
    I am receiving an error when trying to run a J2EE application on Oracle10gAS. The application runs successfully on Oracle9iAS, but throws the following exception on 10g application server:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>com.evermind.server.rmi.OrionRemoteException: Error in createInstance(): null; nested exception is: java.lang.NoClassDefFoundError</faultstring>
    <faultactor>/STAR-TicketBroker-context-root/TicketBrokerWS</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Does anyone have any idea why I would be receiving this
    error? We are using Session EJBs in our J2EE application. Are there any changes needed in the code in order to migrate a J2EE application from 9i to 10g ???
    Please help.
    Thanks,
    -Prashant

    Hi Somil,
    I've just had this same error message, and it was because I had a bogus character in my JSP sources.  I'd cut-and-pasted the text from a Word document, and it included the "registered trademark" sign (an R in a circle) as a single character.  This worked in my test environment, but not in my production environment (where presumably the default encoding is different).  I replaced the character with the equivalent HTML entity &amp;reg; (ie. the five characters & r e g ; ) and it all worked.
    Have a look through the offending JSPs and see whether you have any characters that might be incompatible with your default encoding (anything that isn't plain old 7-bit ASCII is potentially a problem).  Change them to HTML entities and you should be fine.
    Hope this helps,
    Richie

  • Error While running a J2EE application on J2EE Engine.

    Hi Guys,
    I have a Ear file which I deployed successfully .Now in some jsp pages its throwing some exception.
    . I think its related to Sap parser Can any anyone Resolve this?
    Application error occurs during request processing.
      Internal error while parsing JSP page [D:/usr/sap/JDV/JC00/j2ee/cluster/server0/apps/JavaEE/SP/servlet_jsp/SP/root/Sample.jsp].
      *Details:com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib [http://java.sun.com/jsf/core]:*
    +[com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a0(:main:, row:272, col:25)(:main:, row=272, col=25) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a0(:main:, row:272, col:25)].+
    Exception id: [000C29A9E97100650000005B00000930000455FCF34E1452]
    Edited by: Somil Agarwal on Sep 3, 2008 2:33 PM
    Edited by: Somil Agarwal on Sep 3, 2008 2:34 PM

    Hi Somil,
    I've just had this same error message, and it was because I had a bogus character in my JSP sources.  I'd cut-and-pasted the text from a Word document, and it included the "registered trademark" sign (an R in a circle) as a single character.  This worked in my test environment, but not in my production environment (where presumably the default encoding is different).  I replaced the character with the equivalent HTML entity &amp;reg; (ie. the five characters & r e g ; ) and it all worked.
    Have a look through the offending JSPs and see whether you have any characters that might be incompatible with your default encoding (anything that isn't plain old 7-bit ASCII is potentially a problem).  Change them to HTML entities and you should be fine.
    Hope this helps,
    Richie

  • Filename for flat file using J2EE FILE FTP Receiver adapter

    Hi there,
    I am struggling to do the following:
    I have a J2EE File receiver that sends a file with a specific name to a FTP destination. I define the target filename in my graphical mapping using certain criteria and a incremental number. In my adapter I use variable substitution to select that value in the payload as the filename. Up to this point everything works fine.
    The problem is that I convert the payload to a flat structure using xslt before writing it out and because of that the adapter cannot find my value as defined in the variable I use for the name.
    Now, obviously if I move the xslt module after the CallAdapter module, the file won't be converted to a flat structure.
    Can anyone give me advice on how I can do the flat conversion <u>and</u> the specific filename from the payload?
    Thanks in advance,
    Johan

    Hi,
    Instead of using variable substitution, use adapter specific identifiers to set the file name in mapping.
    Ref:/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Jai Shankar

Maybe you are looking for

  • Regarding Horizon period in Dynamic Credit Check

    Hi All, i am using a dynamic credit management with horizon as 1 month, suppose consider todays date ( 11th May), as per the configuration, the system should block the documents that has Material availability date till 10th or 11th June, but am getti

  • Accounting doc number for a material doc

    Hi Experts, Pls help me to know the accouting document number for a material document. Is there any functional module for the above or any table fields. currently we are developing zprogram. Appreciate for advices.

  • In Acrobat X Pro, fields are not showing up when previewing or creating Reader-enabled PDF

    I have a form with many fields (217 in all). When I click "Preview" within Form Editing, I only see a small subset of the fields. If I save as a user-enabled form, that form only shows the same fields. Why aren't all of the fields showing up? Thanks!

  • Add call button not present when in active call

    Hi all, I have a MacBook Pro (the latest one with Yosemite 10.10.2). I dont have an iPhone so no integration has been done. I was watching Modern Family - "Connection Lost" episode and I saw Claire adding another call when she was in a Facetime video

  • How to sync Safari bookmarks to iphone

    Since Apple isn't the company they used to be with Jobs that used post how-to videos and directions, can anyone tell me how to sync my safari bookmarks to my iPhone (4s). Thanks