Web Application and Serialization

Hi, i have a problem with a web application that is running on an Application server (BEA WebLogic 7.0). I have only the war file of the web application and i must know if in this war there is a class that is not serializable.
How can i find it ? Is there a tool that can help me to find not serializable classes ?
Thanks.
claudiozx2006

One way to do that is to decompile Java classes with Java decompiler and see which one doesn't implement Serializable interface. Here is a link to a good decompiler: http://www.kpdus.com/jad.html

Similar Messages

  • Web application and desktop application?

    Hi everyone,
    I am new to this platform.I have a basic doubts that whats the difference between developing application in flex as a web application and desktop application from programming point of view?Can we use same code in both cases?
    Please guide me....
    Thanks

    Hi and welcome,
    The main difference between a web application and a desktop application is that web applications do not have access and can't manipulate your local system ( you can't open a window that displays all your local files, you can't delete, rename, edit local files and so on ). Obviously, this is just one difference, there are many more ( the best would be if you google for "web aplication vs desktop application" because the same rules apply for 99% if not all the platforms you can find out there ).
    Desktop applications can have full control of your local system ( obviously, we have to take in consideration the platform we are using because since AIR is quite new in the desktop application field it is also more limited than other languages that have been used successfully to create desktop applications for years and year; like ce C# or C++ and so on ).
    Another important difference is that desktop applications usually need to be installed in order to function where on the other hand, web applications can run in the browser without you having to install the aplication you are about to view on your computer ( in some cases, like of the Flash and Flex platforms, you only require a "special player" that can display the content you are trying to access... for Flash and Flex applications you need the Flash Player installed for your browser ).
    So, before jumping into a project/platform you need to know your target. If you goal is to offer a fast, easy to access and no install required application to your users then you'll usually go with a web application. If your application needs to work with local files, maybe local databases, or it needs more control over the user's PC and so on, then you'll most likely go with a desktop application.
    With kind regards,
    Barna Biro

  • Web application and site collection not accessibe

    I have created a web application and a site collection. But when I tried to access the site by browser on the server the page cannot be displayed or the server cannot be found. What should I configure? Please say by detailed steps.

    I created a host header extranet.xxx.xx and alternate access mapping is ok. But still I'm not able to access the site by http://server name:port no. It gives The web page cannot be found or this web page can't be displayed.
    Now when I try with Firefox with http://server name:port no, it gives
    "Bad request - Invalid hostname
    HTTP Error 400. The hostname is invalid."
    More: if I go to Alternate Access Mappings > Add Internal URL:s > Save is grayed out.
    You have two options,
    Option 1 : Accessing the web application without any host header name and  with the port no you have created.  (ex: (http://server1:5500 )
    Option 2. Accessing it with the host header name (ex:http://mywebapp.contoso.com)  you have created for which you need to create a DNS and set an AAM accordingly in the corresponding zone.
    For the option no 1. you need to have a host header in IIS which would be created by default while you create a web application and it should be like this unless you did nit change it. http (Type)---blank host name--All Unassigned in the IP section---and
    the port no in which you have created.
    PS : If you have one more IP address in the server, its good to set the same IP address which is set for server for the name resolution to happen properly.
    If you have n't specified the hostheader while creating the web application, then you need to add it manually with the existing one which is there for option no 1. It should be added as below. http---Mywebapp.contoso.com--IP address in which you have created
    the DNS and Port 80.
    If AAM save is grayed out, check it from some other browser. Also Hostname invalid clearly implies that there is some problem with the name resolution. Check whether you could ping the webapplication from the server where you are trying to access it.
    Veeramani.S

  • Web application and Scanner

    Web application (ADF-application) and Scanner (device that optically scans images, printed text)
    how to implement a scan from a web application and the ability to preview the scanned document (in the ADF-application) before uploading to the server.

    Oracle has a product, which I worked on, for imaging. It may or may not be what you need.
    http://www.oracle.com/technetwork/middleware/webcenter/content/index-090652.html

  • There is an inconsistency between the authentication mode of target web application and the source web application after migrating to claims

    I've had my farm upgraded from SP2010 to SP2013 for over 6 months now and all is well, however, I was refreshing my staging environment from production and I noticed that one of the databases still shows these errors when I run test-spcontentdatabase:
    Category             : Configuration
    Error             : False
    UpgradeBlocking : False
    Message           : The [SharePoint Web App] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against
    a windows classic authentication mode.
    Remedy              : There is an inconsistency between the authentication mode of target web application and the source web application. Ensure that the authentication mode setting in upgraded web application is the
    same as what you had in previous SharePoint 2010 web application. Refer to the link "http://go.microsoft.com/fwlink/?LinkId=236865" for more information.
    This doesn't make sense considering I converted the production web application to claims during the upgrade and then verified all sites were working with claims logins. I also verified that existing AD user identities were converted to claims by checking out
    the database tables. Yet test-spcontentdatabase still thinks there is a mismatch here.
    My farm is SP1 and no further CUs. The point of this particular refresh is so I can update to the November CUs in my test farm. Anyone else see this? Seems like it's a bug/safe to ignore because my stuff is working.
    Thanks,
    Aaron

    See:
    http://thesharepointfarm.com/2014/11/test-spcontentdatabase-classic-to-claims-conversion/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Registering Web Applications and accessing common files

    If I create 3 web applications and have a seperate folder for common jsps
              that the jsps in these 3 web apps include, how can I access the jsps and js
              in this common folder? The JSP compiler was able to compile. The folders I
              created are all under the applications directory, including the common
              folder. I use the inclide file directive with ../common/scripts.js and the
              compiler could not recognize the location.
              Thanks!
              Kenny
              

              If you application folder like:
              application/
              webApp1/
              webApp2/
              webApp3/
              common/
              You may try /common/scripts.js
              "Kenny Kon" <[email protected]> wrote:
              >If I create 3 web applications and have a seperate folder for common
              >jsps
              >that the jsps in these 3 web apps include, how can I access the jsps
              >and js
              >in this common folder? The JSP compiler was able to compile. The folders
              >I
              >created are all under the applications directory, including the common
              >folder. I use the inclide file directive with ../common/scripts.js and
              >the
              >compiler could not recognize the location.
              >
              >Thanks!
              >
              >Kenny
              >
              >
              

  • Web application and web.xml

    i have a web application consisting of 1 servlet and 5 jsps.
    the start point would be index.jsp
    i use firmwide login page. after login, i want the browser to display index.jsp page.
    In web.xml, i have defined -
    <welcome-file-list>          <welcome-file>/jsp/index.jsp</welcome-file>     </welcome-file-list>       <servlet>        <servlet-name>UtilitiesServlet</servlet-name>        <servlet-class>com.gs.fw.sox404.utilities.UtilitiesServlet</servlet-class>             <init-param>             <param-name>util-log4j-init-file</param-name>             <param-value>/WEB-INF/classes/util_log4j.properties</param-value>          </init-param>        <load-on-startup>1</load-on-startup>    </servlet>     <servlet-mapping>        <servlet-name>UtilitiesServlet</servlet-name>        <url-pattern>/UtilitiesServlet</url-pattern>    </servlet-mapping>if i define it as just index.jsp in the welcome file list, after successful login, it displays the dir structure of the web app.
    if i define it as jsp/index.jsp, then in some of the pages, it tries to find the servlet inside jsp folder.
    What would be the best way to get around this?

    Well, yes, it's not able to find it because you've not understood the mechanism of how it works clearly. You have to put your welcome file under every directory you want it to be used from. Like I said, it's not a path, it's a filename. So if the container sees that your request URL is for a directory, it'll look for the welcome files from the welcome file list, one by one, in the order of declaration. Whichever one it finds first, it'll serve that. If it doesn't find any, then it'll either give a 404 or a directory listing depending on the server and it's settings.
    So your problem is that you've put your index.jsp in your JSP folder but expect it to be served for all URLs. That won't happen, you'll have to put one file named index.jsp into every directory. The reasoning is pretty simple, what if you want different behaviour for each folder?
    This should fix your problem :)
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Web Application and Custom JavaMail Providers

    We have a web application that uses custom JavaMail Providers on Weblogic 7.0.
    The structure of the WAR file is as follows:
    |-WEB-INF
    |-lib
    |-activation.jar
    |-mail.jar (as provided by Sun for JavaMail 1.2)
    |-custommail.jar (custom JavaMail providers)
    |-... (other jars for web application).
    Now the JavaMail Session object cannot find the custom providers as it appears the Web Container is loading the JavaMail classes (Session) from the WebLogic.jar instead of mail.jar from the web application's lib directory.
    How can I configure the web application to load classes from the mail.jar in the applications lib directory?.
    This configuration works on Tomcat 4.0.4.
    Vikash

    This is standard behavior in WebLogic - the child classloader (the
    classloader for the web applicaiton) will always
    delegate to the parent classloader (the system classloader), and so it will
    alwyas find the ones included in weblogic.jar
    first.
    You can get around this in two ways:
    a) Put the classes in weblogic's classpath (Before weblogic.jar)
    b) You can set the "Prefer Web-Inf Classes" attribute of a web application
    (see Admin console).
    In this case the web application classloader will not delegate, but
    always look locally first.
    Just be careful in this scenario not to pass an object created by the
    web applicatino classloader to say
    an EJB. ie. don't pass a mail session object, as then you'll get a
    classcastexception.
    Regards,
    Jon

  • Web Application and Java Application

    Hello,
    I have a standalone Java application and a web application (JSP/Servlets) that I would like integrate. The standalone app. should send some information to my web app (which is not a problem), but then the user can be at this web app. for a while and then once he sees something he likes here, he can select it which should take him BACK to the standalone application. My question is whether something like this is possible?
    If so, then how do i do it.
    Also the web app and the standalone app run to 2 separate machines and 2 different JVM's.
    Any kind of help will be great.
    Thanks

    Well let me describe the scenario in detail
    We have a standalone java application that is good to search for data across an enterprise database. We also have another application which is web based and uses jsp's and servlets and is good for displaying data in different ways, let's say different kind of graps. Now the user will typically search for something using the standalone application and once he finds what he is looking for, then he might say that he wants to graph the selected data using this web application. Now this part is not too difficult as the standalone app can simply POST the selected information to the web app and the web app can then plot the graph. However, the tricky part is that this web application has the capability to allow the user to select let's say a bar and then get additional info. on that bar. Now to get this additional info. the web app. must contact the standalone app and tell it what bar was selected to get the additional info.
    so my concern is how does the web app contact the standalone app. or even KNOW about this web app. Also, RMI is pretty flaky and i would much rather use web services to accomplish it. If that is the only way to go that is.
    Hope that helps.

  • SPWebConfigModifications Duplicate entries, applying to all Web Applications and not removing entries

    Hi,
    Hopefully someone can offer some advice, I may be missing something obvious here.
    I'm currently trying to write a feature event receiver to apply web.config modifications that are required by a recent project. 
    The feature is web application scoped & it doesn't activate by default on deployment, currently testing with a very small addition isn't working at all, I've followed numerous posts about duplicate entries & items being removed, none of which have
    helped.
    Here is my code;
    public override void FeatureActivated(SPFeatureReceiverProperties properties)
                SPWebApplication webApp = properties.Feature.Parent as SPWebApplication;
                    SPWebConfigModification Modification = new SPWebConfigModification();
                    Modification.Owner = "ConfigUpdater";
                    Modification.Path = "configuration/appSettings";
                    Modification.Name = "add[@key='Test']";
                    Modification.Sequence = 0;
                    Modification.Value = "<add key='Test' value='Server=TestServer;Database=TestDB;Trusted_Connection=True;' />";
                    Modification.Type = SPWebConfigModification.SPWebConfigModificationType.EnsureChildNode;
                    if (!webApp.WebConfigModifications.Contains(Modification))
                        webApp.WebConfigModifications.Add(Modification);
                        webApp.Update();
                        webApp.WebService.ApplyWebConfigModifications();
            // Uncomment the method below to handle the event raised before a feature is deactivated.
            public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
                SPWebApplication webApp = properties.Feature.Parent as SPWebApplication;
                Collection<SPWebConfigModification> modsCollection = webApp.WebConfigModifications;
                int count = modsCollection.Count;
                for (int i = count - 1; i >= 0; i--)
                    SPWebConfigModification mod = modsCollection[i];
                    if (mod.Owner == "ConfigUpdater")
                        modsCollection.Remove(mod);                   
                webApp.Update();
                webApp.WebService.ApplyWebConfigModifications();          
    Upon activation on 1 web app, the entry gets added twice to the web.config of every web application in the farm & upon deactivation the entries remain in the web.config files.
    On activation, after this line, webApp.WebConfigModifications.Add(Modification); the webApp is updated to include the entry & only once, however 2 entries for it appear in the web.config files & as mentioned for every web application.
    On deactivation, after updating the web app, the modification is removed, however it remains in the web.config files.
    I'm wondering if the code actually works, as I can't see anything wrong & if there is some caching occurring somewhere which is applying the extra line/s upon calling ApplyWebConfigModifications.
    Any help on this would be much appreciated.
    Thanks,
    James

    Hi James,
    Per my understanding, there is an entry gets added twice to the web.config file of every web application in the FeatureActivated event.
    As a common practice, I suggest you debug your code to see how it works during the process, it will provide more information for a better troubleshooting.
    Also, you can test the code in a Console Application to see if it will work as expected.
    Thanks         
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Web Applications and MIME Types

    Hi,
    I am using WL Server 5.1, Service Pack 4 with the Sun JDK 1.3 on RedHat
    Linux 6.2. I woiuld like to deploy my application as a web application. I
    have created the web.xml file, etc. as per teh specification, and things
    work as expected for the most part: I can server up plain HTML, JSPs, etc.
    without a problem. I do have one major problem however: I cannot seem to
    serve up GIFs, PDFs, etc. I believe I have correctly specified the MIME
    mappings in my web.xml file. Is there something I am missing here? I'd
    appreciate any help in this regard. I am attaching my web.xml file for those
    who'd like to look at it.
    TIA,
    Prashanth
    [web.xml]

    Bjorn,
    I am re-attaching the web.xml file. I think I do have the necessary
    specifications in it. Just to be safe, I have put all the mime mappings in
    the weblogic.properties file as well, still to no avail. Interestingly
    enough, things work perfectly well when I deploy it the default weblogic
    way.
    Thanks,
    Prashanth
    "Björn Brenander" <[email protected]> wrote in message
    news:[email protected]..
    Prashanth Nandavanam wrote:
    Hi,
    I am using WL Server 5.1, Service Pack 4 with the Sun JDK 1.3 on
    RedHat
    Linux 6.2. I woiuld like to deploy my application as a web application.I
    have created the web.xml file, etc. as per teh specification, and things
    work as expected for the most part: I can server up plain HTML, JSPs,etc.
    without a problem. I do have one major problem however: I cannot seem to
    serve up GIFs, PDFs, etc. I believe I have correctly specified the MIME
    mappings in my web.xml file. Is there something I am missing here? I'd
    appreciate any help in this regard. I am attaching my web.xml file forthose
    who'd like to look at it.
    TIA,
    Prashanth
    ÿþ<Prashahth: your attachment seems to have disappeared somewhere.
    For some reason, my web applications didn't know how to serve plain
    HTML, so I added
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    to my web.xml, and it worked.
    I find this behaviour quite strange, since the manual says that the
    mappings defined in weblogic.properties should propagate to web
    applications.
    Regards,
    Björn Brenander[web.xml]

  • Comunication between Fusion Web applications and BPM applications.

    I have made some Fusion Web Application.
    After that I have created small BPM Application with simple BPMN process.
    I am sure, there is a way to send event message from ADF to BPM. But I can't find it.
    In BPM I created Catch Message event flow object and made implimentation for it (Type: Define Interface, 1 argument of simple tipe String and some Data assosiations).
    In Fusion Web Application I made small project with 1 small form.
    How can I just click on the button to send message?

    Can you explain your scenario in a little more detail -
    What kind of event messages do you exactly need to send ?

  • How are permissions applied between Web Applications and from Service Applications?

    I'm quite confused about how permissions are applied to Content Databases in relation to service accounts. So, as an example, I have two web applications - Intranet whose service account is DOMAIN\sps_webapp_default - and My Sites whose service account is
    DOMAIN\sps_webapp_social.  The "sps_webapp_social" account has full control (through User Policy) to the Intranet web app.
    When I go to My Sites> Sites> Suggested Links and click on any suggestions I get the below error and the site is not "followed".  This Content Database sits under the Intranet web app which the sps_webapp_social has full control to.
    I'm also getting similar permission issues when the account that runs various service applications tries to connect to the DB (such as workflow service).  This is happening to new or migrated sites.  I know permissions can be applied directly
    in SQL but this can't be the way to do it? 
    Is there a simple reason why these permissions aren't propagating through?

    I resolved my issue. I deleted the Work Management Service Application and created it again - this time, I made sure the IIS Pool (I created its own application pool) service account running this was the same as the My Site service account. 
    So, running under DOMAIN\sps_webapp_social.  This seemed to clear up all of my permissions issues being thrown up in Event Viewer too.
    My Sites really is a complicated beast...  I'm getting there.  Hopefully this helps somebody else!

  • Web applications and packages

    Hi,
    In a web application I have created 2 different packages, regardin two differnt topics.
    WEB-INF/classes/Topic1/*..class
    WEB-INF/classes/Topic2/*.class
    Actually I want a Topic1 class uses a Topic2 class.
    Than the java source file in Topic1 contains
    import Topic2.myClass;
    but whe I try to compile I got the error:
    class file contains wrong class:Topic2.myClass
    Please remove or make sure it appears in the correct subdirectory of the classpath
    I've even tried to add the complete path to classpath, but It doesn't work.
    What can I do?
    Thank's

    your classpath during compilation should have this, assuming your Java source files are in the classes directory also...
    <path-to>/WEB-INF/classes

  • Since upgrading to FF4, my web applications and browser start-up time have been slower, instead of faster as the upgrade promises. Any suggestions?

    I feel like my web apps have been slowing down ever since the plug-in container was introduced. With the previous version of FF, I would have to close the browser and re-open it periodically to ensure that apps ran smoothly. Now, even that doesn't work. I've tried these applications in IE and they work with no problem, so I feel that the issue is in FF and not my system. Any tips would be much appreciated.
    I've run all the troubleshooting steps listed on the help pages (ensuring that I have the latest versions, etc.), and the problems are still there. Thanks in advance.

    You can disable the Plugin Container.
    To do this,
    * Type about:config in the address bar.
    * Click on I'll be careful
    * Type dom.ipc.plugins.enabled in the filter column
    * Double click on the value to change it to "false"
    * Restart Firefox
    Plugin Container is disabled and now your apps may work properly.

Maybe you are looking for

  • How to remove old iWeb pages off internet which are no longer in iWeb program?

    This is my current looking website - www.pholife.co.uk which goes to - 'www.pholife.co.uk/pholife/Start.html' when googling 'pholife tom bird' an older website under the same domain name appears in the search list before the pholife/start.html page T

  • How to convert Date,month,date range row to column

    hi experts i have a requirement like i want to change date, month and if user key in date range (01-04-2010 to 31-04-2010) then o/p like below 1st-o/p-format d1 d2 d31 01-04-2010 02-04-2010 ------------------------------- 31-04-2010 2nd-o/p-format -b

  • Under & Over Delivery Tolerance.........

    Hi there ,                I have maintained the Under & over delivery tolerance of the material in the work scheduling view....... but when I am creating the Process Order of the material...... in the goods recipt view in Process order it is still sh

  • Table Maintenance Generator - Change

    Dear experts, I hv created a TMC for customize table with field lifnr and name1. I am getting F4 for lifnr field and the requirement is when i enter vendor code and press enter, the name field should be populated automatically from LFA1 table. When I

  • What are the bapi available of md07

    Hi friends. what are the bapi available for 'MD07'. actually i need particular material no details for open stock and closing stock and Ist RDS and 2nd RDS value. anybody tell usefull answer. regards pauldharma