NoClassDefFoundError AsnDecoder StandardLicenseFDS using: amf RO on Tomcat

Hi all,
Have you ever seen the error below on a Tomcat console?
I am trying a simple amf remote object using the build-in
my-amf channel. Is it about FDS license? I reinstalled fds-express.
INFO: Server startup in 2688 ms
Apr 24, 2007 5:47:32 PM
org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.NoClassDefFoundError:
flex/messaging/license/AsnDecoder
at
flex.messaging.license.StandardLicense.<init>(StandardLicense.java:50)
at
flex.messaging.license.LicenseServiceImpl.validateLicense(LicenseServiceImpl.java:250)
at
flex.messaging.license.LicenseServiceImpl.init(LicenseServiceImpl.java:296)
at
flex.messaging.MessageBrokerServlet.buildLicenseService(MessageBrokerServlet.java:200)
at
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:96)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt p11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.ja va:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Apr 24, 2007 5:47:32 PM
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet MessageBrokerServlet
java.lang.NoClassDefFoundError:
flex/messaging/license/AsnDecoder
at
flex.messaging.license.StandardLicense.<init>(StandardLicense.java:50)
at
flex.messaging.license.LicenseServiceImpl.validateLicense(LicenseServiceImpl.java:250)
at
flex.messaging.license.LicenseServiceImpl.init(LicenseServiceImpl.java:296)
at
flex.messaging.MessageBrokerServlet.buildLicenseService(MessageBrokerServlet.java:200)
at
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:96)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt p11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.ja va:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Anticipated thanks
D C Roman

This was a beginer reference problem. Out of the fds
libraries only one was referenced by the project:
flex-messaging.com. The rest were absent. Sure enough, when all
were pulled the error did not manifest any more.
D C Roman

Similar Messages

  • How to use toplink in the tomcat server?

    Hi,
    I want to use Toplink in the tomcat server. I am connecting to oracle database using DataSource.
    Can any body help me, what are the setup required to use the toplink in the tomcat?
    Please help me if any body has idea on the same.

    Take a look at this other forum posting: Tomcat acquire dataSource [TOPLINK-7060]
    --Shaun                                                                                                                                                                                                                               

  • When to use AMF and when to use RTMP??

    Hello can someone explain the difference??
    I am using all the defaults for the configurations files
    (remoting and datamanagement) and my app works perfectly on
    development mode where everything is on localhost, but when we try
    it on pre-production it keeps throwing an error saying that it
    couldn't connect to the RTMP channel. The only thing that changes
    between these two modes is that on development i access everything
    on localhost and on pre-production we point to another server.
    I am totally clueless why this is happening, i am bit
    confused why data-management uses RTMP and why remoting uses AMF,
    so if anyone could explain it to me it would be great.
    Thanks

    There's no special reason why one uses RTMP vs. AMF. Data
    management service can also use AMF and Remoting can also use RTMP.
    The only real requiement is that Data management service needs to
    be able to receive updates from the FDS/LCDS server. This can be
    achieved by using a channel that is capable of receiving pushed
    updates from the server (eg. RTMP) or a channel that is capable of
    polling for updates on the server (i.e. AMF-polling). Therefore,
    when you use AMF with Data management service, you need to have
    polling enabled with a polling interval.
    In terms of why AMF works but RTMP doesn't is that AMF
    channel uses AMF format over the HTTP protocol whereas RTMP channel
    uses simple TCP socket (and not HTTP). Therefore in some
    environments, RTMP will be blocked by the firewalls but AMF won't
    since it's like regular HTTP traffic. In this case, you can use AMF
    polling instead or use RTMPT which is new in LCDS 2.5.

  • How can I configure ang use JNDI datasource on Tomcat 4.0.x ?

    How can I configure ang use JNDI datasource on Tomcat 4.0.x ?
    Please help me , Thanks !

    Hello ,
    You need to go through the JNDI tutorial which you can access at the sun's site. It will explain all the things you need.
    By the way all you want to use JNDI datasource is JNDI class library and some naming or directory service provider, which also you can download from sun.
    Good Luck.

  • BLOB images using AMF

    Does anyone have experience of transfering image data (BLOB) from MySQL using AMF for display in Flex?
    Thanks in advance.
    Russell

    Glowball wrote:
     <cfset thisImage = ImageNew(get.file_binary)>
    It could be that imageNew() expects an image as parameter, and not on a binary. What happens when you first convert from binary to image, like this?
    <cfset imageAsBase64String   = binaryEncode(get.file_binary, "base64")>
    <cfset thisImage                       = imageReadBase64(imageAsBase64String)>
    <cfset ImageResize(thisImage, "500", "", "mediumQuality")>
    etc.

  • I want to use hibernate with the tomcat

    I want to use hibernate with the tomcat server can it be possible and if yes then what is the stepwise way.
    Infact I know the java JSF but want to command on Hibernate plz help me.
    I'll be thankful to you.

    To be honest, I wouldn't even know where to start. Do you know what Hibernate does and how it works? Do you know how Tomcat works? All you'd need to do to combine those two would be to let Tomcat provide the DB connections for Hibernate, I suppose. Neither of those products are a topic of this board though.

  • BlazeDS Secure-amf (https) still uses amf (http)

    Hello,<br /><br />BlazeDS works perfect, but when i bring my services-config, proxy-config and remoting-config to Secure then I get the following error:<br /><br />500 Internal Server Error. BlazeDS is stil trying to connect to: http://<servername>:<port>/blazeds/messagebroker/amf<br /><br />But i removed every amf-channel using amf! Why is BlazeDS still trying to connect on the amf channel?? (HTTP).<br /><br />My channel definitions are:<br /><br />-- services-config.xml --<br /><channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br />            <endpoint url="https://<servername>:<portssl>/blazeds/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br />            <properties><br />                <add-no-cache-headers>false</add-no-cache-headers><br />            </properties><br />        </channel-definition><br /><br />-- remoting-config.xml --<br /><default-channels><br />       <channel ref="my-secure-amf"></channel><br /></default-channels>

    I have already found the problem. When you want to use amf-secure instead of amf beware that you disable all amf configurations. Then blazeds will try to connect with http instead off https. This wil give overhead.

  • Problems with file upload using AMF or SOAP

    We use your AMF to connect Flex with Ruby on Rails.
    Everything is OK, except file upload.
    We did not find how to upload file using AMF or SOAP RPC from
    Flex. Only to use FileReference.upload().
    The problem is that Flex uses different User-Agent in HTTP
    header for this upload and for SOAP/AMF calls.
    This means that sessions are different. And even if you
    authenticated via SOAP/AMF you can not use it to upload file.
    Could you, please, advice is there any other way to upload
    files from Flex via SOAP or AMF?

    Please, help me on this issue, i am still waiting for someone replying me!

  • Problem with html:select or html:options tags using struts,jsp and tomcat

    Hi
    I'm updating a Struts-Project to a new layout and therefore rework all jsp Sites.
    I'm also using a new Folder-Structure and update therefore my struts-config file.
    My Problem now is:
    Till now, we had a select-field with a code like this:
    < html:form action="/timetableAction" method="POST">
    < table width="53%" border="0">
    < tr>
    < td>< html:radio property="dauer" value="semester"
    /></ td>
    < html:select property="semester" size="1">
    < htmlptions name="semesterList" />
    </ html:select>
    </ html:form>
    The problem now is, that whenever I use any <html:xy> tag, the tomcat server I use can not show the page, he shows just the headers of the template, but not the
    content.-jsp-File where the form would be in. He stops right in the middle of the html page, when he notices the <html:xy> tags.
    And the funny thing is, that he has no problem to show a page when there is a <html:errors> within it? Why could this be? the struts-html.tld File is well included and teh Tomcat Server shows no exceptions.
    Waiting for you answers and thanks

    Thank you, I already got the answer in another forum

  • What  type of plug in do I need to use between weblogic and tomcat please

    Hi,
    Can anybody please tell me what type of plugin do I need to install to communicate between Tomcat4.0 and weblogic6.1 sp2.actually I wanted to use a connection pool from my servlet on my local tomact where connection pool is created on remote weblogic server.........?
    I have no idea what to do. I tried including the weblogic.jar in my local classpath where my tomcat is sitting. This didnot work . I got the following error......
    I want to know is it possible.............?
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
    Your response is very inportant......
    Thnaks

    Thanks a lot for your rely....
    then how could I use the remote connection pool in my
    local Tomcat server.....?If thats is not possible then
    what if organisation have two webservers...? you mean
    thay have to create connection pool in two servers
    rather on one server and use it every where.....?
    Still depends on what you are trying to achieve.
    Most clustered systesm use a connections on each server. They sync the data retrieved between servers, not the connections themselves.
    If you simply one a single connection point then you need to use a driver that proxies requests to and from the real connection point.
    RmiJdbc is free at http://www.objectweb.org/.
    There are commercial drivers available, search at http://industry.java.sun.com/products/jdbc/drivers, which provide an enterprise layer for database access. They are probably more robust and feature rich than the above one.

  • Jdbc mysql using JNDI- org.apache.tomcat.dbcp.dbcp.SQLNestedException:

    Hi
    I am new to JNDI and i want to set up database connection using JNDI.
    I read the documentation at tomcat site and accordingly.
    Presently i m using-
    Tomcat 5.5
    MySQL 5.0.6
    this is my context.xml file under
    * $CATALINA_HOME/webapps/mywebsite/META-INF/web*
        <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/myweb" docBase="myweb"
            debug="5" reloadable="true" crossContext="true">
      <Resource name="jdbc/myjndi" auth="Container" type="javax.sql.DataSource"
                   maxActive="100" maxIdle="30" maxWait="10000"
                   username="abc" password="abc" driverClassName="com.mysql.jdbc.Driver"
                   url="jdbc:mysql://localhost:3306/mydb"/>
    </Context>and this is my partial web.xml file under
    *$CATALINA_HOME/webapps/mywebsite/WEB-INF*
      <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
      <description>MySQL Test App</description>
          <resource-ref>
              <description>DB Connection</description>
              <res-ref-name>jdbc/myjndi</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
           </resource-refI downloaded the mysql J/Connecter from mysql website and put it in the
    *$CATALINA_HOME/webapps/mywebsite/WEB-INF/lib*
    My sample jsp code to test the connectvity is
    <%!
       Connection conn=null;
       DataSource ds=null;
       Context ctx=null;
       Context envctx=null;
    %>
    <%
        ctx=new InitialContext();
        try{
                envctx=(Context)ctx.lookup("java:comp/env");
                ds=(DataSource)envctx.lookup("jdbc/myjndi");
                if(ds==null){
                       out.println("not found");
                else{
                    out.println("found");
                 conn=ds.getConnection();
                 //Class.forName("com.mysql.jdbc.Driver");
                 //conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/my","root","password");
                if(conn==null){
                     out.println("driver not found");
                else
                    out.println("driver class found");
           } catch(Exception e){
                out.println("Exception : "+e);
           Exception is coming when i run this page
    found Exception : org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    Can you please tell me why this exception is coming.... i searched everywhere and tried all the things but could not get out of that
    Thanks in advance

    Thanks for the reply.......
    I put the mysql driver jar file to directory class path
    CLASSPATH=C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\mysql_driver.jar
    in my environment variables and also restarted the server but still same
    exception is coming. If i run simply using
    Class.forName("com.mysql.jdbc.Driver")
    then the exception is not coming...
    Thanks

  • Using Java Logging with Tomcat

    Hi in a previous non Tomcat project I wrote some classes that used the java.util.logging library that comes with java 1.4 quite successfully. I am now trying to use the same classes with Tomcat 5.0 but it doesnt like it. With the logging classes you can provide a configuration class which you define with a property "java.util.logging.config.class", I put the class in my WEB_INF\classes with all the other classes.
    When I run with Tomcat i have a servlet that does the following to try and initilse the logging
    com.appserver.util.logging.LogProperties.setLevelFromParametersFromPrefs();
    System.getProperties().setProperty("java.util.logging.config.class", "com.appserver.util.logging.LogProperties");
    LogManager.getLogManager().readConfiguration();
    it complains it cant find the class, when running readConfiguration(), (The 1st two lines run ok). I think the problem is to do with Tomcat classloader, with a simple Java application the classes would be expected to be on the system classpath, but on Tomcat the system classpath only contains bootstrap.jar.
    I realise I could probably get things working using Apaches log4j instead but it seems a bit silly to use that when there is a perfectly adequate logger built into the language now.
    Anyone done this ?

    OK
    Ive changed my code from
    com.appserver.util.logging.LogProperties.setLevelFromParametersFromPrefs();
    System.getProperties().setProperty("java.util.logging.config.class", "com.appserver.util.logging.LogProperties");
    LogManager.getLogManager().readConfiguration();to
    com.appserver.util.logging.LogProperties.setLevelFromParametersFromPrefs();
    LogManager.getLogManager().readConfiguration(com.appserver.util.logging.LogProperties.getPropertiesAsStream());Now I dont get any errors and only messages for the LEVEL is set to the value I specify in my LogProperties class are displayed. However I also specify a Formatter to use for console output but Tomcat just seems to ignore it and uses its own default formatter. Any ideas...please !

  • Using Weblogic ACL from Tomcat in Servlet/SJP

    Hi all,
    I'm trying to use weblogic ACL from a servlet in a remote Servlet/JSP
    container (Tomcat). I've managed to log a user as decribed is the
    "examples.security.acl.Client exemple" but what i need now is to be able to
    get back the user group and/or permissions. Does anyone have done this
    before ? I've look in the Weblogic documentation center but I did not manage
    to found any exemple.
    Thank you in advance.
    Frederic

    Sorry, but I believe you are going to be limited to the information
    available through the JNDI interface and the interfaces of the EJB's that
    you deploy to the weblogic EJB container. The ACL information is intended
    for use only within the scope of the server environment. So, even though you
    are running as a Servlet/JSP you're running in the Tomcat container which is
    actually outside the weblogic Servlet/JSP or EJB container(s), in essance
    you're running under the same access limitiations as an EJB client app.
    BTW, you do realize that the weblogic 6.0 server does include a very nice
    Servlet/JSP container?
    Alfred Wallace <[email protected]> wrote in message
    news:3a9fbc66$[email protected]..
    Hi all,
    I'm trying to use weblogic ACL from a servlet in a remote Servlet/JSP
    container (Tomcat). I've managed to log a user as decribed is the
    "examples.security.acl.Client exemple" but what i need now is to be ableto
    get back the user group and/or permissions. Does anyone have done this
    before ? I've look in the Weblogic documentation center but I did notmanage
    to found any exemple.
    Thank you in advance.
    Frederic

  • NoClassDefFoundError when I use "package" keyword

    Hi,
    When i put the class into a package, i got the following error message:
    "Exception in thread "main" java.lang.NoClassDefFoundError: Data (wrong name: suncertify/db/Data)"
    But when I delete the "package" keyword, it works fine. why is that?
    Thx.
    adrian

    When you name a package for a class, the fully qualified name for the class is the package name plus the class name, in your case the package name seems to be suncertify.db and the class name is Data so the fully qualified name is suncertify/db/Data (or suncertify.db.Data). If you don't specify a package, then the fully qualified name is just the class name.
    When you launch an application using the java command, you must use the fully qualified class name. In your case, it appears you used "java Data" When the JVM found a Data.class file, it expected a class whose fully qualified name is Data but it found the class suncertify/db/Data - thus the class it found had the wrong name.

  • USE OF THREADS IN TOMCAT SERVER

    hi guys
    I am in confused is it safe to use threads in my application which is running on tomcat server.
    My application use connection pool and scheduler threads which run through the life time of application.Is it safe to use threads , i heard we should not use threads in application server, so plz anybody have link or resources plz let me know.
    thanks in advance.

    It's fine to "use threads" because believe it or not you already are, the implementation is simply hidden from you. And next time please don't write the topic title in caps.

Maybe you are looking for

  • Unable to create an Developer app under Company profile

    Hi, Have created an account under development center  to upload the mobile application for company use. But when i go to payment option and enter the credit card details able to see the deduction amount of 2 INR only, but as in website it has been me

  • What video cable needed to hook up roku to a 2005 Sony plasma

    My 2005 Sony plasma does not have a hdmi plug, looks like the old computer type plug with the screw on each end of the connection. Having difficulty hooking up a streaming device

  • Multi Language Portlet Customization

    Hello .. Can any one tell me, if we can provide a multilanguage customization using the JPDK, meaning if user1 clicks the Customize link, change the portlet title from "Title" to "Title1" then press Ok, the Portlet title is changed to Title1. Now If

  • Portal Url for BI Statistics - Urgent

    Hi, We have BI System and all statistics cubes installed.Can anyone let me know what is the standard URL in portal or where exactly can i find the information about this. Thanks, Arvind M

  • Solution Manager error "The termination type was: RABAX_STATE "

    Hello All, I was tasked with setting up security for our new SAP Solman Project Managment solution and ran into the following errors while testing. BACKGROUND: User type was application consultant and was prompted by business test users that this typ