Web.xml mapping not working
I have a servlet located at com.conversion.web called leftNavReader.java
I'm trying to access this servlet on my localhost with the following URL: http://localhost:8080/Conversion/start
but I keep getting this error:
HTTP Status 404 - /Conversion/start
type Status report
message /Conversion/start
description The requested resource (/Conversion/start) is not available.
Here is what my web.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<display-name>DataConversionWeb</display-name>
<servlet>
<servlet-name>start</servlet-name>
<display-name>Start</display-name>
<servlet-class>com.conversion.web.leftNavReader</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>start</servlet-name>
<url-pattern>/start</url-pattern>
</servlet-mapping>
</web-app>
Does anyone have any idea why I'm getting this error?
Since the spaces may cause problems and I have
everything in the My Projects directory, I decide to
just start from scratch. Very good.
But... someone else
installed eclipse for me and set that up, so I may
need some help with that, not sure if you can help.As far as I know Eclipse can also be Unzipped to any folder, and
theres a file called eclipse.exe , one would simply double click on that to invoke eclipse. I don't think you would have to re-install Eclipse.
You could create a new project, and set
C:\dev\projects\Conversion\ as your Eclipse Workspace .
But lets put Eclipse on hold for now, we can still configure this whole project manually without Eclipse, which will help you understand what's going on under the hood. Also, in the beginning it's simpler to configure independent of the IDE.
So I recommend that you save your work, uninstall
Tomcat 6.0.x and re-install it on a path thatdoesn't
have any spaces in it.
For example:
C:\dev\tomcat\ So I've uninstalled tomcat and re-installed in
c:\dev\tomcat as recommended...Good, I assume that immediately under C:\dev\tomcat\ folder you see folders like bin, conf, webapps etc
Assuming that Tomcat was Unzipped to the above
folder. and there isn't another main folder underthe
above folder, set you system envrionment variable
CATALINA_HOME to the above folder.How do I do this?On MS Windows, click Start ---> Settings ----> Control Panel
Look for System , --> Doubl Click on System -----> Click on the Advanced tab ----> then under the "System Variables" panel ------> Click on New button -------->
in the Variable Name: type CATALINA_HOME
in the Variable Value: type C:\dev\tomcat
Then click Ok , that will set CATALINA_HOME to C:\dev\tomcat
~~~~~~~~~~~~~~~~~~~~~~~~~~
There's a RUNNING.txt file under Tomcat's folderthat
explains configuring it. Tomcat expects JAVA_HOMEto
be set to your JDK's root folder . Again if JDK is
installed on a path that has spaces then Irecommend
installing it on a path with no spaces forexample:
C:\dev\jdk\
Similarly , follow the above steps to set JAVA_HOME to C:\dev\jdk
Also, under System Variables you may see a variable called Path
If it doesn't exist , then create a new one, if it already exists then add the following to the Path variable. (notice how the semi colon is used as a separater)
;%JAVA_HOME%/bin;%CATALINA_HOME%/bin;
By setting the above you will be able to call
java , javac and Tomcat's startup.bat and shutdown.bat from anywhere on the DOS Command line.
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~I've moved the jdk to the director as recommended,
but not sure hot to set the JAVA_HOME.See above...
I haven't even gotten through the rest of your post
yet, as I need to work on getting Eclipse set up
again too Leave Eclipse for later ---- it will just complicate things for now.
Once you have the project runnun under Tomcat we can figure out Eclipse.
and I figure I might as well set up my
"new" project using Virtual Hosts from the beginningLeave Virtual Host for later ------ it is easy to understand , I will explain it later , once you have the above basic set up running.
and do this right... This is quite the learning
experience ;)First , second and third time it is... but if you do this often, it will get much easier.
Similar Messages
-
Client-cert auth impl in web.xml does not work in Oracle Application Server
Hi,
I am new to implementing security features on the web applications.. I have developed a new web service using jdev1012 and deployed in OAS 10.1.2. Its working fine according to the business requirements, but I am in need of implementing client-cert authentication to enable the web service available to only those who have client certificate.
My server details are:
Oracle Application Server 10g Release 2 (10.1.2)
Server certificate is in place and SSL mode have been already enabled.. able to access my web service through https://<mydomain.com>/myws/TreqWS as well able to see the WSDL file through https://<mydomain.com>/myws/TreqWS?WSDL.
I tried to include the following in my web.xml file as part of implementing CLIENT-CERT authentication.
<security-constraint>
<display-name>SecurityConstraint</display-name>
<web-resource-collection>
<web-resource-name>WSCollection</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name>WSCollection</realm-name> <!-- am not sure about this realm-name and its purpose -->
</login-config>
It is not woking as expected, though I have restarted my oc4j container after including this content to the web.xml file. i.e, I am able to invoke the web service though my sample java client program, though I donot have client certificate/keystore.
I believe I am missing something..Can anyone help me in this regard to implement CLIENT-CERT authentication successfully?
Thanks,
MsI am having the same problem with doc and xsl. I have added this
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>doc</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>
to my web.xml. I even restarted the server. I still see doc and xsl in binary.
Is there some other setting that needs to take place?
I am using WL6.1 with fixpack 1.
I can see the doc and excel files in the browser if I don't go through the weblogic
server. That just confirms it's not my browser.
Kumar Allamraju <[email protected]> wrote:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
It works fine for me in 6.1 SP1.
<br><br>
If the following doesn't work , can you
<br>try application/winword instead of application/msword?
<p>--
<br>Kumar
<p>Siming Mu wrote:
<blockquote TYPE=CITE>Hi,
<p>I setup in my web.xml a mime mapping as follows,
<p><mime-mapping>
<br><extension>doc</extension><mime-type>application/msword</mime-type>
<br></mime-mapping>
<p>When I specify a test.doc url, the doc file appears in my browser
as
binary data
<br>instead of download.
<p>Please reference change request 055002, which decribes this problem.
According
<br>to edocs, it has been fixed in wls6.1sp1.
<p>But I am seeing it fixed. Am I doing anything wrong? Thanks.
<p>Siming</blockquote>
</html> -
Hi i am executing a web application on tomcat 4.1.29 and have the following structure...the jsp pages are executed but when sendinga request to a servlet the servlets are not executed...Can somebody guide me out of this....
webapps
{MyApp}->[web-inf][jsp]
{web-inf}->[classes][lib]
{classes}->[com][src]
{src}->[source files]
when the source files are compiled package structure is followed and the class files are grneated in
com.MyApp.servlets
...etc
the servlets are registered in the web.xml file as shown below.....few lines of my web.xml file
<servlet>
<servlet-name>userServlet</servlet-name>
<servlet-class>com.MyApp.servlets.UserServlet</servlet-class>
</servlet>
even then when accessing a servlet it says the resource not found
The requested resource (/MyApp/servlet/UserServlet) is not available.
am i missing something some where...why are the servlets not executed????<servlet>
<servlet-name>UserServlet</servlet-name>
<servlet-class>com.MyApp.servlets.UserServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>UserServlet</servlet-name>
<url-pattern>/User</url-pattern>
</servlet-mapping>I'd invoke it with this URL:
http://localhost:8080/MyApp/UserServlet
hmm something seems to be wrong here ;-)
URL should be
http://localhost:8080/MyApp/User (see <url-pattern>) -
exception-type in web.xml does not appear to work
WLS 60 SP1 (#101616)
<exception-type> in web.xml does not appear to work. WLS shows standard
"Internal error 500" page instead of a custom error page. The custom error
page is shown if <error-code> is used instead of <exception-type>.
Any ideas? Thanks
Can you show me some of your code? This works for me.
Also, you say that you are working with 6.0sp3. Are you sure? sp3 hasn't been
released yet, except in a very limited beta. (I believe only internally, but I
could be wrong about that.)
David
[email protected] wrote:
Hi all,
I have created a very simple servlet and an index.html file with a link
to it, then packaged it into a WAR file with the appropriate web.xml and
ias-web.xml files. I then created an application.xml file referencing
only this servlet and adding a context root. After deployment via
"iasdeploy deployapp simple.ear" and cycling the web server, I can reach
the welcome file (index.html) correctly
-"http://localhost/NASApp/simple". When I attempt to follow the link to
the servlet ("simple servlet") the URL ends
up as "http://localhost/NASApp/SimpleServlet" whereas it should be
http://localhost/NASApp/simple/SimpleServlet If I type that url in, the
servlet executes fine.
I've deployed this into Tomcat and get the behavior I expect. It appears
that the element in the application.xml file is ignored by
iAS.
I'm using iAS SP3 on Win2k (same problem on NT).
This is such a basic behavior that I can't believe this is an existing
bug. I must be doing something wrong...
Any ideas?
Thanks in advance,
-Glen
Files are attached.
Name: simple.ear
simple.ear Type: application/x-unknown-content-type-ear_auto_file
Encoding: base64
Description: filename="simple.ear" -
Tomcat 404 error until I apply this change to my web.xml mapping
What is the purpose of the /servlet/ portion of the url-pattern in the servlet mapping element below.
If I use the first few lines I get a 404 class not found error
If I include /servlet/ in the url-pattern element then my app works fine ?????
//Does not work
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>com.onjava.login</url-pattern>
</servlet-mapping>
//works !!
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/servlet/com.onjava.login</url-pattern>
</servlet-mapping>If the first mapping doesn't work and the second mapping works then my guess is that neither mapping is working. What may be happening is the invoker servlet may be enabled and that would explain why the /servlet url works.
The invoker servlet is set up in the conf/web.xml file. This servlet will invoke a particular servlet using the class name and the /servlet url. In newer versions of tomcat the invoker servlet id disabled by default.
Now the question is why does the servlet mapping not work? What version of tomcat are you running? Can you post the entire web.xml? -
WSUS not working completely, no MMC connect, all web services are not working
Hello all,
I have a problem not sure what causing it or what is the source of it as I am not into WSUS that much...
THe status is as follows:
I have 1 server 2008 sp2 RTM x64, I had WSUS 3.0 SP2 on it since a while, it was working fine until a week ago, when I started receiving the below messages in the event viewer
I have spent too much time trying to trace or troubleshoot this issue, but all I got was to check the registry and check permissions on the temp folder and other folders, I have done complete removal with the database for the old WSUS and reinstalled it
again but I got the same problem
Nothing strange and no problems happened on the server perior to this issue, it just happened...
Any help will be appreciated
Regards
============== MSG 1 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:52:54 PM
Event ID: 7053
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
System.InvalidOperationException -- Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
<html>
<head>
<title>Security Exception</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Security Exception</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact
your system administrator or change the application's trust level in the configuration file.
<br><br>
<b> Exception Details: </b>System.Security.SecurityException: That assembly does not allow partially trusted callers.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[SecurityException: That assembly does not allow partially trusted callers.]
ASP.global_asax..ctor() +0
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
</font>
</body>
</html>
<!--
[SecurityException]: That assembly does not allow partially trusted callers.
at ASP.global_asax..ctor()
[TargetInvocationException]: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
[HttpException]: Exception has been thrown by the target of an invocation.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
Source
Microsoft.UpdateServices.Administration
Stack Trace:
at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">7053</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:52:54.000Z" />
<EventRecordID>884368</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
System.InvalidOperationException -- Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
<html>
<head>
<title>Security Exception</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Security Exception</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust level in the configuration file.
<br><br>
<b> Exception Details: </b>System.Security.SecurityException: That assembly does not allow partially trusted callers.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[SecurityException: That assembly does not allow partially trusted callers.]
ASP.global_asax..ctor() +0
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
</font>
</body>
</html>
<!--
[SecurityException]: That assembly does not allow partially trusted callers.
at ASP.global_asax..ctor()
[TargetInvocationException]: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
[HttpException]: Exception has been thrown by the target of an invocation.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
Source
Microsoft.UpdateServices.Administration
Stack Trace:
at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()</Data>
</EventData>
</Event>
============== MSG 2 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 13051
Task Category: 6
Level: Warning
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
No client computers have ever contacted the server.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">13051</EventID>
<Level>3</Level>
<Task>6</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884373</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>No client computers have ever contacted the server.</Data>
</EventData>
</Event>
============== MSG 3 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12002
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Reporting Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12002</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884374</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Reporting Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 4 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12012
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The API Remoting Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12012</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884375</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The API Remoting Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 5 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12032
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Server Synchronization Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12032</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884376</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Server Synchronization Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 6 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12022
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Client Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12022</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884377</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Client Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 7 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12042
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The SimpleAuth Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12042</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884378</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The SimpleAuth Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 8 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12052
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The DSS Authentication Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12052</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884379</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOAMIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The DSS Authentication Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 9 ==============
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 9/21/2011 1:53:09 PM
Event ID: 1314
Task Category: Web Event
Level: Information
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 9/21/2011 1:53:09 PM
Event time (UTC): 9/21/2011 10:53:09 AM
Event ID: 11b96ca285fa46d2a05d38e2e9b168af
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/715372307/ROOT/ApiRemoting30-7-129610759889193820
Trust level: High
Application Virtual Path: /ApiRemoting30
Application Path: C:\Program Files\Update Services\WebServices\ApiRemoting30\
Machine name: APP-SVR
Process information:
Process ID: 8332
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Request information:
Request URL:
http://app-svr:8530/ApiRemoting30/WebService.asmx
Request path: /ApiRemoting30/WebService.asmx
User host address: 192.168.5.22
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="16384">1314</EventID>
<Level>4</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:09.000Z" />
<EventRecordID>884380</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>4010</Data>
<Data>An unhandled security exception has occurred.</Data>
<Data>9/21/2011 1:53:09 PM</Data>
<Data>9/21/2011 10:53:09 AM</Data>
<Data>11b96ca285fa46d2a05d38e2e9b168af</Data>
<Data>1</Data>
<Data>1</Data>
<Data>0</Data>
<Data>/LM/W3SVC/715372307/ROOT/ApiRemoting30-7-129610759889193820</Data>
<Data>High</Data>
<Data>/ApiRemoting30</Data>
<Data>C:\Program Files\Update Services\WebServices\ApiRemoting30\</Data>
<Data>APP-SVR</Data>
<Data>
</Data>
<Data>8332</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>http://app-svr:8530/ApiRemoting30/WebService.asmx</Data>
<Data>/ApiRemoting30/WebService.asmx</Data>
<Data>192.168.5.22</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
</EventData>
</Event>
Saleh RamadanSo, in reality, this issue has nothing at all to do with "it was working; now it is not", because you've destroyed all of the evidence that would exist in a "was working; now is not" scenario. What we really have here is a NEW installation that has failed.
So, from the perspective of a NEW installation that is not working...
Are there any other roles, features, services, or applications installed on this server?
Did you install the Web Server Role exactly as described in the documentation?
Did you install the WSUS Role exactly as described in the documentation?
Were there any other roles, features, services, or applications installed onto this server
after your original (working) installation of WSUS?
Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
Principal/CTO, Onsite Technology Solutions, Houston, Texas
Microsoft MVP - Software Distribution (2005-2011)
My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
My Blog: http://onsitechsolutions.spaces.live.com
Oh, well, I have red and followed the documentation exactly step-by-step on the technet library, and I can guarantee you nothing went wrong because this is not my first installation for it
When I told you about the old damaged installation and the new installation which is also failed and showed me the same symptoms as the old one, I was sure that nothing wrong with the WSUS itself, but rather it is something wrong with the environment
Answering to your above questions, the answer for all is that: that server is only used for WSUS, nothing more
Anyway, I have managed to restore the service thanks to your previous reply where you point to the CONFIG folder inside the NET framework folder, I checked the files in there, some were changed to the date I think has stopped the service, so I repaired the
NET framework 2, and restarted
It is working fine now and syncing with the update server
Saleh Ramadan -
Alternate Access Mapping not working for Zone : Intranet
One of our client want to set Alternate Access Mappint (intranet) with url "intranet.theirDomain.com" with local IP address.
is it possible?
subsequest to my previous question (
http://social.technet.microsoft.com/Forums/sharepoint/en-US/3f39711e-301a-40e8-aa7a-855fa2c268b1/alternate-access-mapping-not-working?forum=sharepointadmin )
I want to ask one more question
Can we configure "intranet.theirDomain.com" with local IP address for any other zone?
or
If there is ".com" within the url then it can't be configured for InTRAnet?
Thanks
S H A J A NThe names for the zones don't matter. You could use the 'extranet' zone for another intranet name if you wanted, the names are just to make it a bit more friendly for beginners.
What you describe sounds routine, you create a web application with a name, then use an AAM to allow users to access it with a more friendly name. Frequently you end up creating
http://intranet.domain.com and
http://intranet as an AAM, or vice versa.
You can use .com for an intranet site, you would need to add the site as an A Host record in your DNS server so that traffic is sent to your internal server rather than out into the wider world. -
Value mapping not working properly
Hi All,
I am using value mapping twice in same mapping program. But only 1 field is coming with value and other is taking same value from source payload, can you please tell me what can be issue here?
Value mapping 1 -
Context - http://sap.com/xi/XI
SenderParty- SenderSchema
ReceiverParty- ReceiverSchema
Value Mapping table in ID -
Value mapping at field 2 -
Context - http://sap.com/xi/XI
SenderParty1- SenderSchema1
ReceiverParty2- ReceiverSchema2
Value Mapping table in ID -
Source payload -
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_VM_Send xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
<Record>
<Emp_ID>123</Emp_ID>
<Name>rash</Name>
<Surname>sumit</Surname>
<Gender>Male</Gender>
<Grade>E2</Grade>
</Record>
</ns0:MT_VM_Send>
Target Payload -
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_VM_Receiver xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
<Record>
<Emp_ID>123</Emp_ID>
<Full_Name>rash sumit</Full_Name>
<Designation>E2</Designation>
<Gender>M</Gender>
<Travel_Mode>Train</Travel_Mode>
</Record>
</ns0:MT_VM_Receiver>
Here travel_mode is coming perfect, but designation is same as defined in source payload. Why here Value mapping not working???
Thanks & regards,
Rashmi JoshiHi Rashmi,
The problem would either be in cache update or your mapping. Please provide the sceenshot of mapping (after clicking the value mapping function).
you can also choose the option to throw error in value mapping function, so it will throw error when value not found.
regards,
Harish -
Header links in the web template is not working
Hi all,
I have a created webtemplete in that, header links in the web template is not working. But individually header links. I am not why they are not working in webtemplete.
guys please help for above situation.
Thanks,
JamesHi Bob,
There are many XML schema files for the data connection, I recommend to check if the references to the XML files have been changed to the new schema files in the manifest file.
For example, if we create a data connection called GetUserProfileByName, then there will be one XML file and three XML schema files for the data connection.
Please make sure that all the references are updated in the manifest file.
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support -
Help, web cam is not working properly with win vista
Hii.. my web cam is not working properly with win vista..even if the icon appears bt it does nt start.. its
lenovo easy capture 2.5...so if u cud suggest me anything...
Moderator note; subject editedre-install drivers and try again. ( also easy capture )
-
12002 The Reporting Web Service is not working.
Hi :)
I have WSUS on Windows Server 2012 std. with Internal Database. Today I've installed 7 updates from patch tuesday and after restart I've got
error 12002 The Reporting Web Service is not working
I can see now that updatet clients can not report their status anymore :(
What's up ? Any suggestion ?
Best regards
NenadHi,
I would start by verifying that the /ReportingWebService resource is properly configured in IIS.
Correct configurations can be found in the WSUS Technical Reference Guide: IIS
Settings for WSUS 3.0 SP2 Web Services.
Also,Under ReportingWebService
Made sure all were set to disabled except for Anonymous Authentication
Anonymous Authentication Enabled
ASP .NET Impersonation Disabled
Basic Authentication Disabled
Forms Authentication Disabled
Windows Authentication Disabled
Regards,
Clarence
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
My integrated web cam is not working
I Am using hp pavilion p001tx laptop. My web cam is not working
It shows a warning
No web cam detected. Try to plugging in a webcam into your computer now. If you are using an integrated camera, Make sure that it is turned on.
Help me please.
My laptop serial number is [Personal Information Removed]Check if the drivers are installed or not.
Try to update the camera drivers and restart the system.
You can also go to device manager setting and see if the webcam is disabled or not.
If everything fails try system resore or run OS recovery. -
Nokia 701 web browser is not working
i have nokia 701. My phone web browser is not
working. Net is working in other browsers like
opera and uc browser. it's a big problem for me i
can't watch online videos and i can't access to google or any other site.. I also delete the cache folder in C drive. But still browser is not working.plz help me to solve this
problem...same here also. happened after i updated social. now cant browse or check for updates
-
Content query web part is not working after chaning the DNS entry
Hi all,
We have a content query web part in the sharepoint site but it is not working after changing the DNS Entry for the web site ipaddress from one server to other . But it is working fine on the server, if we try to access the site from other system content
quey server its not working fine and its giving error message as bellow.
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
Can anyone help me to fix this issue please.I have custom XSLT . But it is working fine before changing the dns entry as soon as we change the DNS entry the content quey web part is not working. I tried to delete the content query web part and add it once again to the page, As soon as content query
web part is added to the page the fallowing error message is displayed.
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
Can anyone help me to fix this issue please. -
HP Compaq web cam is not working
I have Hp Compaq Notebook 620. The devices have 2MP Web Cam but the Web Cam is not working. When i try to make it on, its shows error
"No webcam detected. HP Webcam will now Close"
Please suggest the solution of the problem.Hello Manishshakya,
I see that you are having problems with the webcam on your computer. The unit you have is a HP commercial unit.
I would suggest posting your problem in the HP Commercial Forum as well. There are more users with the computer you have on this board and it is specific to your computer.
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓
Maybe you are looking for
-
Error in activating Calculation view
Hi Gurus, Please help me in resolving this issue below as I get an error when activating calculation view. Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Unable to create hierarchy
-
my iphone version is 7.0 and it has been expired im trying to downgrade it but itunes gives me errors can anybody help ?
-
How to reset viewScope for a particular ADF region
I have following usecase. I navigate to a page (say cloud home page). while calling this page couple of parameters are set in view scope. 1. viewScope.keyAttrs.target 2. viewScope.keyAttrs.type The page has a ADF region ( say inventory) embedded. For
-
Strange bug in GO-OpenOffice 3.1 regarding file opening of long names
I've noticed a very annoying bug regarding go-openoffice 3.1.0.99.2-1, reproduced by me multiple times. When I try to open some kind of file, regardless of what it is (could be an .ODT or .DOC), and do this by selecting it with File->Open, OpenOffice
-
SAP B1H 9.0PL11 - License Control Center (System & Installation No. blank)
Hi All, I have installed Server Component in HANA server (Linux). Wonder why the System and Installation Number is blank? When I try to import the License file it said "Import File Failed". Thanks & regards, Winnie