Reading jsp request in jsf code
I have a normal jsp page. On submitting the page a normal HttpRequest is generated.
I need the jsf page t read this request, extract its attributes and display the desired results.
the jsf page is using the backing beans to get the results.
i would like to know if it is possible to read a plain jsp request if yes.....would like to know how.
Thanks.
thank you for the replies. There is a problem collecting parameters in the backing bean. Could u give me a url where i can find such a sample application done. I would like to see the page navigation and how it is managed. I mean is there a need for an interface like a servlet betwn the jsp page and the backing bean.
Thanks and regards.
Similar Messages
-
Include jsp/jsf code in a jsf page at runtime
Hello,
I have a problem. I must get data from a Firebird db. The data is posted in jsp/jsf
code. I've tried to get them through a servlet. The problem is that when I include
result in my jsf page, the code doesn't get compiled.
If I include code with a <h:outputText> or a jsp action <jsp:include> or a <c:import
url> the code doesn't get compiled. If I include code with directive <%include> it is
translated correctly, but include directive accepts only physical files.
Any suggestion?
ThanksHello,
I have a problem. I must get data from a Firebird db. The data is posted in jsp/jsf
code. I've tried to get them through a servlet. The problem is that when I include
result in my jsf page, the code doesn't get compiled.
If I include code with a <h:outputText> or a jsp action <jsp:include> or a <c:import
url> the code doesn't get compiled. If I include code with directive <%include> it is
translated correctly, but include directive accepts only physical files.
Any suggestion?
Thanks -
Using jsp:include in jsf
I want to include a jsp page in another jsp page. My code is as follows:
1)
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
version="2.0">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Page Title</title>
</head>
<body>
<f:subview id="sub">
<jsp:include page="/demo.jsp"/>
</f:subview>
</body>
</html>
</jsp:root>
2) demo.jsp is given below
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
version="2.0">
<ui:composition>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Page Title</title>
</head>
<body>
<h:outputText value="Hello"/>
</body>
</html>
</ui:composition>
</jsp:root>
but when i run this application i get error as follows:
javax.servlet.ServletException: @15,48 <jsp:include> Tag Library supports namespace: http://java.sun.com/JSP/Page, but no tag was defined for name: include
javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)You're mixing two view technologies with each other: JSP and Facelets. You cannot do that. Use the one or the other. In Facelets you can just use <ui:include>. Leave all of those legacy <jsp> tags out when using Facelets.
By the way, although the <f:subview> is superfluous in Facelets and only used in JSP, I wanted to tell you, this tag is better to be placed in the include file, not in the parent file. Otherwise you may risk "duplicate component ID" problems. -
How to dynamically include jsp files using jsf el in include tag ?
Hi,
I'm trying to get the jsp file name from my backing bean to use it in an include tag but I can't make it work
When using this piece of code I can get the generated path
<h:outputText value="/_partial/#{myBean.jspName}.jsp"/>whereas in this code the jsf el is not replaced by this value.
<%@ include file="/_partial/#{myBean.jspName}.jsp" %> Have you any idea of how to solve this ? I'm currently developing for J2EE 1.4 platform.
Thanks for your help,
Regards.If you're using JSF 1.2 and JSTL 1.2 at a JSP 2.1 environment, then you can just use <jsp:include> with unified EL.
If you're using JSF 1.1, then you may find this article useful [http://balusc.blogspot.com/2007/01/dynamic-jsf-subviews.html] -
ERROR : Cannot read the request body while creating new calendar event api.
Hi,
I was trying to create and update the calendar event using [POST] https://outlook.office365.com/api/v1.0/me/events and [PATCH] https://outlook.office365.com/api/v1.0/me/events/<eventId> respectively.
When i try with poster or postman, I get this error
{error: {code: "ErrorInvalidRequest" message: "Cannot read the request body."} }
its not working . Any help will be appreciated.
Note: GET events and DELETE Events are working. I think the API with payload is not working.
Test Data :
URL: https://outlook.office365.com/api/v1.0/me/events/
Method: POST
JSON Data(Payload):
"Subject": "Discuss the Calendar REST API",
"Body": {
"ContentType": "HTML",
"Content": "I think it will meet our requirements!"
"Start": "2015-01-06T07:03:07.481Z",
"End": "2015-01-05T07:03:07.481Z",
"Attendees": [
"EmailAddress": {
"Address": "[email protected]",
"Name": "Konveen"
"Type": "Required"
Error:
"error": {
"code": "ErrorInvalidRequest",
"message": "Cannot read the request body."Hi Sahil,
I was able to make your request work fine against my Office 365 mailbox with 2 changes.
1. Can you please make sure you are adding header "Content-Type: Application/Json"?
2. Can you please make sure your end time is AFTER start time? Looks like there is a typo with your current request as the start time is on 2015-01-06 and end time is on 2015-01-05.
Hope that helps ...
Thanks,
Venkat -
Hi,
I have a CAS, primary site and a DP. On Site properties I have set client communication : HTTP or HTTPS and PKI. on management point properties as well I have set Client communication as HTTPS PKI.
1. On primary site Multicast_servicepoint status is "error": I checked the mcsmgr.log and found below details:
Failed to send http request /SMS_MCS/.sms_mcs?op=healthcheck. Error 12030
Call to HttpSendRequestSync failed for port 443 with 12030 error code.
Health check operation failed, error code is 12030
Health check operation failed, error code is 12030
2. When I deploy any package to client it stuck in software center as "Downloading the information". no content has been getting copied. I checked the log 'datatransferservice.log' and found below error :
"Successfully sent location services HTTPS failure message.
Error sending DAV request. HTTP code 600, status ''
GetDirectoryList_HTTP mapping original error 0x80072efe to 0x800704cf.
GetDirectoryList_HTTP('https://myDPaddress.com:443/NOCERT_SMS_DP_SMSPKG$/CAS00028') failed with code 0x800704cf.
Job {CFD64352-918B-4C1D-A9C4-9C52ABAC6524} reverted impersonation.
Error retrieving manifest (0x800704cf). Will attempt retry 1 in 30 seconds.
Failed to send request to /NOCERT_SMS_DP_SMSPKG$/CAS00028 at host Mydpaddress, error 0x2efe
[CCMHTTP] ERROR: URL=https://mydpaddress.com:443/NOCERT_SMS_DP_SMSPKG$/CAS00028, Port=443, Options=480, Code=12030, Text=ERROR_WINHTTP_CONNECTION_ERROR
Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:41932A1A-ADDE-450F-8F16-22DC875D2E39";
DateTime = "20141225182459.543000+000";
HostName = "mydpaddress.comt";
HRESULT = "0x80072efe";
ProcessID = 7356;
StatusCode = 600;
ThreadID = 6936;
Successfully sent location services HTTPS failure message.
Error sending DAV request. HTTP code 600, status ''
I think there is some issue with IIS configuration on site server or DP or on both. Please let me know a solution..
RegardsI have corrected the PKI certificate. still Issue not resolved.
I checked further and found sms_mp_control_manager was stopped and was offline, Unable to communicate with component (error below)
Unable to query the component.
This is a child primary server. not on production yet. Removing and adding MP will resolve the issue ? if yes what are the prerequesite you suggest. pls share any link .
or any quick resolution you have ? please share...
Log: mpmsi.lasterror
Property(S): SMSCWSADSPATH = IIS://LocalHost/W3SVC/1
Property(S): CCMSHAREMODE = 1
MSI (s) (5C:EC) [08:22:19:157]: Note: 1: 1729
MSI (s) (5C:EC) [08:22:19:157]: Product: ConfigMgr Management Point -- Configuration failed.
MSI (s) (5C:EC) [08:22:19:157]: Windows Installer reconfigured the product. Product Name: ConfigMgr Management Point. Product Version: 5.00.7804.1000. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status:
1603.
MSI (s) (5C:EC) [08:22:19:368]: Deferring clean up of packages/files, if any exist
MSI (s) (5C:EC) [08:22:19:368]: MainEngineThread is returning 1603
MSI (s) (5C:B0) [08:22:19:372]: RESTART MANAGER: Session closed.
MSI (s) (5C:B0) [08:22:19:372]: No System Restore sequence number for this installation.
=== Logging stopped: 12/26/2014 8:22:19 ===
MSI (s) (5C:B0) [08:22:19:375]: User policy value 'DisableRollback' is 0
MSI (s) (5C:B0) [08:22:19:375]: Machine policy value 'DisableRollback' is 0
MSI (s) (5C:B0) [08:22:19:375]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (5C:B0) [08:22:19:375]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:B0) [08:22:19:376]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:B0) [08:22:19:376]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (5C:B0) [08:22:19:377]: Destroying RemoteAPI object.
MSI (s) (5C:00) [08:22:19:377]: Custom Action Manager thread ending.
MSI (c) (30:B0) [08:22:19:378]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (30:B0) [08:22:19:379]: MainEngineThread is returning 1603
=== Verbose logging stopped: 12/26/2014 8:22:19 === -
How to send a https request using jsf
hi
Can anybody tell a sample how to send a https request using JSF ...
thanksPrefix the request URI with the https protocol.
The answer is too easy and straightforward that I guess that you mean something else. If you just want to know how to configure an SSL environment for your own webapplication, refer to the Java EE tutorial chapter 28: http://java.sun.com/javaee/5/docs/tutorial/doc/ -
Error sending DAV request. HTTP code 500, status 'Internal Server Error'
Hi All,
I am getting the error On SCCM R2 Environment .. on the client machine we are getting the below issue and software center
is not showing any information..
While checking on the client's DatatransferService.log.. i am getting the below issues..
Successfully sent location services HTTP failure message.
Error sending DAV request. HTTP code 500, status 'Internal Server Error'
GetDirectoryList_HTTP('http://MachineName:80/SMS_DP_SMSPKG$/7ea0b105-5592-48cd-8b8e-81777537c34f') failed with code 0x87d0027e.
i realize it because of Isapi filter issues.. can any one guide me to resolve the issues..
KJSUBBUHi,
In addition, I recommend you check whether you have additional Authentication methods (like ASP.NET Impersonation) enabled.
Disable the authentication method and try again.
Also, please review the link below, here is a article about troubleshoot ISAPI filter issue.
Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.0 – Internal Server Error"
http://support.microsoft.com/kb/942031
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
How to include jsp page in jsf ???
Hi,
I use JDeveloper 11g and the framework ADF. I want to include a jsp page in another page ( jsf page).
In fact, I do this :
<f:view>
*<jsp:include page="/Menu/MenuGlobalDynamique.jsp"/>*
</f:view>
when i run my jsf page nothing is displayed and i have this error :
javax.servlet.ServletException: Erreur OracleJSP :
oracle.jsp.parse.JavaCodeException: Ligne n° 19, oracle.jsp.parse.JspParseTagDeclaration@cf767d <br>Erreur : Java code in jsp source files is not allowed in ojsp.next mode.
at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:180)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:692)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:722)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:646)
Have you an idea to help me and resolve my problem.
Thank you.Hi,
Can you post the source of the MenuGlobalDynamique.jsp page?
if MenuGlobalDynamique.jsp is a JSF page and you want to include it into other JSF page you must mark out (or delete) this parts from the MenuGlobalDynamique.jsp like here:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<!--
<f:view>
<afh:html>
<afh:head title="impForm">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</afh:head>
<afh:body>
<af:messages/>
<af:form>
-->
<!--
</af:form>
</afh:body>
</afh:html>
</f:view>
-->
</jsp:root>regards,
Branislav -
Exception --- Value can not be converted to requested type.Error Code: 0
Inside my query, I try to use function,like
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
sometimes query works fine and sometimes got following exception, can anyone here help me out..
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at com.cad.report.data.DocumentReturnedDataGenImpl.loadData(DocumentReturnedDataGenImpl.java:130)
at com.cad.report.data.AbstractDataGen.getReport(AbstractDataGen.java:96)
at com.cad.report.command.ProcessReportRequestOnMessage.run(ProcessReportRequestOnMessage.java:74)
at com.cad.registration.command.AbstractCommand.execute(AbstractCommand.java:106)
at com.cad.flow.core.Run.run(Unknown Source)
at com.cad.flow.core.WorkflowComponent.run(Unknown Source)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:238)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:135)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl.execute(WorkflowManager_uh667k_EOImpl.java:132)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_1001_WLStub.execute(Unknown Source)
at com.cad.util.WorkflowProxy.runWorkflow(WorkflowProxy.java:128)
at com.cad.kbd.messenger.listener.mdb.ReportRequestMDB.onMessage(ReportRequestMDB.java:84)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3964)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:988)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.fetchRow(DatabaseAccessor.java:780)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:562)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:457)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:481)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:825)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:791)
at oracle.toplink.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:518)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:451)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2089)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:965)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:878)
at com.cad.persistence.toplink.TopLinkPersistenceBrokerImpl.executeQuery(TopLinkPersistenceBrokerImpl.java:420)
at com.cad.report.data.DocumentSys.getSummitedDocumentNumber(DocumentSys.java:332)
at com.cad.report.data.DocumentSys.loadData(DocumentSys.java:110)
... 24 more
Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BaseData.getTimestamp(Unknown Source)
at weblogic.jdbc.base.BaseResultSet.getTimestamp(Unknown Source)
at weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSet.getTimestamp(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObjectThroughOptimizedDataConversion(DatabaseAccessor.java:1038)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:942)
... 45 moreHere is my code
ExpressionBuilder builder = new ExpressionBuilder();
ReportQuery query = new ReportQuery(RegistrationDetailImpl.class, builder);
query.addArgument("startTime");
query.addArgument("endTime");
query.addArgument("lro");
Expression lroCol = builder.get("lro");
Expression regDateCol = builder.get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_NUMBER_COL).get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_DATE_COL);
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
Expression timeExp = regDateCol.between(builder.getParameter("startTime"), builder
.getParameter("endTime"));
Expression lroExp = lroCol.equal(builder.getParameter("lro"));
query.setSelectionCriteria(timeExp.and(lroExp));
query.addCount();
query.addAttribute("regDate", formattedRegDateCol);
query.addGrouping(formattedRegDateCol);
query.addOrdering(formattedRegDateCol.ascending());
descriptor.getDescriptorQueryManager().addQuery("testquery", query); -
SCCM 2012 - Error sending DAV request. HTTP code 401, status 'Unauthorized'
Hi everyone!
I have a SCCM 2012 install with SQL 2008 R2 RU6 on it. All roles on the same server.
Application deployment was working last week and suddently, today, it's not working anymore.
Client fail to download applications. When I see the log "dataTransfertService.log" I got:
<![LOG[Enumerating DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.388-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:135">
<![LOG[Enumeration of DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:151">
<![LOG[Enumerating DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:154">
<![LOG[Enumeration of DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.939-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:170">
<![LOG[UpdateURLWithTransportSettings(): OLD URL - http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3083">
<![LOG[UpdateURLWithTransportSettings(): NEW URL - http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3095">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} created to download from 'http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' to 'C:\WINDOWS\ccmcache\3f'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="datatransferservice.cpp:186">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'DownloadingManifest'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="2432" file="dtsjob.h:157">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.281-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.297000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.297-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} impersonating Network Access Account.]LOG]!><time="16:48:32.825-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.cpp:429">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.887000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} reverted impersonation.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.h:93">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'Cancelled'.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.h:157">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} cancelled by client.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.cpp:2771">
I already verified every single permissions, NAA is configured and has correct rights. I really don't understand what has changed...
any suggestion???
Thank you very much!SMS_DP_SMSPKG$ has Windows Authentication Enabled.
IIS Logs:
2012-07-23 15:10:08 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 339
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 38
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 166
2012-07-23 15:11:38 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 1
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 0
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 1 3221225581 11
2012-07-23 15:11:39 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 384
2012-07-23 15:13:01 fe80::31df:ba5:7c1:caf6%11 GET /SMS_MP/.sms_aut MPLIST 80 - fe80::31df:ba5:7c1:caf6%11 SMS_MP_CONTROL_MANAGER 200 0 0 4
2012-07-23 15:13:11 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.29.73.101 ccmhttp 401 2 5 6
2012-07-23 15:14:01 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.82.72 ccmhttp 200 0 0 23
2012-07-23 15:15:40 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 348
2012-07-23 15:15:55 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 363
2012-07-23 15:16:12 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.29.73.101 ccmhttp 200 0 0 393
2012-07-23 15:17:06 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.28.81.79 ccmhttp 401 2 5 0
In "ContentTransferManager.log" i see that error:
<![LOG[Starting CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}.]LOG]!><time="17:11:38.999-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmjob.cpp:2980">
<![LOG[Created CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} for user S-1-5-18]LOG]!><time="17:11:39.030-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmanager.cpp:487">
<![LOG[Created and Sent Location Request '{996973D0-911C-4929-BE9D-39CB4D759265}' for package Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332"
file="ccmpkglocation.cpp:83">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:1432">
<![LOG[Queued location request '{996973D0-911C-4929-BE9D-39CB4D759265}' for CTM job '{1C23F5FF-8ED3-43D2-91ED-169F82A24E89}'.]LOG]!><time="17:11:39.139-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:151">
<![LOG[Persisted locations for CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}:
(LOCAL) <a href="http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120">http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120" date="07-23-2012"
component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:1894">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} (corresponding DTS job {D22196C4-A803-42F4-B4FD-6F5FA777A778}) started download from 'http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' for full content download.]LOG]!><time="17:11:39.514-120"
date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:413">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.577-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5188" file="ctmjob.cpp:1432">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} encountered error 0x80070005 during download ('Error processing manifest.')- The error maps to denied access.]LOG]!><time="17:11:40.217-120" date="07-23-2012" component="ContentTransferManager"
context="" type="3" thread="5400" file="ctmjob.cpp:2489"> -
JSP database access application code
Does anyone know of existing sample code, that can be downloaded, for the above that can do the following:
1. User login
2. Data retrieval from database
3. Data submission by fill in form
Any help appreciated?
RupertHere's an ad-hoc example:
<%
final String PREPARED_STATEMENT = "SELECT * FROM userTable WHERE userid = ? AND userpwd = ?";
String name = "", pwd = "", errorMsg = "",
loginsubmitted = request.getParameter("loginsubmitted"),
intendedPath = request.getParameter("intendedPath");
//If the intendedPath was never set then set it to your 1st protected page...
if(null == intendedPath)
intendedPath = "your/protected/Page.jsp";
if(null != loginsubmitted && "true".equals(loginsubmitted))
name = request.getParameter("name");
pwd = request.getParameter("pwd");
//Code to be abstracted into a servlet of some sort...
java.sql.Connection con = dataSource.getConnection(); //Assume dataSource has been initialized elsewhere
java.sql.PreparedStatement stmnt = con.prepareStatement(PREPARE_STATEMENT);
stmnt.setString(1,name);
stmnt.setString(2,pwd);
java.sql.ResultSet rs = stmnt.executeQuery();
rs.next();
if(rs.isAfterLast())
errorMsg = "Invalid user ID or password.";
else
request.getRequestDispatcher(intendedPath).forward(request,respone);
%>
<h1>Login</h1>
<form name="login" action="thispage.jsp" method="POST">
Name: <input type="text" name="name" value="<%=name%>"/>
Password: <input type="password" name="pwd" value="<%=pwd%>"/>
<input type="hidden" name="loginsubmitted" value="true"/>
<input type="hidden" name="intendedPath" value="<%=intendedPath%>"/>
<input type="submit"/>
<hr/>
<h3><%=errorMsg%></h3>
</form>Cliff -
When I send a request for jsf, the oc4j container response nothing...
I've read the "How To Use JSF with JDeveloper 10g
" and build the very simple example project in jdev(9.0.5.1),the project build successful. runing the project,I can visit basic jsp page without jsf, but when visit the jsf page, oc4j can not response...I download the jdeveloper 9.0.5.2, and try it again---ok, now the oc4j work
-
HT201269 how do u request an unlock code for iphone 4s
how do u request an unlock code for iphone 4s
Call the carrier. They are the only ones who can unlock and will give you instructions.
-
I tried to reset setting due to my phone speaker are not functioning except if i plug in earphone.after i key in my phone code,it promp a request for restriction code which i totally cant recall.how can i resolve this issue.
Hello Ridhuan,
Thanks for using Apple Support Communities.
If you forgot your restrictions passcode you will need to restore your iPhone to its factory settings.
i forgot my passcode
https://discussions.apple.com/thread/5196099
Take care,
Alex H.
Maybe you are looking for
-
Ipod nano not being recongized by computer
Hey guys, i just recently got a new HP computer with windows 7 and installed itunes on it, however my computer would not find my ipod at all. The only time it finds it is during start up and the second the users kick in it ejects its self from the co
-
I saved my playlists on my new computer as per the instructions in iTunes help. Then I tried to import the playlists on my new computer but the files were nowhere to be found. Found the correct directory, but not there. my computers are connected
-
I just upgraded to Lion on my work computer.
I just upgraded to Lion on my work computer. Can't connect to iCloud with my @me.com account. I go to system preferences iCloud and put in my email and password and tries to move my MobileMe account to iCloud. Which I had already done. And then show
-
just upgraded from CS3 to CS4. Tried doing both power and gain audio crossfade on cs3 and cs4, but nothing works. The volume is always at "max" and there is no fade. I also tried the log fade on CS4 , but nothing. Should "volume" always be an audio e
-
HEllo! why I can't update my iphone6 with wifi in my phone and when i tried to update with pc it also showed and error and stopped downloading?