Unexpected error when configure a new web application
hello,
I'm trying to create a new web application ( under Deployments in console). I
just manually create an sub-dir under ".\config\<active-domain>\applications"
directory, say WebAppDir. Then I went to the console and right-click on the "Web
Applications" and select "Configure a new Web Application", then I filled out
the Name, URI, and Path as follows:
Name: WebAppDir URI: WebAppDir Path: .\config\<active-domain>\applications
then click "Create" , I then got the following error message, I don't know why
and what i did wrong... please let me know what did i do wrong ? I don't have
any things under the new dir i created, but I thought i would be fine, but it
didn't.
Here is the error message:
An unexpected error was encountered in processing your request.
Exception java.lang.NullPointerException at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Current Date Wed Jun 06 17:01:25 CDT 2001
thanks so much...i really appreciate your helps.
-Kieu
Hi Kieu,
Perhaps you can try moving the webapp dir outside config/mydomain/applications.
The webapp should be configurable from anywhere besides the applications directory.
Any archives placed in the applications directory will be deployed automatically.
I'm not sure why you are seeing the webapp as an app below your Applications node
in the console though. Which version of wls are you using?
Vi
"Kieu Tram" <[email protected]> wrote:
>
I guess the problem happened because we can't deploy the exploded directory
format
using the console.
but when i follow the instruction in
http://e-docs.bea.com/wls/docs60/adminguide/config_web_app.html#122155
, to create
the web applications, i turned out the sub-dir "myWebApp" that i created
under
".\config\mydomain\applications" will appear in "Applications" node instead
of
under "Web Applications" node, even though i put all the "web.xml", "weblogic.xml"
under the dir "myWebApp\WEB-INF" already.
I would really appreciate your help...
thanks,
Kieu
"Kieu Tram" <[email protected]> wrote:
hello,
I'm trying to create a new web application ( under Deployments in console).
I
just manually create an sub-dir under ".\config\<active-domain>\applications"
directory, say WebAppDir. Then I went to the console and right-click
on the "Web
Applications" and select "Configure a new Web Application", then I filled
out
the Name, URI, and Path as follows:
Name: WebAppDir URI: WebAppDir Path: .\config\<active-domain>\applications
then click "Create" , I then got the following error message, I don't
know why
and what i did wrong... please let me know what did i do wrong ? I don't
have
any things under the new dir i created, but I thought i would be fine,
but it
didn't.
Here is the error message:
An unexpected error was encountered in processing your request.
Exception java.lang.NullPointerException at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Current Date Wed Jun 06 17:01:25 CDT 2001
thanks so much...i really appreciate your helps.
-Kieu
Similar Messages
-
FireFox keep saying "unexpected error" when trying to print web pages.
FireFox keep saying "unexpected error" when trying to print web pages. The print preview works OK, but when you try to print that "unexpected error" jumps up.
Please email me on what to do to get FireFox to work.
I don't see anything in the FAQ that might help me.Hi,
Please also try this setting: Windows start menu or Control Panel > '''Devices and Printers''', right-click the printer > '''Printer properties''' > '''Advanced''', and select '''Start printing after the last page is spooled'''. In this case you can also close Firefox after spooling is over (usually much faster than direct printing), and printing will continue.
Also as a general case, if you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of Firefox and its related processes/files in all the different configuration modules/areas of the security software like process monitoring, sub/spawned process control, virtualization, HIPS etc., in addition to the security software's main configuration panel. Instead create new fully allowed/trusted rules for Firefox + its related processes in all the different modules/panels - a genuine/original Firefox installer as well as all the installed EXEs (Application) and DLLs (Application extension) are digitally signed by Mozilla Corporation (right-click > Properties > Digital Signatures). Even otherwise, some security software may also ask again when Firefox and/or its sub processes are started, and you may be able to allow/trust at that time. Please see [https://support.mozilla.org/en-US/kb/Firewalls this].
[http://kb.mozillazine.org/Firewalls AV/Firewalls Configuration] -
Database connection error when running report from web application
Hi all,
When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
Rep-501 : Unable to connect to the specified database.
I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
GPGWL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SERVICE_NAME = GPGWL)
)Please ask this question in Jdeveloper forum.
-
An unexpected error when create a web application
hello,
I'm trying to create a new web application ( under Deployments in console). I
just manually create an sub-dir under ".\config\<active-domain>\applications"
directory, say WebAppDir. Then I went to the console and right-click on the "Web
Applications" and select "Configure a new Web Application", then I filled out
the Name, URI, and Path as follows:
Name: WebAppDir
URI: WebAppDir
Path: .\config\<active-domain>\applications
then click "Create" , I then got the following error message, I don't know why
and what i did wrong... please let me know what did i do wrong ? I don't have
any things under the new dir i created, but I thought i would be fine, but it
didn't.
Here is the error message:
An unexpected error was encountered in processing your request.
Exception
java.lang.NullPointerException
at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Current Date
Wed Jun 06 17:01:25 CDT 2001
thanks so much...i really appreciate your helps.
-Kieuhello,
I'm trying to create a new web application ( under Deployments in console). I
just manually create an sub-dir under ".\config\<active-domain>\applications"
directory, say WebAppDir. Then I went to the console and right-click on the "Web
Applications" and select "Configure a new Web Application", then I filled out
the Name, URI, and Path as follows:
Name: WebAppDir
URI: WebAppDir
Path: .\config\<active-domain>\applications
then click "Create" , I then got the following error message, I don't know why
and what i did wrong... please let me know what did i do wrong ? I don't have
any things under the new dir i created, but I thought i would be fine, but it
didn't.
Here is the error message:
An unexpected error was encountered in processing your request.
Exception
java.lang.NullPointerException
at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Current Date
Wed Jun 06 17:01:25 CDT 2001
thanks so much...i really appreciate your helps.
-Kieu -
Error in Creating New Web Application SharePoint 2013
Everything was working fine but today when i try to create a new web application i am getting the following error.It's happening whenever i am trying to create a new web application.
The directory C:\inetpub\wwwroot\wss\VirtualDirectories\26060 is already being used by another IIS Web Site. Choose a different root directory for your new Web application.
But this port 26060 was not being used before and if i try to create new web application again then the error message occurs with the port number of the new web application.
Please help.Hi HelloFragrance,
Are you using a host header when creating these web apps? If so have you tried creating without a host header? Also are you logged in with the Server with the Admin account? Check this out: (taken from Jeremy Taylor's
blog)
" 1. Ensure you have a proper dns name / entry in the hosts file of your server for the new url you are wanting to create.
2. Ensure you have typed in the ‘host header’ typed in when creating the new web application.
3. If this doesnt work, open IIS Manager – Start>run> inetmgr> and verify the home directory – it could be located on a different drive."
Also have you tried creating through Powershell and see if you run into the same issue or not?
http://technet.microsoft.com/en-us/library/ff607931(v=office.15).aspx
Hope this helps!
Thanks!
BlueSky2010
Please help and appreciate others by using forum features: "Propose As Answer", "Vote As Helpful" and
"Mark As Answer" -
Runtime error and unable to create new web application
Hi
when i create new web application i faced this error Runtime error and unable to create new web application.
in this farm we have
2 wfe servers
2 application servers.
adilAdil,
There could be many reason like IIS issue, Space issue, Permission issue, SQL issue which is not possible us to guess rather
you need to jump in the SharePoint log(Program Files\Common files\Microsoft Shared\Web Server Extensions\14\LOGS) and find out the specific error log its throwing after which trouble shoot can be start.
You can refer few similar threads here -
Link
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Unexpected Error When Creating Network
Running 10.9.1 and getting "Unexpected Error" When Creating a new network. Need help getting started.
Thanks for the support!You need to use the alternatives under options..
It will never pick this option itself.. so click Other Options.
and use replace an existing device.
Or simply remove the existing setup and start over..
Reset to factory every time you start a setup.. and create a new network.. then reset the older units once this is working and use them to extend the network.
Personally I prefer to replace and start afresh as it just leads to less issues.
As far as range is concerned the new AC models are variously reported as excellent to worse than existing old models.. wireless is simply another form of voodoo only in white plastic instead of black.. which sort of suits the black arts better. -
Error when configuring Web Dispatcher for SSL with Enterprise Portal
We are in the process of configuring the Web Dispatcher using SSL to connect to our Enterprise Portal (the Web Dispatcher will be in the DMZ). We have followed all of the help.sap.com guides and now have SSL listening on the EP side (port 8103). We are now receiving this strange certificate error when we start the Web Dispatcher:
[Thr 5332] Tue Mar 20 00:36:23 2007
[Thr 5332] MatchTargetName("<FULLY QUALIFIED HOSTNAME>", "CN=XXX, OU=XXX, O=XXXX, C=XX") FAILS
[Thr 5332] SSL socket: local=<IPADDRESS>:4742 peer=<IPADDRESS>:8103
[Thr 5332] <<- ERROR: SapSSLSessionStart(sssl_hdl=009D7670)==SSSLERR_SERVER_CERT_MISMATCH
[Thr 5332] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-30): SSSLERR_SERVER_CERT_MISMATCH [icxxconn.c 2005]
[Thr 5332] *** ERROR => IcmConnClientRqCreate() failed (rc=-14) [icrxx.c 4919]
[Thr 5332] *** ERROR => Could not connect to SAP Message Server at <FULLY QUALIFIED HOST NAME>. URL=/msgserver/text/logon?version=1.2 [icrxx.c 2301]
[Thr 5332] *** ERROR => rc=-1, HTTP response code: 0 [icrxx.c 2302]
[Thr 5332] *** ERROR => see also OSS note 552286 [icrxx.c 2303]
We have gone through the trouble shooting note 552286 as listed in the error above. Any assistance is appreciated.Hello, did you receive any resolution for this problem? We are receiving a similar error and I am unsure of how to resolve.
-
Create a new web application, how shall I update the file server.xml
Hi,
I will create a new web application, i.e named newApp. Then I create a file structure as follows:
- <server-root>/newApp
- <server-root>/newApp/WEB-INF
- <server-root>/newApp/WEB-INF/classes
Then I must tell the server that I have created a new web application. Then I must update my file server.xml, How shall I do this and where in the file shall I type in the new information?
I use windows XP Pro, and Tomcat 4.1.27.
My server.xml file looks like below:
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<!-- Comment these entries out to disable JMX MBeans support -->
<!-- You may also configure custom components (e.g. Valves/Realms) by
including your own mbean-descriptor file(s), and setting the
"descriptors" attribute to point to a ';' seperated list of paths
(in the ClassLoader sense) of files to add to the default list.
e.g. descriptors="/com/myfirm/mypackage/mbean-descriptor.xml"
-->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 4.0 documentation bundle for more detailed
instructions):
* Download and install JSSE 1.0.2 or later, and put the JAR files
into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" />
</Connector>
-->
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
-->
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8082" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" connectionTimeout="20000"
proxyPort="80" useURIValidationHack="false"
disableUploadTimeout="true" />
-->
<!-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8083" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" />
-->
<!-- Define a non-SSL HTTP/1.0 Test Connector on port 8084 -->
<!--
<Connector className="org.apache.catalina.connector.http10.HttpConnector"
port="8084" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" />
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- You should set jvmRoute to support load-balancing via JK/JK2 ie :
<Engine name="Standalone" defaultHost="localhost" debug="0" jmvRoute="jvm1">
-->
<!-- Define the top level container in our container hierarchy -->
<Engine name="Standalone" defaultHost="localhost" debug="0">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.3
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0" resourceName="UserDatabase"/>
<!-- Comment out the old realm but leave here for now in case we
need to go back quickly -->
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test" connectionPassword="test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
connectionName="scott" connectionPassword="tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the "logs"
directory relative to $CATALINA_HOME. If you wish, you can specify
a different directory with the "directory" attribute. Specify either a
relative (to $CATALINA_HOME) or absolute path to the desired
directory.-->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<!-- Define properties for each web application. This is only needed
if you want to set non-default properties, or have web application
document roots in places other than the virtual host's appBase
directory. -->
<DefaultContext reloadable="true"/>
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_examples_log." suffix=".txt"
timestamp="true"/>
<Ejb name="ejb/EmplRecord" type="Entity"
home="com.wombat.empl.EmployeeRecordHome"
remote="com.wombat.empl.EmployeeRecord"/>
<!-- If you wanted the examples app to be able to edit the
user database, you would uncomment the following entry.
Of course, you would want to enable security on the
application as well, so this is not done by default!
The database object could be accessed like this:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
UserDatabase database =
(UserDatabase) envCtx.lookup("userDatabase");
-->
<!--
<ResourceLink name="userDatabase" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
-->
<!-- PersistentManager: Uncomment the section below to test Persistent
Sessions.
saveOnRestart: If true, all active sessions will be saved
to the Store when Catalina is shutdown, regardless of
other settings. All Sessions found in the Store will be
loaded on startup. Sessions past their expiration are
ignored in both cases.
maxActiveSessions: If 0 or greater, having too many active
sessions will result in some being swapped out. minIdleSwap
limits this. -1 or 0 means unlimited sessions are allowed.
If it is not possible to swap sessions new sessions will
be rejected.
This avoids thrashing when the site is highly active.
minIdleSwap: Sessions must be idle for at least this long
(in seconds) before they will be swapped out due to
activity.
0 means sessions will almost always be swapped out after
use - this will be noticeably slow for your users.
maxIdleSwap: Sessions will be swapped out if idle for this
long (in seconds). If minIdleSwap is higher, then it will
override this. This isn't exact: it is checked periodically.
-1 means sessions won't be swapped out for this reason,
although they may be swapped out for maxActiveSessions.
If set to >= 0, guarantees that all sessions found in the
Store will be loaded on startup.
maxIdleBackup: Sessions will be backed up (saved to the Store,
but left in active memory) if idle for this long (in seconds),
and all sessions found in the Store will be loaded on startup.
If set to -1 sessions will not be backed up, 0 means they
should be backed up shortly after being used.
To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
and minIdleBackup all to -1, saveOnRestart to false, then restart
Catalina.
-->
<!--
<Manager className="org.apache.catalina.session.PersistentManager"
debug="0"
saveOnRestart="true"
maxActiveSessions="-1"
minIdleSwap="-1"
maxIdleSwap="-1"
maxIdleBackup="-1">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
-->
<Environment name="maxExemptions" type="java.lang.Integer"
value="15"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/EmployeeAppDb">
<parameter><name>username</name><value>sa</value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name>
<value>org.hsql.jdbcDriver</value></parameter>
<parameter><name>url</name>
<value>jdbc:HypersonicSQL:database</value></parameter>
</ResourceParams>
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
<ResourceLink name="linkToGlobalResource"
global="simpleValue"
type="java.lang.Integer"/>
</Context>
</Host>
</Engine>
</Service>
</Server>To use servlets u have indeed to update your web.xml...Well I'm not sure this is relevant to your case anyway.
You have to add a <servlet> element to this file.
Something like this:
<servlet>
<servlet-name>blabla</servlet-name>
<servlet-class>blablapackage.Blablaclass</servlet-class>
<init-param>...</init-param>
</servlet>
Now this may not solve your problem. Make sure you refer to your servlets using their full qualified names.btw, just to be sure, what is your definition of "servlet"? (i mean: any java class or only javax.servlet.Servlet) -
How to avoid specified is out of bounds error in flex 4 mxml web application
how to avoid specified is out of bounds error in flex 4 mxml web application
hi raghs,
i want to add records in cloud.bt while adding the records if we enter existing record details and try to save again na it wont allow to that record.
that time the alert box should show this msg "This record is already existing record in cloud database.
ex: one company name called mobile. i am adding a employee name called raja now i save this record,its data saved in cloud DTO
again try to add same employee name raja under the same compny means it should through error.
I am give my code here please if any suggession tel.
CODE:
private function saveRecord():void
refreshRecords();
model.employeeDetailsReq=new EMPLOYEEDETAILS_DTO();
var lengthindex:uint=model.employeeDetailsReqRecordsList.length;
var i:int;
for (i = 0; i < lengthindex; i++)
if((model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employ ee name==customerdet.selectedItem.employeename)&&
(model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employeeN umber==customerdet.selectedItem.employeeID)){
Alert.show("you cannot Add Same CustomerName and Invoiceno again");
(when this line come the error through like this: Index '8' specified is out of bounds.
else
var dp:Object=employeedet.dataProvider;
var cursor:IViewCursor=dp.createCursor();
var employeename:String = employeename.text;
model.employeeDetailsReq.employename = employeename;
model.employeeDetailsReq.employeeNumber=cursor.current.employeeID;
var sendRecordToLocID:QuickBaseEventStoreRecord = new
QuickBaseEventStoreRecord(model.employeeDetailsReq, new
KingussieEventCallBack(refreshList))
sendRecordToLocID.dispatch();
<mx:Button id="btnAdd" x="33" y="419" enabled="false" label="Add" width="65" fontFamily="Georgia" fontSize="12" click="saveRecord()"/>
employeename and employeeID are datafields of datagrid. datagrid id=customerdet
employeeDetailsReqRecordsList---recordlist of save records
Thanks,
B.venkatesanI do not know for sure as to how to do this, but I found this on Adobe Cookbook
http://cookbooks.adobe.com/post_Import_Export_data_in_out_of_a_Datagrid_in_Flex-17223.html
http://code.google.com/p/as3xls/
http://stackoverflow.com/questions/1660172/how-to-export-a-datagrid-to-excel-file-in-flex
http://wiredwizard.blogspot.com/2009/04/nice-flex-export-to-excel-actionscript.html
This has a demo that works
http://code.google.com/p/flexspreadsheet/ -
Unexpected error when attempting to view Global Navigation (root site top navigation)
I am getting an “unexpected error” when attempting to view Navigation settings at the root site of our SharePoint environment. We are running SharePoint 2013 site collection in SharePoint 2010 compatibility mode. The error happens when you try
to view Global (Top-Level) Navigation Settings in our SharePoint root site.
(Relative URL: /_layouts/AreaNavigationSettings.aspx).
I copied the exact errors from SP Logs below. There is some null reference cited. Where is the root of the problem? Any information would be helpful!
First, there is a general “Medium” level event that cites an Application Error
Time:
06/10/2014 11:42:01.96
Process:
w3wp.exe (0x2538)
Thread (Hex):
0x1930
Product:
SharePoint Foundation
Category:
General
EventID:
8nca
Level:
Medium
Correlation:
3194999c-3ebd-e089-7f01-acff58324051
Message:
Application error when access /_layouts/AreaNavigationSettings.aspx, Error=Object reference not set to an instance of an object.
at Microsoft.SharePoint.Publishing.PublishingPage.GetEffectivePageCacheProfileId(Boolean anonUserProfile)
at Microsoft.SharePoint.Publishing.CachedPage..ctor(PublishingPage page, SPListItem altItem, String id, String parentId, CachedUserResource title, String url, CachedUserResource description, CachedObjectFactory factory, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedPage.CreateCachedPage(PublishingPage page, SPListItem altItem, CachedObjectFactory factory, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedListItem.CreateCachedListItem(SPListItem item, SPListItem alternateItem, Boolean parentIsWeb, CachedObjectFactory factory, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateWrappedObject(SPListItem superUserVersion, SPListItem superReaderVersion, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedArea.GetChildForListByQuery(String listName, SPQuery query, SPWeb contextWeb, Boolean onlyPopulateCache, Boolean skipIfThrottled, List`1& itemsFetched)
at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.FetchDynamicItems(PublishingWeb pubWeb, NodeTypes includedTypes, Boolean& websFetched, Boolean& pagesFetched)
at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildrenInner(NodeTypes includedTypes)
at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildren(NodeTypes includedTypes)
at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, Boolean trimmingEnabled, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.AddChildrenToControl(String parentId, PortalSiteMapNode node, Int32 depth, Int32 maxDepth)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.InitializeNavigationEditSort()
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Then, there is the “Unexpected” level event that cites a NullReferenceException
Time: 6/10/2014 11:42:01.96
Process: w3wp.exe (0x2538)
Thread (Hex):
0x1930
Product:
SharePoint Foundation
Category: Runtime
EventID:
tkau
Level:
Unexpected
Correlation:
3194999c-3ebd-e089-7f01-acff58324051
Message:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.SharePoint.Publishing.PublishingPage.GetEffectivePageCacheProfileId(Boolean anonUserProfile)
at Microsoft.SharePoint.Publishing.CachedPage..ctor(PublishingPage page, SPListItem altItem, String id, String parentId, CachedUserResource title, String url, CachedUserResource description, CachedObjectFactory factory, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedPage.CreateCachedPage(PublishingPage page, SPListItem altItem, CachedObjectFactory factory, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedListItem.CreateCachedListItem(SPListItem item, SPListItem alternateItem, Boolean parentIsWeb, CachedObjectFactory factory, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateWrappedObject(SPListItem superUserVersion, SPListItem superReaderVersion, List`1& fieldInfo)
at Microsoft.SharePoint.Publishing.CachedArea.GetChildForListByQuery(String listName, SPQuery query, SPWeb contextWeb, Boolean onlyPopulateCache, Boolean skipIfThrottled, List`1& itemsFetched)
at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.FetchDynamicItems(PublishingWeb pubWeb, NodeTypes includedTypes, Boolean& websFetched, Boolean& pagesFetched)
at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildrenInner(NodeTypes includedTypes)
at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildren(NodeTypes includedTypes)
at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, Boolean trimmingEnabled, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.AddChildrenToControl(String parentId, PortalSiteMapNode node, Int32 depth, Int32 maxDepth)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.InitializeNavigationEditSort()
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Hi ,
According to your description, my understanding is that you encountered the error “Application error when access /_layouts/AreaNavigationSettings.aspx, Error=Object reference not set to an instance of an
object” when you try to enter Navigation Setting page.
For your issue , please refer to the blog:
http://praveenix.wordpress.com/category/uncategorized/
Thanks,
Eric
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]
Eric Tao
TechNet Community Support -
Internal error raised trying to instantiate web-application
Hello,
I have an application recently deployed with success in a dedicated OC4J, if you test everything seems working fine(the root jsp file is shown), however when i set datasource pool connections on data-sources.xml plus restart OC4J i get everytime an html 404 error code, if you restore the default data-sources.xml plus restart of the OC4J the jsp is shown again,
I tested the pools with the enterprise manager tool and it is working fine, when i get a look to log.xml i can see the error
Internal error raised tyring to instantiate web-application: xxxxxxxxx-xxxxx-0.0.1-XXXXXXXX defined in web site OC4J 10g (10.1.3) Default Web Site. null
anyone have some idea?
thanks in advanceRic,
Top sections are those libs existed in the original project, the bottom part are those new added libs
//Lib existed in the original project
JSP Run time
ADF Faces Databinding Runtime
ADF Controller Runtime
MDS Runtime
JSF 1.2
JSTL 1.2
ADF Faces Runtime 11
ADF Common Runtime
BC4J Tester
ADF Page Flow Runtime
MDS Runtime Dependencies
DVT Faces Runtime
DVT Faces Databinding Runtime
Servlet Runtime
Commons Beanutils v1.6.1
Commons logging 1.0.3
Oracle JEWT
JSTL 1.2 Tags
Oracle XML Parser v2
JDeveloper Runtime
SQLJ Runtime
ADF Model Runtime
BC4J Runtime
Oracle JDBC
Connection Manager
BC4J Oracle Domains
//Following is new added, whick are not included in original project
Deploy
Oracle ADF DataTag library Tag Libraries
Oracle BC4J DataTag library Tag Libraries
Trinidad Runtime 11
OC4J API
ADF Toplink Runtim
BC4J HTML
BC4JBC Runtime
Obsolete JDeveloper Extension SDK
BC4J Client
BC4J Service Client
BC4J Generic Domains
BC4J Extension
BC4J EJB Client
OJSP Tags
ADF Portlet Runtime
Portlet Runtime CLient
Port Runtime Dependenicis
Portlet Runtime Client WSRP Stubs
Customizable Components
ADF Faces Cache -
Unexpected error when trying to sign in to sync
Version 32.0.3 installed. I've been getting a message that Firefox unable to sync for the last **days So when i tried to log out of sync and log back in. I get an error "unexpected error" when i try to log in. So i tried to create a new account and get the same issue from the log in page. Have looked at everything listed on troubleshooting sync page Still the same issue.
HI mfackler,
That usually means something has gone wrong. If you have already tried to sign out and back in in accounts.firefox.com please provide the following troubleshooting information for further investigation:
* How do I turn on sync logs:
# Open about:config and turn on: services.sync.log.appender.file.logOnSuccess and services.sync.log.logger.engine.bookmarks
# Restart Firefox and look at: about:sync-log
# Logs and error messages will be located here
Please also use pastebin.mozilla.org for sharring any errors that relate to this issue.
Thank you. -
New Web Application not creating correctly
I'm having an odd occurrence happen about 50% of the time right now when creating new web applications during my migration from SP2010 to SP2013.
During creating a web application in Central Admin, I can get through the first setup page, then get to the "This shouldn't take long" page and will sit there for 30+ minutes. I end up closing the window and will see that the Web application is there in
Central admin, and sometimes the DB will be created, other times not, not a big issue since I'm mounting a sp2010 database to this web application.
What I do notice is that either a IIS site will either not be created at all, or it will be created, but the Virtual Folder is empty. When trying to delete the Web Application through central admin or PowerShell it will hang for hours until the next day
when it's finally deleted. During this time I am not able to create any other web applications. It's usually at this time that I can successfully create a new web applications but even that is unreliable.
Has anyone ran into this issue or can suggest any workarounds to get this working? I'm wondering if copying the contents of another web application's virtual directory to the failed web application's virtual directory will be a workaround. I still need to
verify if creating a web application through PowerShell gives me the same headache but at the moment I'm currently waiting for a web application to delete.Finally got this resolved after an 8 hour call with Microsoft. After finally getting the Microsoft SharePoint Foundation Web Application service to restart (took 4 hours) We found that changing the Shutdown time in the Web Application Pool for the Central
Admin pool to 400 allowed for the Web Application to complete successfully.
I'm still confused to why everything is taking so long now to complete so i'll have to look into that next.
Folks, this is a minor problem that seems to be creeping up more and more. I personally have performed over 8 installs in various environments. I have seen this issue in 6 out of the 8 environments I have created. All servers I have tried a variation of
software. In MOST of my tests, this seems to be a problem. Not sure why they decide to recycle the App Pool just before they perform an "Virtual Directory Copy." Here are the results of my tests. I was very methodical in my testing and made sure these were
clean downloads every time. As you will see, I tried variations of hardware increases, physical to virtual, database versions and patch levels...etc.
Test #
Hardware
Software
Server Type
Install Type
Problems Creating Web Apps
Work Around
Resolution
1
HP Proliant DL360 G6, 16gb memory, 146gb - C, 146gb D (Pagefile), 146gb E, 2 Quad Procs
Windows 2008R2 (All Patches), SQL 2012 w/SP1, SharePoint 2013 Server
Physical
Clean Install and downloads
Yes
Copy Contents of Central Admin Virtual Directory to new Web Application
Increase Shutdown time to 400
2
Host Server = Dell R900 256gb Mem, 146gb C, 300gb D (Pagefile), 2tb E, 4 Quad Procs; Virtual Guest =
100gb - C, 2 Logical Procs, 8gb memory
Windows 2008R2 (All Patches), SQL 2012, SharePoint 2013 Server
Virtual
Clean Install and downloads
Yes
Copy Contents of Central Admin Virtual Directory to new Web Application
Increase Shutdown time to 400
3
Host Server = Dell R900 256gb Mem, 146gb C, 300gb D (Pagefile), 2tb E, 4 Quad Procs; Virtual Guest =
100gb - C, 2 Logical Procs, 8gb memory
Windows 2008R2 (All Patches), SQL 2012 w/SP1, SharePoint 2013 Server
Virtual
Clean Install and downloads
No
4
Host Server = Dell R900 256gb Mem, 146gb C, 300gb D (Pagefile), 2tb E, 4 Quad Procs; Virtual Guest =
100gb - C, 2 Logical Procs, 8gb memory
Windows 2008R2 (All Patches), SQL 2012 w/SP1, SharePoint 2013 Server
Virtual
Clean Install and downloads
Yes
Copy Contents of Central Admin Virtual Directory to new Web Application
Increase Shutdown time to 400
5
Host Server = Dell R900 256gb Mem, 146gb C, 300gb D (Pagefile), 2tb E, 4 Quad Procs; Virtual Guest =
100gb - C, 4 Logical Procs, 16gb memory
Windows 2008R2 (All Patches), SQL 2008 R2 w/SP1, SharePoint 2013 Server
Virtual
Clean Install and downloads
Yes
Copy Contents of Central Admin Virtual Directory to new Web Application
Increase Shutdown time to 400
6
Host Server = Dell R900 256gb Mem, 146gb C, 300gb D (Pagefile), 2tb E, 4 Quad Procs; Virtual Guest =
100gb - C, 4 Logical Procs, 16gb memory
Windows 2008R2 (All Patches), SQL 2008 R2 w/SP2, SharePoint 2013 Server
Virtual
Clean Install and downloads
No
7
Host Server = Dell R900 256gb Mem, 146gb C, 300gb D (Pagefile), 2tb E, 4 Quad Procs; Virtual Guest =
100gb - C, 4 Logical Procs, 16gb memory
Windows 2008R2 (All Patches), SQL 2008 R2 w/SP2, SharePoint 2013 Server
Virtual
Clean Install and downloads
Yes
Copy Contents of Central Admin Virtual Directory to new Web Application
Increase Shutdown time to 400
8
Host Server = Dell R900 256gb Mem, 146gb C, 300gb D (Pagefile), 2tb E, 4 Quad Procs; Virtual Guest =
100gb - C, 4 Logical Procs, 32gb memory
Windows 2008R2 (All Patches), SQL 2008 R2 w/SP2, SharePoint 2013 Server
Virtual
Clean Install and downloads
Yes
Copy Contents of Central Admin Virtual Directory to new Web Application
Increase Shutdown time to 400 -
I am getting an unexpected error when trying to install iCloud on my PC
I am trying to install iCloud on my PC and new iPhone 4S, but when my PC says there is an "unexpected error" when installing.
Hi UniversityDesigner,
Welcome to the Community!
Please go through this thread: http://forums.adobe.com/message/5581753#5581753
Thanks!
Ankit
Maybe you are looking for
-
Time stamp to name a TDMS file
Hi: I am using data from excel files to create a time stamp, after that,my VI creates TDMS files with this data in files with 5000 samples, also I am using time stamp to named the TDMS files, but my problem is that my first file takes the name 180000
-
7.4.100.60 MR
7.4.100.0 had many HA issues. Today I saw that 7.4.100.60 was release but the release notes point to an upcoming 7.4.110.x realease. Does anyone have feedback on this Beta release. I know it's been available from TAC for a while and was just rele
-
How to open a FCP 5 project in FCP version 4.5
I need to open a project made i version 5 in a FCP version 4.5, is it possible?
-
I have read other messages on this board, but I still cannot get my m500 series Palm to sync with my 64-bit version of Windows 7. I have tried using XP mode, but my device was not recognized under the USB option on the virtual desktop toolbar. Same
-
How to save .jpg with jdk1.1.4?(help..)
HI... i know i can use following code to save .jpg with jdk1.4 by using following code: BufferedImage img; // your working image ImageIO.write(img, "jpg", new File("save.jpg")); or BufferedImage bimg = null; int w = img.getWidth(null); int h = img.ge