CS5 built-in mobile browser detection?
Hi all,
Just got CS5 after having previously used GoLive for a long time.
I'm wondering if DW has an built-in functionality for detecting mobile browsers. I don't need to detect exactly -which- mobile browsers are being used, as the page content is very rudimentary.
thanks in advance,
Andrew
httpServletRequest.getHeader("User-Agent") returns the user agent. That's all about the technical information you can obtain about the browser. Keep in mind that it is not safe to base your application's behaviour on the detected user agent, because client-side information can easily be spoofed/faked by the client.
Similar Messages
-
Need code for mobile browser detection
So I've read there are several different ways to do this using HTML, JS, PHP, Cookies, etc... and found a discussion suggesting to search for "javascript detect mobile browser" which I did, and maybe since the forum is from 2010 the search results are lacking ...here is a link to that forum: http://forums.adobe.com/message/3172216#3172216.
I have code and editing knowlege but not on the developer side of things...I could not write a JS, or PHP if needed...but have created a jQuery mobile site no problem!
Thanks!
~JennyYou could use either JavaScript or PHP to do this but I prefer PHP, as Nancy said JavaScript can be a bit shakey to say the least across different devices and it may not be enabled.
I have come across a few ways to this but my preferred choice is a project called MobileESP. This project offers a JavaScript or a PHP solution for detecting a massive array of different devices. Because of how complex this project is, I thought I'd explain a very basic way of using the scripts to redirect the client to the appropriate page dependant on what type of device the client is using. PHP is the best solution for this. This script was acquired from there site.
Go to http://blog.mobileesp.com/ and download the PHP version of MobileESP which is a file called mdetect.php.
Put this file in a folder called scripts.
Then for your index.php home page at the site root, add this script below,
<?php
include("/scripts/mdetect.php");
//Instantiate the object to do our testing with.
$uagent_obj = new uagent_info();
//Detect iPhone Tier and iPads...
if (($uagent_obj->DetectTierIphone() == $uagent_obj->true) ||
($uagent_obj->DetectIpad() == $uagent_obj->true))
{ header('Location: http://www.yoursite.com/i/'); } //Edit here
//Detect Rich CSS Tier...
else if ($uagent_obj->DetectTierRichCss() == $uagent_obj->true)
{ header('Location: http://www.yoursite.com/r/'); } //Edit here
//Detect All Other Mobile Devices...
else if ($uagent_obj->DetectTierOtherPhones() == $uagent_obj->true)
{ header('Location: http://www.yoursite.com/m/'); } //Edit here
//Else it's a regular PC browser -- send to regular desktop site
else
{ header('Location: http://www.yoursite.com/d/'); } //Edit here
?>
This script redirects iPhone Tier devices and iPads to www.yoursite.com/i/, Rich CSS devices such as Nokia N95 to www.yoursite.com/r/, Generic mobile devices to www.yoursite.com/m/ and Desktop browsers and all others to www.yoursite.com/d/.
You can also redirect to any file i.e. www.yoursite.com/d/index.html or www.yoursite.com/d/index.js.
Hopefully this should answer your question. -
Hi,
I've made a new web app using JSP.
I'm looking for a way to detect if the user is using a mobile browser or not.
I want to do this in the back-end +(*JSP*)+ rather than the front-end +(*Javascript*)+:
-> as some mobile devices don't allow Javascript
-> I don't want to load the "heavy" features +(images, .js files, etc...)+ into a mobile browser
I would really appreciate any help :)I found some info via Google.
I found a list of "tags" that are present in most mobile browsers, but not PC-based browsers, "User-Agent" header.
In case anyone else wanted something like this, I figured out a working method of doing this:
Simply include this file into your application and call it "index.jsp".
Within the file, change the 1st redirect url from "mobile.jsp" to whatever your mobile page is.
Also, change the 2nd redirect url from "home.jsp" to whatever your main sites page is.
The "mobileTags" array holds keywords that are found in most mobile browsers' "User-Agent" header.
Keep in mind, as new browsers come-out, you will have to update this list....It may make sense to keep a table in your database that holds these tags :)
<%!
public String[] mobileTags = { "cellphone",
"iemobile",
"midp",
"mini",
"mmp",
"mobile",
"nokia",
"pda",
"phone",
"pocket",
"ppc",
"psp",
"symbian",
"up.browser",
"up.link",
"wap",
"windows ce" };
public Boolean isMobile( String browserInfo )
for ( int n=0; n<mobileTags.length; n++ )
if ( browserInfo.toLowerCase().contains( mobileTags[n].toLowerCase() ) )
return true;
return false;
%>
<%
String bInfo = (String)request.getHeader( "User-Agent" );
if ( isMobile( bInfo ) )
response.sendRedirect( "mobile.jsp" );
else
response.sendRedirect( "home.jsp" );
%>
Afterthought:
If you want to make your site even more "browser-friendly",
you could add some Javascript to your "mobile.jsp" page that redirects to your main page "home.jsp"
Thus, if their browser can handle Javascript, they will be redirected to your Javascript rich page -
Hello All,
Is there any possibilities to detect the technical specification like wap version , mark up supported by a mobile browser at the server end.
I am building an application in which at server end the properties of the mobile browser from which the server is being accesed can be detected.
Plz reply me how it is possible in java??
Thanks
SouvikhttpServletRequest.getHeader("User-Agent") returns the user agent. That's all about the technical information you can obtain about the browser. Keep in mind that it is not safe to base your application's behaviour on the detected user agent, because client-side information can easily be spoofed/faked by the client.
-
Does Weblogic Provides any in built utility for server side browser detection
Hi
Does Weblogic Provides any in built utility or package for server side browser
detection i.e. to know the browser details
of the client with the first request.
One such available product is BrowserHawk(http://www.cyscape.com).
any thing similar to this available?
Thanks in advance
Mrutyunjay
Hey Mohammed,
yes, you could use just wl server to do file uploading. in your html client
code, you need to specify the type of the data that you are sending as
follows:
<form action="UploadTestServlet" enctype="multipart/form-data" method=POST>
File: <input type=file name=file><br>
<input type=submit>
</form>
This will send your file to be processed by the UploadTestServlet. You need to
code UploadTestServlet yourself to parse and extract useful data. check out
www.servlets.com for a utility class that does just that
Winston
Mohammed Ali Usmani wrote:
> Hi to All;
>
> I want to know if I can use weblogic (webserver) for file uploading from
> client browser without using any ftp server.
> Do I have to use some special code (may be in my servlet/html page) for
> handling this. I mean that do I have to provide the implementation of RFC
> 1867 by myself at server side?
>
> Or it is just merly a browser support? It doesn't effect the webserver at
> all?
>
> Thanks
-
Why do some images not show on the mobile browser but do on the normal Firefox
I have an HTC desire hd. I have had a site built.
the images don't show on the mobile browser. when using the standard browser which came with the phone 'internet' it works fine. is there a reason for this?I get a content encoding error when trying to load one of the problem images.
http://www.signapedia.com/gethumb.php?path=userfiles/31_prodimg_55856_img04.jpg&size=85
Why this happens will take some additional research. -
C5-00.2 Twitter Application & built in Web browser...
My phone is the Nokia C5-00.2, and I have had to do a hard re-set on it a few times to get things right, however I have noticed that when I use the pre-installed Twitter application the display falters in that instead of seeing the page as it's meant to be for a mobile it can be white instead of blue and more often than not some icons don't always load, but sometimes they do. It can't be a setting issue as they sometimes load perfectly.
Have cleared the cache etc but still no luck, so I tried un-installing the app, but when I do it keeps telling me Removal is cancelled.
Is there a way to remove it and re-install it again?, I know I can use Opera Mini, but I prefer to use the app that came with the phone.
Also is there a way to upgrade the built in web browser for this phone? the one I have is 7.3.1.26The web browser will only be updated if it's part of a firmware update... you can check for updates using Nokia Suite on your PC/Mac.
It won't let you uninstall the twitter app as it's bundled in the firmware and is on your ROM - these apps cannot be removed.
Try re-installig your firmware using Nokia suite to see if this helps. Or use another twiter app such as tweets60 or Gravity.
If I have helped you, please hit the star at the bottom of my posts - it's appreciated!
Don't forget if your problem is solved to press the "Accept as Solution" button. -
Why would background images not be ligning up on a mobile browser?
I have posted my problem in the link below. This works great and looks perfect on a desktop. I have three images loading within the same container, all same width, but the mobile browser seems to be stretching the middle image to the right! Any tips would be great. Im testing with Android Incredibles, older and newest models.
http://www.nexgenproductions.com/adobe_test/Hi sydneyp,
Unfortunately there is no Mobile App for the Blackberry Forums, However there is a mobile version of the site if it isn't accessible by the built in browser I would recommend downloading and trying another browser like Opera this will give you access to the Mobile version of the forums
I hope this helps
Steve_T New to the Community click here
Community Moderator -
I have posted my web comic up and i notice on mobile browsing (with Javascript turned on) SOME comics will show up and others wont on my phone's MAIN web browser. Everything else pops up just fine but the comic itself doesn't show. There is a javascript that sets the size of the comic to fit the screen it's been viewed in, but like i said, some of the comics work just fine. I tried it again on a firefox ap on my phone and they all come up just fine, it's just the main browser built into the android and some other phones. I've scoured the code and even changed the size of the comics using various compressions but nothing fixes it so it's gotta be a flaw with the code. Anyone have any suggestions?
http://www.constructeddestructioncomics.comThanks for your response.
I have done some more research and it looks like I may be confusing a mobile site with one that is responsive. I am able to access mobile versions of YouTube, Bing, Twitter and LinkedIn and then switch to the full site upon request.
We are developing a new web site using a responsive WordPress template. Our old site uses SharePoint and is not usable on older iPhones or maybe older versions of IOS Safari. I assumed it was trying to display a mobile version of the site.
Thanks again! -
Accessing OBIEE report from mobile browser or tablet
HI
jdev 11.1.1.5
we have OBIEE reports embeded in adf jspx page .
can we access this report from mobile browser or tablet ?
I think we can access OBIEE report using OBIEE client application for Iphone.
but is it possible to access the same from mobile browser?(embeded in adf application)chk this
http://blogs.forrester.com/boris_evelson/10-07-07-oracle_obiee_11g_launch_we_are_back
Mobile BI apps delivered to iPhone/iPad, BlackBerry, Android and Windows Mobile devices -
SharePoint 2013 cannot view PDF documents in mobile browser with office web apps
Hi,
I'm receiving the following error when viewing SharePoint 2013 PDF documents in a mobile browser after clicking on the filename:
"Viewing of .pdf files has been disabled in Microsoft Word Mobile Viewer. Please get in touch with your helpdesk."
My Question
Is viewing PDF documents in mobile browsers with Office Web Apps SP1 actually supported? If so, how can I enable it? I've already have pdf viewing working in non-mobile browsers. Word documents open just fine on mobile browsers too.
I'm getting conflicting answers for pdf mobile viewing support from various sources:
You've got Microsoft toting that they've added in PDF viewing on any device for Office Web Apps
http://blogs.office.com/2013/07/03/pdfs-in-the-word-web-app/
A MS support person saying saying it is not supported
http://blogs.technet.com/b/office_web_apps_server_2013_support_blog/archive/2013/12/31/enabling-pdf-previews-in-document-libraries-with-office-web-apps-2013-in-sharepoint-2013-open-link-does-not-work-from-preview.aspx
Another person implying that it should work because you can disable pdf browsing for mobile browsers only
http://blogs.technet.com/b/office_resource_kit/archive/2013/07/24/control-whether-pdfs-open-in-word-web-app-or-the-default-pdf-reader.aspx
What I've tried
When I started looking into this there was a mobile WOPI entry:
Application : WordPdf
Extension : PDF
ProgId :
Action : mobileView
IsDefaultAction : False
ServerName : 20SP8
WopiZone : internal-http
I tried experimenting with tweaking this binding by changing the DefaultAction to true, and even removing it altogether via:
Get-SPWopiBinding -Action "MobileView" -Application "WordPDF" | Remove-SPWopiBinding -Confirm:$false
But I still get the same message.
I removed all the WordPdf bindings and re-added them via:
New-SPWOPIBinding –ServerName "<myserver>" –Application "WordPDF" -AllowHTTP
No dice. In fact the mobileview binding doesn't even come back... but I guess that is a different issue altogether.
Version
SharePoint 2013 (SP1)
Office Web Apps Server (SP1)
Farm Setup
Internal facing only
2 front end servers, 1 app server, 1 office web apps serverI think the PDF support, if it exists, in only in Office 365. Always remember that the Office 365 and on premises versions will never be in sync. On premise is updated using periodic service packs and Office 365 has continuous updates. (I've heard every
10 days.)
In my Office 365 / IE 10 tests, the PDFs open in the browser's default PDF viewer, in my case FoxIt Reader. So I can't prove one way or the other about support in Office Web Apps.
Mike Smith TechTrainingNotes.blogspot.com -
Calendar in mobile browser not showing month view
I have a Calendar. I looked under Modify This View, and got the web address for this mobile view. When I bring up this url in a browser on an ipad/iphone, the calendar doesn't display in Month view. It only shows one day. very strange view. and only gives
me the option to go to the previous day or the next day. I tried Safari browser and Chrome browser. same issue.
How can I customize my calendar in sharepoint so that it will show the same month view on a mobile browser as the same month view that I see on SharePoint on computer?
Please help!
Thanks!Hi Iorrdellatorre,
Open your site in the iphone->at the bottom of the iphone, click ellipsis->then you can choose switch to pc view.
Now you can navigate to the calendar list, and you can see the month view.
Or in the web.config (located at C:\inetpub\wwwroot\wss\VirtualDirectories\80) under system.web, add this:
<browserCaps>
<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<filter>isMobileDevice=false</filter>
</browserCaps>
Besides, here is a blog about three options to disable the SharePoint 2010 mobile redirect, you can take a look at:
http://blogs.perficient.com/microsoft/2011/02/three-options-for-disabling-the-sharepoint-2010-mobile-redirection-system/
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
I would like know how to view a SharePoint Page from mobile browser or app.
I work for a company that sell products and then offers aftermarket support. On our external SharePoint site, I created a page to link to Wiki pages that contain knowledge sharing entries. The goal is when a member of the company learns something
that they feel would be good to share, the can take a video, post it to Vimeo, and then embed the video with applicable text to the SharePoint site. The SharePoint posts can also contain PDFs, other document links, and embedded pictures.
I have the page essentially finished, I am ready for some more contributors at the company to start adding content.
One of the goals of the site is to be viewable via a mobile application. I have tried apps such as SPConnect, and SharePlus from Infragistics. Their mobile apps view SharePoint as a list, and do not view any of the embedded pictures or Vimeo
videos.
My questions are:
Will SharePoint 2010 support mobile web browsing with the same functionality as the standard web browser?
If 2010 will not, will SharePoint 2013 offer the support?
If it is possible, what features do I need from a server and what settings do I need to enable to make it happen? Currently on our site, it is not viewable. I use "Forms Authentication" to log into the site.
If it is possible, do you suggest finding an app? Is there an app that will do it, or can I just log in and view from the mobile web browser the same way I do from a standard web browser?
Overall, I need to know what I need to do to get this to work.
Thank you for reading. I look forward to your responses.Hi,
Its possible to achieve the functionality which you are looking here. To enable mobile support please follow the below link which will guide you,
http://www.aiim.org/community/blogs/expert/sharepoint-2010-mobility-browser-compatibility-compliance-and-its-continued-dominance-in-the-marketplace
http://blogs.technet.com/b/office2010/archive/2010/03/09/configure-sharepoint-server-2010-for-mobile-device-access.aspx
if its not helping you please let us know.
Sekar - Our life is short, so help others to grow
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer -
Deploying ADF Mobile Browser Sample App in JDeveloper 11.1.2.3
Hi,
I had problem in deploying the sample app for ADF Mobile Browser in JDeveloper 11.1.2.3.
I had tried every solution such as replacing web.xml for the Sample App with web.xml created in JDeveloper 11.1.2.3.
I could not find the Jar file for the oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler in the web also.
Please help to solve this problem as I had tried for many days.
Thank you very much! =)
ADF Mobile Browser Sample App URL:
[ADF Mobile Browser Sample App|http://www.oracle.com/technetwork/developer-tools/adf/adf-mobile-browser-1864237.html]
Error Log:_
*<ConfigureListener> <contextInitialized> Critical error during deployment:*
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
at com.sun.faces.util.Util.loadClass(Util.java:303)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:420)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:371)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:314)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:263)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:340)
... 38 more
<Dec 10, 2012 12:20:15 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler.
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:293)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace
>
<FactoryFinder$FactoryManager> <getFactory> Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.
<ConfigureListener> <contextDestroyed> Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:996)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:331)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:131)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:329)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3224)
at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1535)
at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:507)
at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:642)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:63)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Dec 10, 2012 12:20:15 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1355122207762' for task '3'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace
>
Edited by: 975879 on Dec 9, 2012 10:56 PMHi Frank,
Thanks for the fast response.
Based on your advice, I had try to comment out all usage of graph in jsp, web.xml, and data binding file.
But even after perform these, I still facing the same problem.
For your information, RichSeriesSetHandler does not exist in the oracle.adfinternal.view.faces.bi.facelets.
I suspecting RichSeriesSetHandler is configured in the app and it occur this error as it could not find the class.
I had try to search this usage of this class in the app but there is no results found. -
Error when starting ADF Mobile Browser Sample Application
I had successfully deployed the Sample App downloaded from the Oracle ADF Mobile Browser Website in JDeveloper 11.1.2.2.
This sample app is deployed successfully in IntegratedWebLogicServer as EAR.
But when I trying to access the app in browser, it omit the following error:
Error 500--Internal Server Error
java.lang.NullPointerException
at oracle.adfinternal.controller.util.AdfvInterfaceImpl.updateQueryParameters(AdfvInterfaceImpl.java:211)
at oracle.adfinternal.controller.state.RequestState.updateUrlStateToken(RequestState.java:677)
at oracle.adfinternal.controller.state.RequestState.setCurrentStateInstance(RequestState.java:188)
at oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:215)
at oracle.adfinternal.controller.state.ControllerState.setRequestState(ControllerState.java:877)
at oracle.adfinternal.controller.state.ControllerState.initializeRootViewPort(ControllerState.java:646)
at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:302)
at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:219)
at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:550)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:119)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Hi Sashank, Thank for your reply and advice.
This is a mobile ADF browser which it is deployed in EAR in Weblogic.
ADF Mobile browser is different with ADF Mobile as one is access through mobile browser and one is access as mobile app.
Please correct me if I'm wrong in this.
Thanks
Maybe you are looking for
-
Can you get your IMEI # back based on the phone's serial #?
My iPhone5 was stolen, and the police won't file a report without the IMEI #. I don't have the packaging anymore, and I never synched the phone with iTunes because my Laptop's OS was incompatible. I managed to get the phone's serial number through t
-
How do I to transfer my old phone list from iphone 3gs to my new iphone 4s
That's my question
-
So I download mugglecast podcast and when I go to their website to download old episodes, they transfer to iTunes under the Music catagory. How can I take this podcast from Music and put it into my Podcast section? Any help would be great!
-
So i am looking to buy a preview screen for editing. what should i get, not too expensive but nice?
-
Please give answers for this. This is urgent
1)can u create internal table dynamically ?how? 2)what is the model dialogbox? 3)can u create more than one selectionscreen 4)in which event we will be writing authorization object.