Mime mapping in web.xml not working for csv/excel
I am using the weblogic 8.1 app server. I want to serve up some static content
from an "exploded" web application (dir structure instead of a war file). This
static content includes html files and csv files that cause the browser to give
an option to the user to open the file in excel or download to disk. I have inserted
the following mapping inside web.xml in the exploded directory structure...
<web-app>
<mime-mapping>
<extension>csv</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
</web-app>
I redeployed the "web application". When I try to access a csv file, instead of
giving me the save/open dialog, the browser displays the ASCII contents of the
csv in the browser like an HTML file. Am I missing a step? Is the xml above not
for the functionality that I am trying to implement here?
Thanks.
Hi All:
Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
Could you please help and can you point me to any specific link.
Thanks & Regards
Sridhar Doki
Similar Messages
-
Content Search Web Part not work for Office Web Apps
Hi ,
In Content Search Web Part word documents are not able to open in browser,but in document library its working.
Office Web Apps not work in Content search web part
Please help me
Regards
SachinBelow is the display template to open the document in OWA.
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<head>
<title>AdSpace Picture on top, 3 lines on bottom</title>
<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
<mso:ManagedPropertyMapping msdt:dt="string">'Picture URL'{Picture URL}:'PublishingImage;PictureURL;PictureThumbnailURL','Link URL'{Link URL}:'Path','Line 1'{Line
1}:'Title','Line 2'{Line 2}:'Description','Line 3'{Line 3}:'','FileExtension','SecondaryFileExtension','ContentTypeId','ServerRedirectedURL'</mso:ManagedPropertyMapping>
<mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a 304x100 picture of the item on top. The title and the default item description will display to the bottom of the picture with an additional line that is available
for a custom managed property.</mso:MasterPageDescription>
<mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
<mso:TargetControlType msdt:dt="string">;#Content Web Parts;#</mso:TargetControlType>
<mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
<mso:_dlc_DocId msdt:dt="string">ZRMVMDDDEAE7-1-215</mso:_dlc_DocId>
<mso:_dlc_DocIdItemGuid msdt:dt="string">583b0835-32ff-4d1c-983f-b6ff4a0ef956</mso:_dlc_DocIdItemGuid>
<mso:_dlc_DocIdUrl msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_layouts/15/DocIdRedir.aspx?ID=ZRMVMDDDEAE7-1-215, ZRMVMDDDEAE7-1-215</mso:_dlc_DocIdUrl>
<mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
<mso:HtmlDesignStatusAndPreview msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_catalogs/masterpage/Display Templates/Content Web Parts/Item_PictureOnTop.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
</mso:CustomDocumentProperties>
</xml><![endif]-->
</head>
<body>
<!--
Warning: Do not try to add HTML to this section. Only the contents of the first <div>
inside the <body> tag will be used while executing Display Template code. Any HTML that
you add to this section will NOT become part of your Display Template.
-->
<script>
$includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
</script>
<!--
Use the div below to author your Display Template. Here are some things to keep in mind:
* Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
inside a comment.
* Use the values assigned to your variables using an "underscore pound equals"
(_#= ... =#_) token.
-->
<div id="Item_PictureOnTop">
<!--#_
var useWACUrl = !$isEmptyString(ctx.CurrentItem.ServerRedirectedURL);
if(ctx.ScriptApplicationManager && ctx.ScriptApplicationManager.states){
useWACUrl = (useWACUrl && !ctx.ScriptApplicationManager.states.openDocumentsInClient);
var appAttribs = "";
if(!useWACUrl)
if (!$isEmptyString(ctx.CurrentItem.csr_OpenApp)) { appAttribs += "openApp=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenApp) + "\"" };
if (!$isEmptyString(ctx.CurrentItem.csr_OpenControl)) { appAttribs += " openControl=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenControl) + "\"" };
var url = ctx.CurrentItem.csr_Path;
if($isEmptyString(url)){
if(useWACUrl)
url = ctx.CurrentItem.ServerRedirectedURL;
} else {
url = ctx.CurrentItem.Path;
var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_pictureOnTop_");
var linkURL = $getItemValue(ctx, "Link URL");
linkURL.overrideValueRenderer($urlHtmlEncode);
var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
var line1 = $getItemValue(ctx, "Line 1");
var setLineHeightRenderer = function(valueInfoObj)
if(!$isNull(valueInfoObj) && !valueInfoObj.isEmpty)
if(!$isNull(valueInfoObj.defaultValueRenderer))
return valueInfoObj.defaultValueRenderer(valueInfoObj);
else
return valueInfoObj.toString();
else
return " ";
var line2 = $getItemValue(ctx, "Line 2");
line2.overrideValueRenderer(setLineHeightRenderer);
var line3 = $getItemValue(ctx, "Line 3");
line3.overrideValueRenderer(setLineHeightRenderer);
var pictureURL = $getItemValue(ctx, "Picture URL");
var pictureId = encodedId + "picture";
var pictureMarkup = Srch.ContentBySearch.getPictureMarkup(pictureURL, 304, 100, ctx.CurrentItem, "cbs-pictureOnTopImg", line1, pictureId);
var containerId = encodedId + "container";
var pictureLinkId = encodedId + "pictureLink";
var pictureContainerId = encodedId + "pictureContainer";
var dataContainerId = encodedId + "dataContainer";
var line1LinkId = encodedId + "line1Link";
var line1Id = encodedId + "line1";
var line2Id = encodedId + "line2";
var line3Id = encodedId + "line3";
_#-->
<div class="top-content-box" id="_#= containerId =#_" data-displaytemplate="ItemPictureOnTop">
<div class="top-content-img" id="_#= pictureContainerId =#_">
<a class="cbs-pictureImgLink" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_" target="_blank" id="_#= pictureLinkId =#_">
_#= pictureMarkup =#_
</a>
</div>
<h3 id="_#= line1Id =#_"><a class="cbs-pictureOnTopLine1Link" target="_blank" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_"
id="_#= line1LinkId =#_"> _#= line1 =#_ </a></h3>
<span class="content-date" title="_#= $htmlEncode(line2) =#_" id="_#= line2Id =#_"><img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_"
alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />_#=line2=#_</span>
</div>
</div>
</body>
</html>
Basically,ctx.CurrentItem.ServerRedirectedURL is calculated by a managed property ServerRedirectedURL which needs to be included in the display template.
Problem solved.
Nehal Bhandari,ATL, Nagarro Softwares -
Success_URL in web.xml not working - Need help
Hi:
I developed my whole application in Jdeveloper 10.1.3.2 and all the security are done through custom module. Everything is working fine except one of the part that is success_url in web.xml.
1. There are total 10 pages in my application independent of each other.
2. I configured the custom login procedure and it is working fine.
3. From Jdeveloper if I run any page (i.e. one of 10 pages) it is prompting me to login and after login it is redirecting to the page I ran.
My issue is that after the login is completed as in step 3, I want the page to be redirected to predefined page called UserResp.jspx. I don't want to redirect to the page from where the login page was called. As per the notes in the ADF document, I configured the success_url in the adfAuthentication servlet as below. But after login it is not redirecting to the success_url but it is redirecting to the page from where the login was prompted.
Do I need to perform any other step for this success_url to work. Could you please guide.
Below is the details of my web.xml.
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app 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" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/efile-faces-config.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>CpxFileName</param-name>
<param-value>userinterface.DataBindings</param-value>
</context-param>
<context-param>
<param-name>oracle.adf.view.faces.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<init-param>
<param-name>success_url</param-name>
<param-value>faces/app/user/UserResp.jspx</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>UploadMultiFileServlet</servlet-name>
<servlet-class>oracle.apps.xxcust.servlet.UploadMultiFileServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>UploadMultiFileServlet</servlet-name>
<url-pattern>/UploadMultiFileServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adfAuthentication</servlet-name>
<url-pattern>/adfAuthentication/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<jsp-config/>
<security-constraint>
<web-resource-collection>
<web-resource-name>All Pages</web-resource-name>
<url-pattern>faces/app/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>ADMIN</role-name>
<role-name>MANAGER</role-name>
<role-name>USER</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/Login.jsp</form-login-page>
<form-error-page>/Login.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>ADMIN</role-name>
</security-role>
<security-role>
<role-name>MANAGER</role-name>
</security-role>
<security-role>
<role-name>USER</role-name>
</security-role>
</web-app>Hi All:
Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
Could you please help and can you point me to any specific link.
Thanks & Regards
Sridhar Doki -
Weblogic.servlet.reloadCheckSecs in web.xml not working
Given the following web.xml file:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<context-param>
<param-name>weblogic.servlet.reloadCheckSecs</param-name>
<param-value>100</param-value>
</context-param>
<servlet>
<servlet-name>CookieCounter</servlet-name>
<servlet-class>servlets.CookieCounter</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CookieCounter</servlet-name>
<url-pattern>monster</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>hello.html</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
</web-app>
It seems the weblogic.servlet.reloadCheckSecs property is not taking effect.
The
default value of -1 is always used. I did stop and restart weblogic.
I also trid to set the servlet classpath in the web.xml file with
weblogic.servlet.classpath
property and it did not change the classpath for the servlet. It seems that
other
items are working such as adding new servletrs to the web application. Note
that
this is the cookie sample application that installes with the beta 2
download.
Thanks,
Dan.
Hi All:
Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
Could you please help and can you point me to any specific link.
Thanks & Regards
Sridhar Doki -
Hi
I have created one application using
GWT-Ext with RPC call but its working fine in tomcat.
but in Apache/1.3.39 server
its not running.I think in web.xml file only i made mistakes.This is my web.xml file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app id="WebApp_ID">
<display-name>MyRpc</display-name>
<servlet>
<servlet-name>/MyRpc/MyService</servlet-name>
<servlet-class>com.ikkoTech.myRpc.server.MyServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>/MyRpc/MyService</servlet-name>
<url-pattern>/MyRpc/MyService</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
Got 404 error with this message
The requested URL /myrpc//MyRpc/MyService was not found on this
server.
Saw this using Firebug
Please suggest me about this.
Thanks in AdvanceNo, the port is okay, because in fact jboss is running, but the servlet is not loaded the mesasge on the web page is a message of the jboss. About the code give some time to post it.
-
error-page in web.xml not working
In my web.xml I have
<error-page>
<exception-type>java.lang.NullPointerException</exception-type>
<location>/error.jsp</location>
</error-page>
I checked the page works by doing a /context/error.jsp and
the page displays fine (it is a simple jsp page).
I hit a struts action that gives me this in the std output.
06/29 10:48:24 error
[1]java.lang.NullPointerException
at
com.pearson.gs.cms.business.LoginService.verifyPassword(LoginService.java:232)
at
com.pearson.gs.cms.action.LoginAction.performCMSAction(LoginAction.java:92)
at
com.pearson.gs.cms.action.BaseCMSAction.execute(BaseCMSAction.java:48)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
[0]javax.servlet.ServletException
at
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
I get a 500 error page instead of my /error.jsp page.
I tried adding
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
but that doesn't work either.
JRun 4.0
Updater 6
JDK 1.4.2
Struts 1.2.8
Any ideas what to try?a. Override your skeletons error.jsp to forward/redirect to your page.
or
b. If you primarily use pageflow portlets Define a shared flow which has an exception handling method and direct it to your page. Reference the shared flow in each of your controllers (i think global.app is deprecated in 10 otherwise you could do this there). this lets you log some additional information, plus gives you the added flexibility of dealing with different exception types
or
c. Override the path to error.jsp in your portlets properties (havent tested)
Note if you are using servlets etc you still need your web.xml java.lang.Exception entry. The reason it doesnt get picked up is because the portal framework is handling the exception
Edited by: deepshet on Dec 22, 2008 8:12 PM -
Web.xml not working? help!
Hi, I am able de deply correctly on tomcat, but on jboss 4 I have this problem:
When I run my servlet from the browser it says that the resource is not avaible, without any exceptions on the console, it means that couldnt find the servlet to display. But the web.xml is inside the WEB-INF folder and is correctly done, I have reviewed and remaked it several times.
Any idea of the problem, I am using windows XP.No, the port is okay, because in fact jboss is running, but the servlet is not loaded the mesasge on the web page is a message of the jboss. About the code give some time to post it.
-
Recovery media kit order web page not working for Canada site
The laptop crashed (Pavilion G6-2288ca with Windows 8). I'm planning to replace the hard drive. I want to order the recovery media kits from hp but the Canada site is not working. After I entered the postal code, the site says it is temperarily out of service. I tried the same on the US site with a pretended zipcode and it worked fine. Can someone please help?
Thanks.Try phoning HP Support. 1-800-474-6836
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others** -
Web gallery not working for me.
Hi,
I've done this a lot on my old PC, but, I can't get it to work on my Mac now. I want to create a web gallery of a couple hundred print bannerheads, all EPS files.
I've filled out all the meta data. I've filled in a location, a save location.
But, when I click "save," it tells me that the "save location does not exist."
So, that didn't work. So, I tried making a PDF instead. There it tells me that "there is insufficient disk space to complete this operation." I've got hundreds of gigabytes of disk space.
So, Bridge isn't really doing much for me right now.
Thanks,
PeterI got a similar problem. I'm trying to use the output feature to create a contact sheet. I get the "insufficient disk space" message also. There are only 3 images that are being included in the operation, all around 3 megs. I have over 290 GB available on my hard drive. I went to Preferences/Cache and used the " compact cache" feature, then restarted the software. Still no luck. I get the same message. How about some help, Adobe?!
Wypie -
Web page not working for vi when launched from testsetand
we've setup a web page for a vi in labview (web publishing tool) and its visible in IE until you close labview
this vi is then run from teststand thou the web page isnt being updated?
we need to be able to view the contents of the vi remotelyHi,
Would it be possible for you to upload either the programs that demonstrate this (if not too large) or quickly create a program and run instructions in order to replicate this behaviour here? Also which versions of TestStand and LabVIEW are you running?
Once I have this extra information and code I will replicate the issue here and look into it further for you,
All the best,
Applications Engineer -
OC4J JSP Debugging not working for all the jsps
Hi,
Initially I was not able to debug jsps using Eclipse and OC4J. The jsp debugging started working once I made the below changes:
1) global-web-application.xml is modified
Changed the attribute development="true" in orion-web-app
Added the below init param for the JspServlet
<init-param>
<param-name>debug</param-name>
<param-value>class</param-value>
</init-param>
If the jsps are present in a sub directory under the webcontent none of the breakpoints are working. I am still be able to view the jsp pages on the browser.
Tools: Oracle 10g Application Server Standalone version(10.1.3.5.0), JDK5, Windows XP, Eclipse Indigo
Project Structure:
Test (Eclipse Dynamic Web Project)
-WebContent
Sample.jsp ( Breakpoints are working)
-subF (Folder)
SubSample.jsp (Breakpoints are not working)
-WEB-INF
web.xml
Debugging worked for http://localhost:8888/Test/Sample.jsp
Debugging not working for http://localhost:8888/Test/subF/SubSample.jsp
Any help is highly appreciated.
Regards
DannyThis tells there is not enough main memory (not disk space) for the program to run.
- You can look the dump in ST22, it will have suggestions on increasing the ROLLAREA??, you can forward that to Basis.
- Most likely you will not have any more memory to assign so the above may not be feasible. Try to rework your query so it works with less data. -
iWeb is not working for sending podcasts to iTunes, so I need a new web building tool. What is the closest thing to iWeb that I can use, which also supports podcasts?
There's no reason you can't go on using iWeb for this - with iWeb '08 you have to publish to a local folder (i.e. on your Mac) and then upload the contents of the folder (not the folder itself) to your hosting service: and you have to make sure you enter the new URL in the Publish information or the feed won't work properly; this done, an iWeb podcast should work fine.
Of course there is still the problem that iWeb is not supported and sooner or later a system upgrade may break it. You could look at RapidWeaver: you can make podcasts with that, though the last time I looked into that - which was admittedly some time back - I didn't feel it was ideal for this. There are lots of other podcast creation programs or services around. WordPress is OK but it may be a bit of a steep learning curve: Libsyn is an online service that seems to work reliably. Blogger writes messy feeds but does usually work. Podcast Maker used to work well - I used it myself a few years back - but it rather looks as if it's gone moribund and it may not be reliable with Lion/Mountain Lion, so you would want to check into that. -
Incoming Email not working for one web app, but IS working for others in same farm.
I have enabled incoming email in a large multi-web application farm running SharePoint 2013 SP1 and the Feb 2015/March 2015 CUs that were pushed down in Windows Updates. It works just fine for two web applications, but it will not work for one particular
web application. I see the email land in the /drop folder. If I remove the email address from the library in http://nonworkingapp web
application and use it on a library in a http://working web application, then the email is processed successfully. Conversely,
if I take an address from a library in http://working and move it to a library inhttp://nonworkingapp it
does not work. I've tried multiple site collections on http://nonworkingapp. This rules out any SMTP issues, etc. and means
the issue is bound to this web application. Permissions are the same between the "non-working" and "working" locations: domain users are members on the site, and the library inherits permissions from the site. The App Pool and Timer
Service accounts have rights to the folder and to the library.
The error in the ULS log is the typical error processing message, but it gives no additional information even though I have enabled Verbose logging.
The Incoming E-Mail service has completed a batch. The elapsed time was 00:00: 00.0156294. The service processed 2 message(s) in total. Errors occurred processing 2 message(s): Message ID: Message
ID:
Typically, you see "alias not found" or some permissions or quota issue here, but this issue is NOT the same as those. In this case NO additional information is provided in ULS.
Edit: running stsadm.exe -o refreshdms -url http://one/failing/site fixed some similar issues where "Unknown alias" was
reported even though the list did have an alias (see here:http://blogs.technet.com/b/vinitt/archive/2009/07/15/e-mail-enabled-list-alias-information-is-not-synchronized-between-configuration-database-and-content-database.aspx).
This did not fix the issue for the case mentioned above.
What could possibly be the issue preventing incoming email from working on this one web application?Thanks for your reply. Incoming E-Mail was running on all 3 WFE, however I do not think this was the cause. As noted, _other_ emails send to http://workingapp are working just fine. I can send two emails - one to a library on http://workingapp
and another on http://notworkingapp. The email to http://notworkingapp will sit in the drop folder, while the one to http://workingapp will be processed correctly. In addition, the ULS log on WFE1 indicates an attempt to process the file fails.
So clearly, the timer job on WFE1 is running and attempting to process the file. For kicks, I disabled the service on WFE2 and WFE3, but with no change in the behavior.
WRT to #1, I have done this already (as noted in the original post). I can remove an alias from http://workingapp and place it on http://nonworkingapp and it is not processed. If I return it to http://workingapp it is processed. In other
words, I go into Library Settings -> Incoming Email for a working library, and copy the alias, then disable incoming email for that library. I then go to Library Settings -> Incoming Email for a non-working library, enable incoming email, and paste
the alias. Once done, emails sent to the alias are not processed. I then do the reverse, and it works again.
On #2, I have already tried multiple libraries on http://nonworkingapp (also as noted in the original post).
In my environment, incoming email does not work for any library on http://nonworkingapp, but does work for any library on http://workingapp. Troubleshooting listed above has ruled out any problem with basic mail server configuration or library settings
- the problem is bound to http://nonworkingapp
I'm not sure what you mean by "steps to reproduce the issue". If I knew that, I would probably be able to solve the issue. The best I could come up with to describe the situation would be:
Set up SP 2010 in a three-node configuration with multiple web apps
Enable incoming email and confirm it works
Migrate to a SP2013 SP1 farm in a three node configuration.
Enable a new email alias for a library
Observe that it doesn't work for one web application.
Obviously, it's pretty unlikely that attempting that in a lab would actually have the same result. -
Clob is not working for bulk data files in PL/SQL XML program
Hi Odie,
we took your help to fix the our issue before
"https://forums.oracle.com/forums/thread.jspa?threadID=2238458&tstart=105"
working fine for : program is working for smaller size data.
Issue : now we have problem with the largr size data .
getting the below error:
Arguments
P_dir_name='/tmp'
P_file_name='CCBGO.COLO_CNG.RESPONSES.20120802.00054131826'
Environment will now switch to UTF-8 code-set.
Parts of this log file may not display correctly
as a result. This is an expected behavior.
XML_REPORTS_XENVIRONMENT is :
/apps/applmgr/product/OFDEV/ofdevora/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to /apps/applmgr/product/OFDEV/ofdevora/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
stat_low = 8B
stat_high = 0
emsg:was terminated by signal 11
Appreciated for your earlier support.
Kindly suggest .
Many Thanks,
Ramesh.Thanks ALex,
your are true it is concurrent program error ,
but it is working for small amount of data and generating the output and it is not working for larger data.
i have placed the code which i have used kindly suggest where i am going wrong.
i am calling the .rdf through the concurrent program, i've used the below query in RDF
select
BATCHHEADER
,BATCHTRAILER
,RqUID
,Severity
,PmtRefId
,StatusDesc
,ErrorDesc
,AsOfDate
,AsOfTime
,RqUID1
,SPRefId
from table(CL_CXFRFXFH_PKG.rcacknowledgments(:P_dir_name,:P_file_name));
kindly find the below code for the package CL_CXFRFXFH_PKG.
==========================
CREATE OR REPLACE package body APPS.CL_CXFRFXFH_PKG is
function rcacknowledgments (p_directory in varchar2, p_filename in varchar2)
return TRecordTable pipelined
is
nb_rec number := 1;
tmp_xml clob;
tmp_file clob;
rec TRecord;
begin
dbms_lob.createtemporary(tmp_file, true);
tmp_file := dbms_xslprocessor.read2clob(p_directory, p_filename);
rec.BATCHHEADER := regexp_replace(tmp_file, '.*<BATCHHEADER>(.*)</BATCHHEADER>.*', '\1', 1, 1, 'n');
rec.BATCHTRAILER := regexp_replace(tmp_file, '.*<BATCHTRAILER>(.*)</BATCHTRAILER>.*', '\1', 1, 1, 'n');
loop
tmp_xml := regexp_substr(tmp_file, '<\?xml[^?]+\?>\s*<([^>]+)>.*?</\1>', 1, nb_rec, 'n');
exit when length(tmp_xml) = 0;
--dbms_output.put_line(tmp_rec);
nb_rec := nb_rec + 1;
select RqUID, Severity, PmtRefId, StatusDesc, ErrorDesc, AsOfDate, AsOfTime, RqUID1, SPRefId
into rec.RqUID
, rec.Severity
, rec.PmtRefId
, rec.StatusDesc
, rec.ErrorDesc
, rec.AsOfDate
, rec.AsOfTime
, rec.RqUID1
, rec.SPRefId
from xmltable(
'/CMA/BankSvcRq' passing xmltype(tmp_xml)
columns RqUID varchar2(3000) path 'RqUID'
, Severity varchar2(3000) path 'XferAddRs/Status/Severity'
, PmtRefId varchar2(3000) path 'XferAddRs/Status/PmtRefId'
, StatusDesc varchar2(3000) path 'XferAddRs/Status/StatusDesc'
, ErrorDesc varchar2(3000) path 'XferAddRs/Status/ErrorDesc'
, AsOfDate varchar2(3000) path 'XferAddRs/Status/AsOfDate'
, AsOfTime varchar2(3000) path 'XferAddRs/Status/AsOfTime'
, RqUID1 varchar2(3000) path 'XferAddRs/RqUID'
, SPRefId varchar2(3000) path 'XferAddRs/SPRefId'
pipe row ( rec );
end loop;
dbms_lob.freetemporary(tmp_file);
return;
end;
end;
============================================
Many Thanks,
Ramesh. -
Save for web not working for .PNG?
When I slice up a .psd file and then go file > save for web and select to save the images as .png it does not work for some reason. No matter what I select it only uses jpeg. I am using Photoshop CS2.
Any suggestions?As Zeno said, file format selection is per slice, not a global override. Select al lslices, then pick the PNG options.
Mylenium
Maybe you are looking for
-
How to put buffer in dynamic sound(mp3 file)?
Hi, like row sound we put buffer, like this buffer = new SoundLoaderContext(65000); _loop_snd = new Sound(new URLRequest(_mp3), buffer); how can i put buffer in dynamic sound..as per your code where i can put buffer in below code.. any suggestion, _d
-
How can i cancel order from HONG KONG apple Online Store? i tried to call the customer service hotline in 1/11/2013 (3pm to 6pm) and no any apple specialists reply and answer me? How can i do now ? Pay for useless?
-
Adobe illustrator cc reverse scroll
Hello There anyone know how to reverse ai cc scroll, I used to zoom with alt+ scroll up (on mac trackpad) to zoom in, and alt+ scroll down to zoom out. Now it is the reverse on CC and i find it pretty annoying! Any help?!
-
Numbers and Keynote without upgrading to Yosemite
I want to buy and install Pages and Keynote on OS X 10.9.5. The App Store would not let me buy and install the latest versions because they seem to require Yosemite. I don't want to upgrade to Yosemite yet as some other software I use has number of i
-
[Macro Crop VS Manual Crop] Crop position out of image Size
Hi,I have been trying to crop my images using Macro. When i do it manually, Upon pressing the crop button, the Crop is positioned in the MIDDLE of the Image size which is alright for me. I'm Cropping it into a square. The problem is when I choose to