Web App CSV Export Puts Everything into 1 Column in Numbers 3.0
Hi
Anyone have this issue before where the new Numbers by Apple, takes the web app export CSV and throws all data into one column? It displays the Template downloads just fine. Just not the Exports for Web App Items.
Any tricks?
Teejay
Oh and the reason likely that has happened because if you do some HTML structures in the content it breaks the import/export process a bit.
Similar Messages
-
Can somebody please advise urgently...
I backed up my entire hard-drive of my macbook pro - just prior to installing osx mountain lion.
I put everything into a folder on my desktop - then backed it up onto an external drive. Once this was done - i deleted the folder off my desktop - and following this - things started to go all weird...pages hanging, the coloured 'wheel of death' appeared for ages. So i had to employ a 'hard-boot' restart - as i had not other options.
I'm pretty sure i made copies of of files/apps/folders etc - however not so sure now as i cant even start up my laptop!!!
Can somebosy please help me urgently??!!!Got the exact same problem, and I also did this operation many times before, from 500Gb to 750Gb, and then from 750Gb to 1 Gb. Not My HD got a little such complaining about bad sectors when in windows bootcamp, but still runs fine though.
So I bought a new 1Gb drive exactly same drive as the one thats getting sick. I did the clone thing, with super duper, CCC, DU, but no matter it will not boot when i move the new drive inside the macbook…….**** thing exuse me, but wasted so much time.
Now I get this strange feeling that something must have changed in the macbook itself. Just wondering if this could be a EFI "mac bios" prevention thing, they made just to sell more new computers, when you can't improve or fix your old one.
If so, then its pretty scary. If not then I simply can't figure out why this suddenly becomes a problem for so many people, as I see so many posts about this!!
BR Pete -
REP-1425 report formula DO_SQL error putting value into column
Hi all
I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
rep-1425 report formula DO_SQL error putting value
into column. Column may not be referenced by parameter
triggers
appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
COMMIT;
RETURN('');
I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
Thanks.
Therese Hughes
Forest Products CommisionHi again
The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
Properties prop = System.getProperties();
prop.put("http.proxyHost","yourProxyServer");
prop.put("http.proxyPort","youProxyServerPort");
I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
Cheers
Tino
Here there mail I set up before I found that restarting Report Builder helped:
Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
popping up, but instantly and not after 10 seconds like before:
My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
be the correct syntax:
public Float getRate(String country1, String country2) throws Exception
Float returnVal = null;
Properties prop = System.getProperties();
prop.put("http.proxyHost","proxy.ch.oracle.com");
prop.put("http.proxyPort","8080");
URL endpointURL = new URL(endpoint);
Call call = new Call();
I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
"proxyy.ch.oracle.com", they fail.
After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
proxy or whether there is another problem after passing the firewall....
------------------------------------------------------------------------------------------------------------- -
I used to have my emails at home look exactly like my govt outlook emails. Somehow I changed it on my home computer to using Outlook Web App and I hate it. It's slower, totally foreign to me and I get many error messages. I would like to sign in with my BC govt. username/password and have it look exactly like it does at the office. I tried for weeks to get it back but I don't know how. Please help me. I log into https:\\[email protected] for my govt website.
Thank you.
Marlene Reichert
[email protected]Microsoft Office Outlook does not run inside the browser. If you have it installed on your home computer, you should be able to find it on the Windows Start menu and run it from there. If you were previously remote controlling your work computer, you probably need to work with your IT on getting that set up again if it stopped working.
-
Weblogic 10.1 web apps merge log4j log files into single log file
Hi
I have deployed multiple web applications on my weblogic (v 10.1 - JDK 1.5.0_12). I am using log4j-1.2.13.jar in a four different web applications.
The location for the files are - WEB-INF\lib\log4j-1.3.13.jar and WEB-INF\classes\log4j.properties
When I deployed all the four webapps in weblogic - we found that all of the apps started writing their logs into the logfile which is configured in the log4j of the first web apps log file. The "first web app" is the web app which is the first app deployed in weblogic.
I have deployed all the four webapps in Tomcat and found that four separate log files get created. Hence, this problem is unique to Weblogic.
Any suggestions on what the problem could be? I have been battling with this issue for over a week- and have exhausted all ideas.
Thank you,
Ronak S.Hi ,
Read all about your issue here :
Weblogic 10.0 and Log4j classpath problem
Issue is that the Weblogic system classloader includes log4J already..
Use "Filtering ClassLoader" a mechanism to configure deployment descriptors to explicitly specify that certain packages should always be loaded from the application, rather than being loaded by the system classloader.
see: http://e-docs.bea.com/wls/docs100/programming/classloading.html#wp1097187
Example:
Add following to your META-INF/weblogic-application.xml
<prefer-application-packages>
<package-name>org.apache.log4j.*</package-name>
</prefer-application-packages>
Exclude all library packages used within your applcation to have full control over what is used by the application.
regards,
Kris -
Web App Designer Export to Excel - Issue
Hi Gurus,
I was able to sucessfully configure export to excel feature in WAD. However the issue we are encountering is, we have a button which runs a script function, this manupulates data in some columns of the report. So when I perform export to excel after the script function is excuted, the export gets the old state of data and not the data after the script function is run. Is there are way to fix this issue. Please advise.
Thanks Again!Dear Customer,
WYSIWYG (What You See Is What You Get) is not supported on Export to Excel.
If you are using some script AFTER data comes to screen, you will NOT see the effects on Excel.
This is documented in the note:
1178857 - Additional information: Export to Excel functions
" Layout
o Currently WYSIWYG export is not supported.
Sorry to not provide a better solution.
Best regards,
Edward John -
Can anyone help with this? I've exported the address book, but all the information does not appear. I've expanded out the columns but still don't get the home address.
Also, formatting is an issue with phone numbers. Not all phone numbers were entered the same way in the Address Book. Is there a way to change the entire column with a particular cell format?Oh, I meant Leopard does do more than Tiger Server.
I don't know enough about Server, even less abut Syncing.
SL is to new, not enough time to iron out the kinks yet imho.
One day SL will be better than Leo, but...
I'd ask over in server...
http://discussions.apple.com/category.jspa?categoryID=96
Or perhaps Collaboration Services...
http://discussions.apple.com/forum.jspa?forumID=1352
They may even have a different opinion on SL. -
Hello,
I am working on knowledge base entries for developing Web Applications with Sun ONE Studio. I would be interested in whether any of the following are helpful.
Also, are there other entries you think should be added? Other comments? Corrections?
Thanks
Web Apps FAQ
Creating a Web Application
Q: Where do I put my JSP files in my web module.
A: JSP files can go into the web module's document base directory or any
of its subdirectories except for the subdirectories under WEB-INF. For example,
the following is correct:
correctWebModStructure
+ login.jsp
++ JSP_files
+++ shop.jsp
+ WEB-INF
++ Classes
++ lib
++ web.xml
The following is incorrect:
incorrectWebModStructure
+ WEB-INF
++ login.jsp
++ JSP_files
+++ shop.jsp
++ Classes
++ lib
++ web.xml
Note that with the incorrect structure, the JSP files will compile but
they will not run on a server.
Q: Where should I put my servlet source and binary files when I create
and execute a web module from the IDE?
A: Your compiled classes must go in the appropriate package directory
under <web mod document root>/WEB-INF/Classes. The easiest place to
put the source code is in the same directory as the compiled class. To
put your source code in a different directory, see "Can I put my source code in
a different directory from WEB-INF/classes?"
Note that when a class is imported by another class or by a JSP file, the
class MUST be in a named namespace (package).
Q: Where do I put my libraries (JAR files) in a web module?
A: You can put the libraries in one of several places:
o If the JAR file will be used only by the module, put it in the
WEB-INF/lib directory.
o If the JAR file will be shared by multiple web modules look at the server's
documentation to find out how to make the library available across web
modules.
- If you are using the Sun One Application server, you can either copy
the JAR into the <instance_dir>/lib directory (such as
<AppServerInstallDir>\domains\domain1\server1\lib) or edit the
classpath-suffix attribute of the java-config element in the
server.xml file. For details about server.xml, see the Sun ONE Application
Server Administrator�s Configuration File Reference. You must
restart the server.
- If you are using the internal Tomcat server, put the JAR file into one of
the following directories:
<ide-install-dir>/jwsdp/lib/
<ide-install-dir>/jwsdp/common/classes
<ide-install-dir>/jwsdp/common/lib/
<ide-install-dir>jwsdp/shared/classes
<ide-install-dir>/jwsdp/shared/lib/
Note that for compilation, a JAR file must either be mounted as as an
archive file or the JAR file must be put into <ide-install-dir>\lib\ext.
When you add a JAR file to WEB-INF/lib directory tree, the IDE mounts
the JAR file for you automatically.
Q: Can I put my source code in a different directory from WEB-INF/classes?
A: Yes. For example, say you have a directory structure as follows:
myWebApp
+ WEB-INF
++ Classes
+++ myPkg
+ src
++ myPkg
1. In the Filesystems tab, mount myWebApp and separately mount src.
The Explorer should look like this:
<path>/myWebApp
<path>/myWebApp: /WEB-INF/classes <-IDE automatically mounts this
<path>/src
2. Open Tools > Options > Building > External Compilation and select this Target:
<path>/myWebApp: /WEB-INF/classes
(By default, this setting is project wide, if you click the >> column, you
can set it at the user or default level.)
3. Whenever you create a Java file under /WEB-INF/classes, the IDE automatically
adds a servlet entry and a mapping in the web.xml. Because you are putting
your source elsewhere, you will have to enter these entries manually, or do
the following.
1. Right-click the web.xml node, and choose Properties.
2. In the Deployment panel of the web.xml properties window,
click the ellipses (...) in the Servlets value field to display
the Servlets Property editor.
In Servlets Property editor, click Add to display the Add Servlet dialog box.
In the Add Servlet dialog box, type, or browse for, the servlet class name.
Type in the name by which you want to identify the servlet.
3. Click the Edit button for Mappings and add the mapping for the servlet.
4. Click OK to close the Add Servlet dialog box, then click OK to close
the Servlets property editor.
Note: If you don't add the web.xml entries, you might get an error like the
following:
"The requested object does not exist on this server.
The link you followed is either outdated, inaccurate,
or the server has been instructed not to let you have it.
Please inform the site administrator of the referring page."
Q: Why do I get invalid package name when I try to add a package to my
web module.
You have two options for creating packages in a web module.
1. Create a package in a subdirectory of WEB-INF/classes.
2. Create a package in a directory that is not in the WEB-INF tree and
put the compiled class in the WEB-INF tree. For example, if you have the
following directory structure, set the compilation target to WEB-INF/classes.
myWebMod
+ src
++ pkg1
+ WEB-INF
++ classes
+++ pkg1
++ lib
In either case, the WEB-INF/classes directory must be mounted. The IDE
does this automatically when you create a web module or turn a directory
into a web module.
To set the compilation target, choose Tools > Options > Building >
External Compilation and select the target. In this example, you would
select:
<path>/myWebMod: /WEB-INF/classes
Do not use a directory structure like this:
myWebMod
+ WEB-INF
++ src << wrong
++ classes
You can alternatively keep your source code in the appropriate package
directory under WEB-INF/classes.
Editing JSP Files
Q: JSP code completion does not work now that I use the Jakarta recommended
directory structure and use Ant to build and deploy my web applications? Can
I fix this?
To make code completion work, you must mount the following libraries and
directories in the Filesystems tab of the Explorer window. Mounting a parent
directory does not work.
* <working-directory>/src
* <working-directory>/build
* Every .jar file that is copied by the build script to
<working-directory>/build/WEB-INF/lib. (The IDE automatically mounts
all the jar files in WEB-INF/lib when you mount working-directory/build.)
* Any other libraries that are used by the web application, such as
libraries that have been deployed to the server.
Deploying a Web Application
Q: Can I change the URL that is used to execute a JSP page? For example,
instead of http://localhost/welcome.jsp, can I have the URL be
http://localhost/shopping/welcome.jsp?
A: Yes, right-click on the WEB-INF and choose Properties from the contextual
menu. In the Properties window, type /<name>. For example, type
/shopping
Note that youu can use servlet mappings in the web.xml file to control the
mappings of URLs to servlets.
Q: Is there a way to copy the compiled code to the server for testing
without having to create a WAR file?
A: Yes, this is the default action when you right-click the WEB-INF
node and choose Deploy from the contextual menu.
With Internal and External Tomcat installations, the deploy action causes
the IDE to change the server's configuration file to add a context entry,
which points to the document root of your working version of the web
application. For example
/myApp -> C:\My Working Directory\myApp
When you deploy to the Sun ONE application server using the IDE's Deploy
action, the IDE copies the web application's directory structure to
the server's <instance>/applications/j2ee-modules directory.
Q: How do I create a WAR file and deploy the WAR file onto different servers.
A: To create a WAR file, right click the WEB-INF node and choose Export WAR
file. See the online help for details about adding and filtering out
components.
Look at the server's documentation to find out how to deploy the WAR file
to the server. Here is an example of deploying a WAR file to the Sun ONE
Application Server 7:
asadmin deploy user myusername password mypassword \
-host localhost port 4848 type web contextroot /myApp instance server1 \
c:\apps\myapp.war
Note that when you deploy to a server that is registered with the IDE,
you do not need to create a WAR file. Instead, you can right-click on the
WEB-INF node and choose Deploy.
Compiling a Web Application
Q: Why do I get compiler errors when I compile from the IDE even though
I don't get errors when I compile from the command line?
As the IDE's classpath is derived from the mounted filesystems, the problem
is most likely caused by not mounting the necessary filesystems. For the
following web app, you must mount in the Explorer AWebApp, WEB-INF/classes
(this directory is mounted automatically when you create a web app or
turn a directory into a web app), and every JAR file in the WEB-INF/lib
directory (which is also done automatically). Note that all classes and
JAR files that the application needs must be in AWebApp/WEB-INF or
AWebApp/lib or the server's location for shared libraries and classes.
Otherwise, the module may compile but it won't run in the server.
AllMyWebApps
+ AWebApp
++ WEB-INF
+++ classes
+++ lib
++++ a.jar
++++ b.jar
Q: Why do I get a "cannot resolve symbol" compiler error message for my JSP.
A: Check the import statements in your JSP file. The import statement must
specify the fully qualified class name (package name plus class), and the
class must be in a namespace. The namespace restriction is because the Javac
bytecode compiler in J2SE 1.4.0 is more strict than in previous
versions in enforcing compliance with the Java Language Specification,
and thus rejects import statements that import a type from an unnamed namespace.
Valid import statement:
<%@page import="org.alpha.beta.MyBean" %>
Also, make sure your compiled classes are in a subfolder of
<web-module>/WEB-INF/classes, such as, for the above bean,
<web-module>/WEB-INF/classes/org/alpha/beta/MyBean.class.
Note that you will also get this error if you have created a link under
WEB-INF/classes to a package in another directory. Your package must
physically exist in the WEB-INF/classes directory.
Q: Why do I get " '.' expected" when my JSP is compiled.
The Javac bytecode compiler in J2SE 1.4.0 is more strict than in previous
versions in enforcing compliance with the Java Language Specification, and
thus rejects import statements that import a type from an unnamed namespace.
For example, if you have an import statement like the following, the compiler
expects the imported class to be in a package. Therefore, the compiler
assumes that MyBean is a package and expects the package name to be followed
by a period (.) and either a subpackage or a class. To resolve the problem,
put the bean in a package.
INVALID IMPORT STATEMENT:
<%@page import="MyBean" %>
VALID IMPORT STATEMENT
<%@page import="MyPackage.MyBean" %>
Q: Why do I get a package does not exist error message when the package exists?
A: The problem might be that you have not mounted the web module at the
correct point. You must mount the directory that is directly above the WEB-INF
directory. For example, if you have the following directory structure
you must mount the webApp1 filesystem. When you specifically mount
webApp1, the IDE recognizes the filesystem as a web module. The IDE
automatically mounts WEB-INF/classes, so that it is in the IDE's classpath,
and provides the execute and deploy actions when you right-click on the
WEB-INF node:
allMyWebApps
+ webApp1
++ WEB-INF
+++ Classes
++++ myPkg
You can also get this error message when you do not put your Classes directory
under WEB-INF. For example, if you put the Classes directory in web-info, you
will get this error message.
You will get this error if you have created a link under WEB-INF/classes
to a package in another directory. Your package must physically exist in
the WEB-INF/classes directory.
Running Web Applications
Q: Why do I get the 404 error message "The requested resource is not available"?
Why do I get the error message "The requested object does not exist on
this server"?
A: If you get either of these errors on a servlet, check the servlet's entry
in the web.xml. The entry should be similar to the following:
<servlet>
<servlet-name>myServlet</servlet-name>
<servlet-class>org.alpha.beta.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myServlet</servlet-name>
<url-pattern>/MyServlet</url-pattern>
</servlet-mapping>
The name can be any name as long as it is the same in both mappings.
The class must be the fully qualified class name. The pattern
must be a pattern that matches the URI that invokes the servlet. In
this case, the pattern matches the URI http://localhost:8081/MyServlet.
Q: Why do I get a Generated Servlet error "Class not found."
A: This error can occur if the class is not in a package. To resolve the
problem, put the class in a package.
If the class is in a package and you still get this message,
check the import statements in your JSP file. The import statement must
specify the fully qualified class name (package name plus class).
For example:
<%@page "org.alpha.beta.CustomerBean" %>
Q: Why do I get the error message "Unable to load class" when my JSP calls
a class from a library?
This message usually appears because the library's JAR file is not in the
WEB-INF/lib directory. The server expects all of the web app's JAR files
to either be in the WEB-INF/lib directory or in the server's
shared library directory.
For more information, search for the "File Location in a Web Module" topic
in the online help.
Q: Why do I get an error message during JSP compilation that a tld file is not
found when the file is there?
A: The problem might be that you have not put the tld file in the correct
place. It should go in the WEB-INF directory.
This problem also happens if have not mounted the web module at the
correct point.
You must mount the directory that is directly above the WEB-INF directory. For
example, if you have the following directory structure you must mount the
myWebApp1 filesystem. When you specifically mount webApp1, the IDE recognizes
the filesystem as a web module. The IDE automatically mounts WEB-INF/classes,
which in turn adds the path to the IDE's classpath and provides the execute
and deploy actions when you right-click on the WEB-INF node:
allMyWebApps
+ webApp1
++ WEB-INF
+++ Classes
++++ myPkg
Another cause of the problem could be that the uri in your taglib statement
is incorrect. For example, this statement is wrong:
<%@ taglib uri="struts-html.tld" prefix="html" %> <- Incorrect
Instead, it should be:
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %> <- Correct
Q: Why do I get a java.lang.ClassNotFoundException when I run my JSP file?
Everything compiles successfully and the source editor does JSP code completion
for the class. However, when I execute, the runtime system can't find the new
classes.
A: There are several causes of this error. Here are some things to check.
1. If the class is in a library, make sure the JAR file is in the
WEB-INF/lib directory or the server's directory for shared libraries.
Otherwise, make sure the class is in a package under the WEB-INF/Classes
directory.
When compiling, the IDE builds the classpath from the mounted filesystems.
However, when you use the deploy action, the IDE only deploys the classes,
libraries, and files that are stored in the mounted web module.
2. Make sure all usebean statements use a fully qualified name for
the class name.
WRONG:
<jsp:useBean id="myBean" class="MyBean" scope="request" />
CORRECT:
<jsp:useBean id="myBean" class="org.alpha.beta.MyBean" scope="request" />
Q. Why am I getting a 500 Internal Server Error? My application compiled but
when I try to run it, I get an Internal Server Error.
A: There are several reasons for internal server errors. The "root cause" or
the "Exception" information can help to narrow in on the problem. Here are
some common causes:
a) One common reason is that the compiled classes are not in the right directory
or a required library (JAR file) is not in the WEB-INF/lib directory.
When you compile, the IDE uses the classpath to find the resources. However,
when you deploy an application, the application must strictly follow the
web module directory structure:
<document root directory>
+ JSP, HTML and other public files
+ WEB-INF
++ web.xml
++ <tld files>
++ classes
+++ <pkg 1>
+++ <pkg 2>
++ lib
+++ <.jar>
For more information, search for the "File Location in a Web Module" topic
in the online help.
b) If you are connecting to a database, make sure the driver is put in the
server's shared library directory or common library directory.
c) An error occurs when the server compiles the JSP into a servlet. For example,
the import or usebean statement is not using the fully qualified class
name for the bean. The following statements show an incorrect and a correct
import statement.
import="MyBean" << wrong
import="com.myCompany.MyBean" << correct
In this case, the "Exception" or "Root Cause" might be "Class <bean name> not
found in import."
Note that a bean must always be in a package. A bean cannot be put into the
WEB-INF/classes directory. Instead, it must be in a WEB-INF/classes
subdirectory.
Accessing Databases from Web Applications
Q: I put my database driver in WEB-INF/lib but I still can't access the
database. What do I do?
A: If your application performs queries or run statements through JDBC, then
putting the driver in WEB-INF is sufficient. However, if you are connecting to
the database through the server, you need to put the driver in the
server's shared library directory or the server's common library directory.
You must also set up a connection pool in the server.xml file. See the
documentation for your server on the specifics, as the details vary for
each server.Hello,
I am working on knowledge base entries for developing Web Applications with Sun ONE Studio. I would be interested in whether any of the following are helpful.
Also, are there other entries you think should be added? Other comments? Corrections?
Thanks
Web Apps FAQ
Creating a Web Application
Q: Where do I put my JSP files in my web module.
A: JSP files can go into the web module's document base directory or any
of its subdirectories except for the subdirectories under WEB-INF. For example,
the following is correct:
correctWebModStructure
+ login.jsp
++ JSP_files
+++ shop.jsp
+ WEB-INF
++ Classes
++ lib
++ web.xml
The following is incorrect:
incorrectWebModStructure
+ WEB-INF
++ login.jsp
++ JSP_files
+++ shop.jsp
++ Classes
++ lib
++ web.xml
Note that with the incorrect structure, the JSP files will compile but
they will not run on a server.
Q: Where should I put my servlet source and binary files when I create
and execute a web module from the IDE?
A: Your compiled classes must go in the appropriate package directory
under <web mod document root>/WEB-INF/Classes. The easiest place to
put the source code is in the same directory as the compiled class. To
put your source code in a different directory, see "Can I put my source code in
a different directory from WEB-INF/classes?"
Note that when a class is imported by another class or by a JSP file, the
class MUST be in a named namespace (package).
Q: Where do I put my libraries (JAR files) in a web module?
A: You can put the libraries in one of several places:
o If the JAR file will be used only by the module, put it in the
WEB-INF/lib directory.
o If the JAR file will be shared by multiple web modules look at the server's
documentation to find out how to make the library available across web
modules.
- If you are using the Sun One Application server, you can either copy
the JAR into the <instance_dir>/lib directory (such as
<AppServerInstallDir>\domains\domain1\server1\lib) or edit the
classpath-suffix attribute of the java-config element in the
server.xml file. For details about server.xml, see the Sun ONE Application
Server Administrator�s Configuration File Reference. You must
restart the server.
- If you are using the internal Tomcat server, put the JAR file into one of
the following directories:
<ide-install-dir>/jwsdp/lib/
<ide-install-dir>/jwsdp/common/classes
<ide-install-dir>/jwsdp/common/lib/
<ide-install-dir>jwsdp/shared/classes
<ide-install-dir>/jwsdp/shared/lib/
Note that for compilation, a JAR file must either be mounted as as an
archive file or the JAR file must be put into <ide-install-dir>\lib\ext.
When you add a JAR file to WEB-INF/lib directory tree, the IDE mounts
the JAR file for you automatically.
Q: Can I put my source code in a different directory from WEB-INF/classes?
A: Yes. For example, say you have a directory structure as follows:
myWebApp
+ WEB-INF
++ Classes
+++ myPkg
+ src
++ myPkg
1. In the Filesystems tab, mount myWebApp and separately mount src.
The Explorer should look like this:
<path>/myWebApp
<path>/myWebApp: /WEB-INF/classes <-IDE automatically mounts this
<path>/src
2. Open Tools > Options > Building > External Compilation and select this Target:
<path>/myWebApp: /WEB-INF/classes
(By default, this setting is project wide, if you click the >> column, you
can set it at the user or default level.)
3. Whenever you create a Java file under /WEB-INF/classes, the IDE automatically
adds a servlet entry and a mapping in the web.xml. Because you are putting
your source elsewhere, you will have to enter these entries manually, or do
the following.
1. Right-click the web.xml node, and choose Properties.
2. In the Deployment panel of the web.xml properties window,
click the ellipses (...) in the Servlets value field to display
the Servlets Property editor.
In Servlets Property editor, click Add to display the Add Servlet dialog box.
In the Add Servlet dialog box, type, or browse for, the servlet class name.
Type in the name by which you want to identify the servlet.
3. Click the Edit button for Mappings and add the mapping for the servlet.
4. Click OK to close the Add Servlet dialog box, then click OK to close
the Servlets property editor.
Note: If you don't add the web.xml entries, you might get an error like the
following:
"The requested object does not exist on this server.
The link you followed is either outdated, inaccurate,
or the server has been instructed not to let you have it.
Please inform the site administrator of the referring page."
Q: Why do I get invalid package name when I try to add a package to my
web module.
You have two options for creating packages in a web module.
1. Create a package in a subdirectory of WEB-INF/classes.
2. Create a package in a directory that is not in the WEB-INF tree and
put the compiled class in the WEB-INF tree. For example, if you have the
following directory structure, set the compilation target to WEB-INF/classes.
myWebMod
+ src
++ pkg1
+ WEB-INF
++ classes
+++ pkg1
++ lib
In either case, the WEB-INF/classes directory must be mounted. The IDE
does this automatically when you create a web module or turn a directory
into a web module.
To set the compilation target, choose Tools > Options > Building >
External Compilation and select the target. In this example, you would
select:
<path>/myWebMod: /WEB-INF/classes
Do not use a directory structure like this:
myWebMod
+ WEB-INF
++ src << wrong
++ classes
You can alternatively keep your source code in the appropriate package
directory under WEB-INF/classes.
Editing JSP Files
Q: JSP code completion does not work now that I use the Jakarta recommended
directory structure and use Ant to build and deploy my web applications? Can
I fix this?
To make code completion work, you must mount the following libraries and
directories in the Filesystems tab of the Explorer window. Mounting a parent
directory does not work.
* <working-directory>/src
* <working-directory>/build
* Every .jar file that is copied by the build script to
<working-directory>/build/WEB-INF/lib. (The IDE automatically mounts
all the jar files in WEB-INF/lib when you mount working-directory/build.)
* Any other libraries that are used by the web application, such as
libraries that have been deployed to the server.
Deploying a Web Application
Q: Can I change the URL that is used to execute a JSP page? For example,
instead of http://localhost/welcome.jsp, can I have the URL be
http://localhost/shopping/welcome.jsp?
A: Yes, right-click on the WEB-INF and choose Properties from the contextual
menu. In the Properties window, type /<name>. For example, type
/shopping
Note that youu can use servlet mappings in the web.xml file to control the
mappings of URLs to servlets.
Q: Is there a way to copy the compiled code to the server for testing
without having to create a WAR file?
A: Yes, this is the default action when you right-click the WEB-INF
node and choose Deploy from the contextual menu.
With Internal and External Tomcat installations, the deploy action causes
the IDE to change the server's configuration file to add a context entry,
which points to the document root of your working version of the web
application. For example
/myApp -> C:\My Working Directory\myApp
When you deploy to the Sun ONE application server using the IDE's Deploy
action, the IDE copies the web application's directory structure to
the server's <instance>/applications/j2ee-modules directory.
Q: How do I create a WAR file and deploy the WAR file onto different servers.
A: To create a WAR file, right click the WEB-INF node and choose Export WAR
file. See the online help for details about adding and filtering out
components.
Look at the server's documentation to find out how to deploy the WAR file
to the server. Here is an example of deploying a WAR file to the Sun ONE
Application Server 7:
asadmin deploy user myusername password mypassword \
-host localhost port 4848 type web contextroot /myApp instance server1 \
c:\apps\myapp.war
Note that when you deploy to a server that is registered with the IDE,
you do not need to create a WAR file. Instead, you can right-click on the
WEB-INF node and choose Deploy.
Compiling a Web Application
Q: Why do I get compiler errors when I compile from the IDE even though
I don't get errors when I compile from the command line?
As the IDE's classpath is derived from the mounted filesystems, the problem
is most likely caused by not mounting the necessary filesystems. For the
following web app, you must mount in the Explorer AWebApp, WEB-INF/classes
(this directory is mounted automatically when you create a web app or
turn a directory into a web app), and every JAR file in the WEB-INF/lib
directory (which is also done automatically). Note that all classes and
JAR files that the application needs must be in AWebApp/WEB-INF or
AWebApp/lib or the server's location for shared libraries and classes.
Otherwise, the module may compile but it won't run in the server.
AllMyWebApps
+ AWebApp
++ WEB-INF
+++ classes
+++ lib
++++ a.jar
++++ b.jar
Q: Why do I get a "cannot resolve symbol" compiler error message for my JSP.
A: Check the import statements in your JSP file. The import statement must
specify the fully qualified class name (package name plus class), and the
class must be in a namespace. The namespace restriction is because the Javac
bytecode compiler in J2SE 1.4.0 is more strict than in previous
versions in enforcing compliance with the Java Language Specification,
and thus rejects import statements that import a type from an unnamed namespace.
Valid import statement:
<%@page import="org.alpha.beta.MyBean" %>
Also, make sure your compiled classes are in a subfolder of
<web-module>/WEB-INF/classes, such as, for the above bean,
<web-module>/WEB-INF/classes/org/alpha/beta/MyBean.class.
Note that you will also get this error if you have created a link under
WEB-INF/classes to a package in another directory. Your package must
physically exist in the WEB-INF/classes directory.
Q: Why do I get " '.' expected" when my JSP is compiled.
The Javac bytecode compiler in J2SE 1.4.0 is more strict than in previous
versions in enforcing compliance with the Java Language Specification, and
thus rejects import statements that import a type from an unnamed namespace.
For example, if you have an import statement like the following, the compiler
expects the imported class to be in a package. Therefore, the compiler
assumes that MyBean is a package and expects the package name to be followed
by a period (.) and either a subpackage or a class. To resolve the problem,
put the bean in a package.
INVALID IMPORT STATEMENT:
<%@page import="MyBean" %>
VALID IMPORT STATEMENT
<%@page import="MyPackage.MyBean" %>
Q: Why do I get a package does not exist error message when the package exists?
A: The problem might be that you have not mounted the web module at the
correct point. You must mount the directory that is directly above the WEB-INF
directory. For example, if you have the following directory structure
you must mount the webApp1 filesystem. When you specifically mount
webApp1, the IDE recognizes the filesystem as a web module. The IDE
automatically mounts WEB-INF/classes, so that it is in the IDE's classpath,
and provides the execute and deploy actions when you right-click on the
WEB-INF node:
allMyWebApps
+ webApp1
++ WEB-INF
+++ Classes
++++ myPkg
You can also get this error message when you do not put your Classes directory
under WEB-INF. For example, if you put the Classes directory in web-info, you
will get this error message.
You will get this error if you have created a link under WEB-INF/classes
to a package in another directory. Your package must physically exist in
the WEB-INF/classes directory.
Running Web Applications
Q: Why do I get the 404 error message "The requested resource is not available"?
Why do I get the error message "The requested object does not exist on
this server"?
A: If you get either of these errors on a servlet, check the servlet's entry
in the web.xml. The entry should be similar to the following:
<servlet>
<servlet-name>myServlet</servlet-name>
<servlet-class>org.alpha.beta.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myServlet</servlet-name>
<url-pattern>/MyServlet</url-pattern>
</servlet-mapping>
The name can be any name as long as it is the same in both mappings.
The class must be the fully qualified class name. The pattern
must be a pattern that matches the URI that invokes the servlet. In
this case, the pattern matches the URI http://localhost:8081/MyServlet.
Q: Why do I get a Generated Servlet error "Class not found."
A: This error can occur if the class is not in a package. To resolve the
problem, put the class in a package.
If the class is in a package and you still get this message,
check the import statements in your JSP file. The import statement must
specify the fully qualified class name (package name plus class).
For example:
<%@page "org.alpha.beta.CustomerBean" %>
Q: Why do I get the error message "Unable to load class" when my JSP calls
a class from a library?
This message usually appears because the library's JAR file is not in the
WEB-INF/lib directory. The server expects all of the web app's JAR files
to either be in the WEB-INF/lib directory or in the server's
shared library directory.
For more information, search for the "File Location in a Web Module" topic
in the online help.
Q: Why do I get an error message during JSP compilation that a tld file is not
found when the file is there?
A: The problem might be that you have not put the tld file in the correct
place. It should go in the WEB-INF directory.
This problem also happens if have not mounted the web module at the
correct point.
You must mount the directory that is directly above the WEB-INF directory. For
example, if you have the following directory structure you must mount the
myWebApp1 filesystem. When you specifically mount webApp1, the IDE recognizes
the filesystem as a web module. The IDE automatically mounts WEB-INF/classes,
which in turn adds the path to the IDE's classpath and provides the execute
and deploy actions when you right-click on the WEB-INF node:
allMyWebApps
+ webApp1
++ WEB-INF
+++ Classes
++++ myPkg
Another cause of the problem could be that the uri in your taglib statement
is incorrect. For example, this statement is wrong:
<%@ taglib uri="struts-html.tld" prefix="html" %> <- Incorrect
Instead, it should be:
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %> <- Correct
Q: Why do I get a java.lang.ClassNotFoundException when I run my JSP file?
Everything compiles successfully and the source editor does JSP code completion
for the class. However, when I execute, the runtime system can't find the new
classes.
A: There are several causes of this error. Here are some things to check.
1. If the class is in a library, make sure the JAR file is in the
WEB-INF/lib directory or the server's directory for shared libraries.
Otherwise, make sure the class is in a package under the WEB-INF/Classes
directory.
When compiling, the IDE builds the classpath from the mounted filesystems.
However, when you use the deploy action, the IDE only deploys the classes,
libraries, and files that are stored in the mounted web module.
2. Make sure all usebean statements use a fully qualified name for
the class name.
WRONG:
<jsp:useBean id="myBean" class="MyBean" scope="request" />
CORRECT:
<jsp:useBean id="myBean" class="org.alpha.beta.MyBean" scope="request" />
Q. Why am I getting a 500 Internal Server Error? My application compiled but
when I try to run it, I get an Internal Server Error.
A: There are several reasons for internal server errors. The "root cause" or
the "Exception" information can help to narrow in on the problem. Here are
some common causes:
a) One common reason is that the compiled classes are not in the right directory
or a required library (JAR file) is not in the WEB-INF/lib directory.
When you compile, the IDE uses the classpath to find the resources. However,
when you deploy an application, the application must strictly follow the
web module directory structure:
<document root directory>
+ JSP, HTML and other public files
+ WEB-INF
++ web.xml
++ <tld files>
++ classes
+++ <pkg 1>
+++ <pkg 2>
++ lib
+++ <.jar>
For more information, search for the "File Location in a Web Module" topic
in the online help.
b) If you are connecting to a database, make sure the driver is put in the
server's shared library directory or common library directory.
c) An error occurs when the server compiles the JSP into a servlet. For example,
the import or usebean statement is not using the fully qualified class
name for the bean. The following statements show an incorrect and a correct
import statement.
import="MyBean" << wrong
import="com.myCompany.MyBean" << correct
In this case, the "Exception" or "Root Cause" might be "Class <bean name> not
found in import."
Note that a bean must always be in a package. A bean cannot be put into the
WEB-INF/classes directory. Instead, it must be in a WEB-INF/classes
subdirectory.
Accessing Databases from Web Applications
Q: I put my database driver in WEB-INF/lib but I still can't access the
database. What do I do?
A: If your application performs queries or run statements through JDBC, then
putting the driver in WEB-INF is sufficient. However, if you are connecting to
the database through the server, you need to put the driver in the
server's shared library directory or the server's common library directory.
You must also set up a connection pool in the server.xml file. See the
documentation for your server on the specifics, as the details vary for
each server. -
Error opening documents office web apps or creating new document
I have installed SharePoint 2013 with Office Web Apps 2013 using http.
Everything appears to be ok, but when I try to create a new document I get a an error: Microsoft ... Web App. Sorry, we ran into a problem. Please try again. However, the document is created.
When I try to open or preview an existing document I get an error: Microsoft ... Web App. Sorry, we couldn't open this ...
I only see one error on the WAC server. Error 8115
Could not contact WOPI End Point. Error details - 'Unauthorized url -
http://sharepoint.mydomain.local/_vti_bin/wopi.ashx/files/c40fa192cb8b46d08a94af5a2259a263?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTA4Mjk4NiIsImV4cCI6IjEzNzUxMTE3ODYiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImM0MGZhMTkyY2I4YjQ2ZDA4YTk0YWY1YTIyNTlhMjYzO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252EZg9uSpZ0OV6sl%252DqBKTUjJzwgZdrcjiP28Z%255FmmE4zcQm8K57QgQWktVyffC4tUtyhjDf9zoYhbMuHVaguzYWKxz6Luv83mrRmWsJIomqoUa9zN8Uexqlvt4U1IpJOfTpA774e4mbdPDD90agR33uZDQ2Je2c%255Fzu1UrL9EskqAp5niSFwvK838WLV%255FFlb8tL0cCuKNp8ZSeAxGmh4LVHI2T4ZyY0dEIoOMx1xRVXKu%255FdVl8cAlrxe4qcDRVfRwbeMUCDBWrepPaNDgEJfbAM1MhmKASqpAlsUlRv9XMTeDNtFRMfk49MicSYjBBdCa7bOYXxMa44O4UWoBvy%255FV0h3Few&access_token_ttl=1375111786325'.
Can somebody help me out?
Thanks. Frank.Hi Henrik,
Did this. From the client tried to preview an existing Word document. Again I got the error. Looked up the ULS log for that particular moment.
Please see below the result of the log at that time.
Regards,
Frank
07/31/2013 09:19:39.01 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:38.96, Original Level: Verbose] SQL connection time: 0.0734730252029238 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.01 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.01 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' Channel: 'Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract' Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue' MessageId: 'urn:uuid:119444a4-5ade-44a2-bb71-243d755a71e0' 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.04 w3wp.exe (0x1A28) 0x1570 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation). Parent No
07/31/2013 09:19:39.04 w3wp.exe (0x1A28) 0x1570 SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'net.pipe://sharepoint.mydomain.local/SecurityTokenServiceApplication/appsts.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue' MessageId: 'urn:uuid:119444a4-5ade-44a2-bb71-243d755a71e0' 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.06 w3wp.exe (0x1A28) 0x1570 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=7.76327717628917 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.06 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Application Authentication aiv3e High Self-issued token request for 'wopi/sharepoint.mydomain.local@c824f0b6-3030-475c-b673-f0ff1feed440' succeeded. 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.12 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:38.98, Original Level: Verbose] SQL connection time: 0.0709587391693637 585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.12 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=153.4379369445 585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.15 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:39.06, Original Level: Verbose] SQL connection time: 0.0662095322170835 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.15 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=101.429650975194 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.18 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 07/31/2013 09:19:39.15, Original Level: Verbose] SQL connection time: 0.0659301671022434 585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.18 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation General g3ql High [Forced due to logging gap, Original Level: Verbose] GetUriScheme(/Shared Documents/TEST DOCUMENT.docx) 585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.20 w3wp.exe (0x19C4) 0x1108 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://sharepoint.mydomain.local:80/_layouts/15/WopiFrame.aspx?sourcedoc=%2FShared%20Documents%2FTEST%20DOCUMENT%2Edocx&action=interactivepreview&wdSmallView=1)). Execution Time=331.520346859727 585c349c-ad68-0044-6a70-50f379362daf
07/31/2013 09:19:39.23 w3wp.exe (0x19C4) 0x1FD8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Microsoft.SharePoint.SPObjectSharingInformation.GetListItemSharingInformation). Execution Time=313.289258830382 585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.24 w3wp.exe (0x19C4) 0x0D04 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://sharepoint.mydomain.local:80/_vti_bin/client.svc/ProcessQuery)). Execution Time=557.430343800679 585c349c-fd5b-0044-6a70-507059bed6c2
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4...
07/31/2013 09:19:39.32* w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium ...uNWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046)). Parent No
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4uNWiWQ4QDw96lCQXDilzh 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Application Authentication Pipeline). Parent Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07... 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32* w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring nasq Medium ...RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4uNWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046) 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Application Authentication ajez0 High SPApplicationAuthenticationModule: Invalid token or signature. Exception: System.IdentityModel.Tokens.SecurityTokenException: Unsupported security token. at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.ReadTokenCore(String token, Boolean isActorToken) at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.TryExtractAndValidateToken(HttpContext httpContext, SPIncomingTokenContext& tokenContext) 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Application Authentication Pipeline). Execution Time=0.647847701313994 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Application Authentication ajezq High SPApplicationAuthenticationModule: Error authenticating request, Error details { Header: {0}, Body: {1} }. Available parameters: 3000006;reason="Token contains invalid signature.";category="invalid_client" {"error_description":"Unsupported security token."} . 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation General 8nca Medium Application error when access /_vti_bin/wopi.ashx, Error=Unsupported security token. at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.ReadTokenCore(String token, Boolean isActorToken) at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.TryExtractAndValidateToken(HttpContext httpContext, SPIncomingTokenContext& tokenContext) 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32 w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://sharepoint.mydomain.local:80/_vti_bin/wopi.ashx/files/f13c7a26721a46f0bd03fb67f6d4b0fc?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkdZa2RBc0tZRmM1NTFTbW9TSWE1Nk13VDUxWSJ9%252EeyJhdWQiOiJ3b3BpL3NoYXJlcG9pbnQudGVuZHJpc3NvbHV0aW9ucy5sb2NhbEBjODI0ZjBiNi0zMDMwLTQ3NWMtYjY3My1mMGZmMWZlZWQ0NDAiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDBAYzgyNGYwYjYtMzAzMC00NzVjLWI2NzMtZjBmZjFmZWVkNDQwIiwibmJmIjoiMTM3NTI1NTE3OSIsImV4cCI6IjEzNzUyODM5NzkiLCJuYW1laWQiOiIwIy53fHRlbmRyaXNzb2x1dGlvblxcZi5tdWxkZXIiLCJuaWkiOiJtaWNyb3NvZnQuc2hhcmVwb2ludCIsImlzdXNlciI6InRydWUiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImFwcGN0eCI6ImYxM2M3YTI2NzIxYTQ2ZjBiZDAzZmI2N2Y2ZDRiMGZjO2IyQUZmTGNKcXpMUFQvblk1RXkwN3pqdlJ2cz07RGVmYXVsdDs7N0ZGRkZGRkZGRkZGRkZGRiJ9%252En6l4u... 585c349c-0d84-0044-6a70-54627881dac8
07/31/2013 09:19:39.32* w3wp.exe (0x19C4) 0x129C SharePoint Foundation Monitoring b4ly Medium ...NWiWQ4QDw96lCQXDilzh8SNR2Mk273a5Mbv0XF%252DkrSLzU3g1K3Kym775qSgdeaDu6WBhSdE784mxDkdrDngarPV2s03Ag0BYBdaBR%255FGg99jnEcbzpMR%255Fah1yOAHrlI5wGRLM1xZEkSkkVle0laLXAdwpkkDMz2ktPsvcMSqo4HGlL09ZpoB2H%252DjVBF%252DHx1hVz9adtIJdanDgMPjZNm7vUAm2uu4smONjYm981naviSCqpEVFw7Y0GSnF4eSV7Avsbia1CAYI%252DR8J0hYIJjc7JdBrk3p9Z%255FQdp0icelRLD1ZU1sujmsKuDbCCI8Wi%255F29MbO2a7%252Dvqp5sUyDA0g&access_token_ttl=1375283979046)). Execution Time=6.40668017862605 585c349c-0d84-0044-6a70-54627881dac8 -
How to use iweb rss feed in an iphone web app?
So this is my dilemma. I wanted my iweb turned into a web app using the rss feed.
This is simply done cause of the "Add To Homescreen" feature.
While the RSS feed works beautifully on safari... it does not read as a webapp.
This surprised me cause I thought it would still be safari that would be loading my web app.
I tried everything to get my RSS feed to work in a web app but i failed miserably.
Is there a fix for this?Adding to the homescreen doesn't make it a webapp.
It creates a shortcut to the webpage, just as dragging a url to the desktop creates a .webloc file.
You want an iWeb "webapp"?
Add this page to the homescreen and then click that icon :
http://www.wyodor.net/_Demo/Fancy/Dynamic_Text.html
Then click the links in the dynamic textboxes.
I leave it to you to figure out how it's done. Hint : read the documentation.
To summarize : you want a fix for a problem that does not exist. -
Ssl and web app server: there's content which is not secure
Hello,
We have implemented ssl in our intranet site ( web front server, Web app server, sql server - everything ) .
Yet, In Https (and I.E) and document library , when I press the "..." , I get an warning: "only secure content is displayed" and the file preview doesn't show anything. If I select "show all content", the file preview shows
the file.
If I press "View in browser", I get the same message. If I press "show all content" I see the file, otherwise the file doesn't show.
Looking at the fiddler, it looks like some connections with the (sharepoint) application server aren't secured.
Sample unsecured http gets are:
http://ApplicationServer.mysite.gr/wv/ResReader.ashx?n=p1.img&WOPIsrc=http%3A%2F%Intranet%2Fsites%2FDNY%2F_vti_bin%2Fwopi.ashx%2Ffiles%2F42da77c08cd94b67a1c413ae39a71c58&access_token=eyJ0eBIgBigToken
http://ApplicationServer.mysite.com/wv/ResReader.ashx?n=p1.img&v=00000000-0000-0000-0000-000000000602&usid=5fae4f7f-d4d6-4a21-a465-2fe24ded9519&WOPIsrc=http%3A%2F%2FIntranetSite%2Fsites%2FDNY%2F_vti_bin%2Fwopi.ashx%2Ffiles%2F42da77c08cd94b67a1c413ae39a71c58&access_token=BIgBigToken
- this one is an image of the file.
Having these unsecure gets, I have problems accepting that the site is totally secured.
is the (sharepoint) application server the source of the problem?
Thank you
ChristosHi,
According to your post, my understanding is that you wanted to show all content after you implemented ssl in intranet site.
Please make sure you configure SSL correctly. You can refer to:
Configure SSL for SharePoint 2013
IE does provide an option which can be configured to automatically display all content, both secure and non-secure content, on web pages that come with mixed content.
You can display all mixed contents in IE to suppress and disable any warning message on secure and/or non-secure content.
More information:
How to Disable Only Secure Content is Displayed in IE (Always Show All Mixed Content)
Stop the "page contains secure and nonsecure items" warning
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Is there any way to set up a HTML web client for messages in the wikis?
I appreciate all those great steps you've already taken on your computer, blibman. I have good news! There's an easy way to disconnect registered devices on Verizon Messages. Please log into www.vzw.com/verizonmessages directly (instead of installing the desktop app) using your mobile number as the username. Once you've logged in, select the 3 horizontal lines on the right side of Compose New Message (similar to a Menu Key). Then select Settings followed by Manage Devices. Here you can disconnect devices registered from past attempts to install the desktop app.
While you're at the site, are you able to see your contacts names there? If you don't see your contact names in the web app then when you log into www.vzw.com/cloud, do you see all the contacts you're missing on Verizon Messages and are their numbers stored in the cell/mobile field instead of an alternate field like home or work?
JenniferH_VZW
Follow us on Twitter www.twitter.com/vzwsupport -
Taking a long time to export a report to PDF in web app
Hi,
I downloaded CR for Eclipse 2.0 to integrate a "Create PDF Report" option into our web application. The original .rpt files were created using CR 2008. I used the sample online code to do this:
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(REPORT_NAME, 0);
// .. set report params here..
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
I was able to successfully run this and generate a PDF output file, however the report takes over 2 minutes to complete, whether there were only 2 records or 75 records!
From CR 2008 on a Windows machine, the export to PDF option takes about 2 - 3 seconds for the exact same report.
Our web servers are very powerful Linux blade servers from Dell.
Why is there such a delay? Does it have to do with the licensed version versus the free version? Or is this just a limitation of being in a web app?
-MikeWe created a version of the same test report that only generates two PDF pages.It has cut the time down, but it still takes it about 16 seconds to open the .rpt file and another 6 seconds to export to PDF and write it out to a file. [Total of about 22 seconds.]
When we run the same report on CR2008 on a Windows laptop, it takes less than 1 second to load the .rpt file, under 1 second to generate the report and another 1 second to generate the PDF. [Total under 3 seconds.]
Our question still remains: Why is there a considerable time difference between CR2008 and CR4Eclipse [3 secs vs 22 secs] and is there anything we can do on the web app side to decrease the report output time?
Here are the "highlights" from the verbose logs (the full logs were about 32K). I tried showing where there were obvious time gaps. If there is a big time gap between statements separated by ".... " it was just doing it's regular work (evaluating functions, etc). If you provide me an email address I can send the complete logs as an attachment.
2009-09-04 16:18:32,212 DEBUGaction.TestReportsAction (?:?) - begin hub/TestReportsAction
2009-09-04 16:18:32,213 DEBUGaction.TestReportsAction (?:?) - 1-calling new ReportClientDocument();
2009-09-04 16:18:32,215 DEBUGaction.TestReportsAction (?:?) - 2-calling .open(REPORT_NAME
2009-09-04 16:18:33,193 INFO reportloading.saveddata (?:?) - FieldManager
2009-09-04 16:18:33,194 INFO reportloading.saveddata (?:?) - NDatabaseFields: 63
2009-09-04 16:18:33,195 INFO reportloading.saveddata (?:?) - Field: {INVOICE_HEADER_VIEW.INVOICE}, NBytesInField: 8, ValueType: number
2009-09-04 16:18:33,288 INFO reportloading.saveddata (?:?) - Field: {%Unit_Price}, NBytesInField: 131070, ValueType: string
2009-09-04 16:18:33,289 INFO reportloading.saveddata (?:?) - NOlapDimensionFields: 0
2009-09-04 16:18:33,289 INFO reportloading.saveddata (?:?) - NOlapGenerationFields: 0
2009-09-04 16:18:33,290 INFO reportloading.saveddata (?:?) - NULL Field
2009-09-04 16:18:37,141 INFO reportloading.saveddata (?:?) - FieldManager
2009-09-04 16:18:37,142 INFO reportloading.saveddata (?:?) - NDatabaseFields: 8
2009-09-04 16:18:37,177 INFO reportloading.saveddata (?:?) - NOlapGenerationFields: 0
2009-09-04 16:18:37,177 INFO reportloading.saveddata (?:?) - NULL Field
2009-09-04 16:18:39,333 INFO formulas.Compiler (?:?) - Formula {@Record_Selection} compiled.
2009-09-04 16:18:39,340 INFO formulas.Compiler (?:?) - Formula {@Saved_Data_Selection} compiled.
2009-09-04 16:18:47,868 INFO ReportCommand.SetReportDateCommand (?:?) - SetReportDateCommand,24667963,Exit perform,<document=ReportDocument:<report=main><reportPath=/webdata/webapps/tcmIS/reports/invoice_header_en.rpt>>;
2009-09-04 16:18:48,042 INFO formulas.Compiler (?:?) - Formula {@Invtest} compiled.
2009-09-04 16:18:48,045 INFO formulas.Compiler (?:?) - Formula {@Load column names} compiled.
2009-09-04 16:18:48,701 DEBUGaction.TestReportsAction (?:?) - opened report: /reports/invoice_header_en.rpt
2009-09-04 16:18:48,702 DEBUGaction.TestReportsAction (?:?) - 3-calling getParameterFieldController() - setting params
2009-09-04 16:18:48,792 DEBUGaction.TestReportsAction (?:?) - 4-calling export(ReportExportFormat.PDF);
2009-09-04 16:18:48,794 INFO reports.queryengine (?:?) - Connection logon:Database DLL=s(crdb_oracle.dll);PreQEServerName=s(tcmprod);Server=s(tcmprod);Tru
sted_Connection=b(false);Password=;User ID=s(sskidmore)
2009-09-04 16:18:48,812 INFO driverImpl.jdbc (?:?) - Connection Opened null
2009-09-04 16:18:48,829 INFO reports.queryengine (?:?) - Connection logon successfully
2009-09-04 16:18:48,835 INFO reports.dataengine (?:?) - Create new report state
2009-09-04 16:18:48,838 INFO reports.dataengine (?:?) - Need to recompile formulas, the number of formulas needed to recompile is 1
2009-09-04 16:18:55,202 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
2009-09-04 16:18:55,203 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-13} evaluated to: null
2009-09-04 16:18:55,302 INFO formatter.paginator (?:?) - Page 2 formatted.
2009-09-04 16:18:55,303 INFO lightmodel.FCMFormattedContentModeller (?:?) - FCM: modelling contents
2009-09-04 16:18:55,344 INFO lightmodel.FCMFormattedContentModeller (?:?) - FCM: modelling contents
2009-09-04 16:18:55,981 INFO formatter.paginator (?:?) - Moving to Page 3
2009-09-04 16:18:56,015 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
2009-09-04 16:18:56,016 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-12} evaluated to: null
2009-09-04 16:18:56,019 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
2009-09-04 16:18:56,020 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-13} evaluated to: null
2009-09-04 16:18:56,024 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-11} evaluated to: b(true)
2009-09-04 16:18:56,087 DEBUGaction.TestReportsAction (?:?) - exported report to stream
2009-09-04 16:18:56,089 INFO reports.basicdataengine (?:?) - Invalidating controller
2009-09-04 16:18:56,090 INFO reports.basicdataengine (?:?) - Invalidating controller
2009-09-04 16:18:56,091 INFO reports.basicdataengine (?:?) - Invalidating controller
2009-09-04 16:18:56,094 INFO reports.queryengine (?:?) - Connection logoffServer:
2009-09-04 16:18:56,095 INFO driverImpl.jdbc (?:?) - Connection Closed null
2009-09-04 16:18:56,185 DEBUGaction.TestReportsAction (?:?) - Successfully exported report to /webdata/html/reports/invoice_PGE_465.pdf
Edited by: Mike Najera on Sep 5, 2009 12:13 AM -
How to convert Web app into a channel?
To whom it may concern,
Does anyone know how to convert a Web app into a channel inside the Portal server 6.0?
I developed the web app and tried to create a provider and a channel for it, but the Portal server did not recognize the WEB-INF folder and give me errors saying that it couldn't locate the class files.
I also have a problem with URL inside my jsp page (channel).
For example, I have two jsp pages:
/etc/opt/SUNWps/desktop/default/MyCustomProvider/test1.jsp
/etc/opt/SUNWps/desktop/default/MyCustomProvider/test2.jsp
and when I try to put a link from test1.jsp to test2.jsp using
... and make a channel based on test1.jsp. The channel will display the link as "http://mydomain/portal/test2.jsp" and result in "Error: page not found". I want the link to point to
/etc/opt/SUNWps/desktop/default/MyCustomProvider/test2.jsp
To summarize my questions,
1) Where should the web app be located in the Portal server?
2) How to make a link inside one jsp page (channel) to point to another page inside the same folder?
Thank you in advanceHello Karthik,
I just tried to solve my problem with your suggestions, unfortunately, my JSP channel still doesn't work :(
The portal server keeps reporting "Server Error..." when I tried to add query at the end of the href.
Do you still have any other suggestions?
Thank you -
Dynamic column heading in csv export not working
Hi,
I have a SQL report where the column headings are defined dynamically. for an example let's say I have a report
SELECT NAME, TODAY'S_DATE FROM TABLE A.
Under report attribute column I have defined column heading as "&P_todays_date.”. This item has source value “Select sysdate from dual. When I export the data into csv file the dynamic column headings are coming as blank.
Any suggestions?
Thanks,
ManishYou are posting this question in the PeopleSoft forums. I think it belongs in the BI section:
https://forums.oracle.com/forums/category.jspa?categoryID=16
Maybe you are looking for
-
Multiple iTunes accessing the same songs on local network??
Hello all, I have imported all of our CD's into itunes on my computer. I would like for my wife and children to be able to access these songs and create their own playlists on their own computers from these songs. The kids have Windows Vista, and my
-
What are the prerequisites to setup an receiving incoming email in sharepoint
hi i am clear about the settings i need to setup in sharepoint side but i am not clear what settings are needed in exchange or active directory. my client IT team is asking me to tell , so can you please let me know what needs to be done in otherside
-
Is more security needed with no default getaway?
Hi! I have base only Arch installation for running one Linux compatible application on it. I wander with two questions. Do I need to configure through iptables command to get more security or it is unnecessary as I have no default getaway and have ro
-
Stuck with grub problem (SOLVED)
Today i tried to upgrade my Arch Linux, it downloaded everything that should be downloaded, it was installing upgrades but at the installing grub it stucks as like this "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg" I've waited it for a
-
2 Select lists do not change the value
Hi all, I am having a situation. I have 2 select lists . The second one is dependent of the first one. Data are retrieved perfectly. These select lists are done in page 0 and they are used in the referenced page. Apexlib is used in the page 0 When I