URGENT-Dynamic News Application. Dynamic Servlet Change method to POST
When I first logon to the Dynamic Servlet I get a form with USERNAME and PASSWORD and Categories and Subcategories to select with a "Create Profile" button. After enetering details I get the next html page which is the news detail page generated out of DynamicIE.xsl.
The Form generated in DynamicServlet uses a defaullt method of GET to submit. I want to change it to POST and did it in the code but it does not work. After I changege the method to POST and I click the "Create Profile" button the next HTML with news detial is not displyed, it just displays the same HTML. I checked the syntax of POST looks fine. I followed the code, when the form is submitted RequestHandler.java reads the params and populates the Category,Subcategory and Types vectors and then the function servlethandler.sendDynamicHTML is called which in turn calls the applyXSLtoXML function. In this whole process I do not see why the next form is not generated when the method is POST and why it is displayed when the method is GET.
I changed the methods to POST for the AdminServlet by making the changes in the Admin.xsl and it works fine.
It is really confusing me as the logic of the code should not have any effect with the form submission method. Any quick help will be appreciated.
We are passing the REQUEST_TYPE as part of the URL. If we use the POST method, those values are not able to catch from the java appalication. The servlet is written in such a way that based on different conditions we are displaying different pages. Since it is checking the value of REQUEST_TYPE there and not matching with the values, it ia again giving the same old page.
Similar Messages
-
Weblogic - deploying of the new application causes the change of the datasource config
Hi there,
The description of the issue is:
I have weblogic domain and some application deployed on it.
The config.xml for the domain contains following:
<jdbc-system-resource>
<name>Pool</name>
<target>myserver</target>
<deployment-order>1</deployment-order>
<descriptor-file-name>Pool-jdbc.xml</descriptor-file-name>
</jdbc-system-resource>
<jdbc-system-resource>
<name>JNDI</name>
<target>myserver</target>
<deployment-order>4</deployment-order>
<descriptor-file-name>JNDI-jdbc.xml</descriptor-file-name>
</jdbc-system-resource>
When I tried to deploy/undeploy another application (pretty much simple hello world from netbeans) on the same domain, I found that this part of config changes to:
<jdbc-system-resource>
<name>Pool</name>
<target>myserver</target>
<deployment-order>1</deployment-order>
<descriptor-file-name>jdbc/Pool-jdbc.xml</descriptor-file-name>
</jdbc-system-resource>
<jdbc-system-resource>
<name>JNDI</name>
<target>myserver</target>
<deployment-order>4</deployment-order>
<descriptor-file-name>jdbc/JNDI-jdbc.xml</descriptor-file-name>
</jdbc-system-resource>
So the path to the files changes by adding jdbc/ in the beginning.
And then first application fails to start as the path to datasource config has been changed therefore application cannot connect to the database.
Can anyone tell me why is this happening and how to avoid that? Is there any other configs, which might be affected by deploying another application?
Thank you,
Viktor OzerovHi Viktor,
As far as I know, the default path for JDBC datasources XML files is ${DOMAIN_HOME}/config/jdbc/, and paths to JDBC datasources in config.xml are added like this "jdbc/FILE.xml", so I think it's a normal behavior.
Have you relocated the datasources XML files from thier default location, or have you created them manually directly under ${DOMAIN_HOME}/config directory..?
Regards,
Mohab -
Copy an application with plugins into a new application and change theme...
I copied an application (theme 23) with plugins into a new application and then changed the theme to theme 26. After that, all plugins (skillbuilders super lov, skillbuilders modal, and notification plugin) didn't work at all. However, when I changed the theme back to the original theme, things worked.
I have applications that use theme 26 with plugins and they all work fine. I think the problem is related to copying one application, containing plugins, into a new application. Does anyone have any idea of it?
Thanks.Hi,
Most plugins have css,images or js files which can be placed on the server.
It might be that you have placed those files on the server in the theme directory.
If you change the theme then the plugin can not find those files any more.
Regards,
Kees Vlek
<tt>Company: http://www.orcado.nl
Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
Twitter: http://www.twitter.com/skier66</tt>
If the question is answered please change it to answered. -
Dynamic Servlet reload activation in Weblogic 6.0 using web applications
Dynamic Servlet reload activation in Weblogic 6.0 using web applications
Add the next lines to your web.xml file
<context-param>
<param-name>weblogic.httpd.servlet.reloadCheckSecs</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.servlet.classpath</param-name>
<param-value>C:/bea/wlserver6.0/config/myServer/applications/MyApp/WEB-INF/serverclasses</param-value>
</context-param>
Register your servlet on web.xml file.
<servlet>
<servlet-name>Test</servlet-name>
<servlet-class>Test</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Test</servlet-name>
<url-pattern>/Test/*</url-pattern>
</servlet-mapping>
<servlet>
Create a directory under WEB-INF called "serverclasses"
copy your servlet(also directories under serverclasses if your class has a package).
Don't forget to remove from \classes the same servlet class file.
I hope it could be helpfull for the community.
Regards
Dynamic Servlet reload activation in Weblogic 6.0 using web applications
Add the next lines to your web.xml file
<context-param>
<param-name>weblogic.httpd.servlet.reloadCheckSecs</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.servlet.classpath</param-name>
<param-value>C:/bea/wlserver6.0/config/myServer/applications/MyApp/WEB-INF/serverclasses</param-value>
</context-param>
Register your servlet on web.xml file.
<servlet>
<servlet-name>Test</servlet-name>
<servlet-class>Test</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Test</servlet-name>
<url-pattern>/Test/*</url-pattern>
</servlet-mapping>
<servlet>
Create a directory under WEB-INF called "serverclasses"
copy your servlet(also directories under serverclasses if your class has a package).
Don't forget to remove from \classes the same servlet class file.
I hope it could be helpfull for the community.
Regards
-
Hello friends,
Can any1 pls tell me if there is a function module available which can be used for dynamic column change in ALV.
Pls also elaborate how to use it.....While filling the field catalog you can specify witht IFcondition.
Just see a example below...
FORM field_fill USING pt_fieldcat TYPE slis_t_fieldcat_alv.
DATA : ls_fieldcat TYPE slis_fieldcat_alv,
pos TYPE i VALUE 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'C_ICON'.
ls_fieldcat-seltext_m = 'Change Status'.
ls_fieldcat-tabname = 'IT_OUTPUT'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'BUKRS'.
ls_fieldcat-ref_fieldname = 'BUKRS'.
ls_fieldcat-ref_tabname = 'ANLA'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'ANLN1'.
ls_fieldcat-ref_fieldname = 'ANLN1'.
ls_fieldcat-ref_tabname = 'ANLA'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'ANLN2'.
ls_fieldcat-ref_fieldname = 'ANLN2'.
ls_fieldcat-ref_tabname = 'ANLA'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
IF p_farea = 'X'. " Conditional Based OUTPUT
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'GRUFL'.
ls_fieldcat-ref_fieldname = 'GRUFL'.
ls_fieldcat-ref_tabname = 'ANLA'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'GRUFL_N'.
ls_fieldcat-seltext_l = 'New Floor Area'.
ls_fieldcat-tabname = 'IT_OUTPUT'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ENDIF.
IF p_ldate = 'X'. " Conditional Based OUTPUT
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'LEABG'.
ls_fieldcat-ref_fieldname = 'LEABG'.
ls_fieldcat-ref_tabname = 'ANLA'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'LEABG_N'.
ls_fieldcat-seltext_l = 'New Lease St.Date'.
ls_fieldcat-tabname = 'IT_OUTPUT'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ENDIF.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'MESSAGE'.
ls_fieldcat-seltext_l = 'Status Message'.
ls_fieldcat-tabname = 'IT_OUTPUT'.
APPEND ls_fieldcat TO pt_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ENDFORM. " field_fill
Regards
Gopi -
I am trying to deploy an ADF application to my trial instance of Java cloud, I am getting the following error:
2013-10-15 08:24:18 CDT: Deploy Application started
2013-10-15 08:24:19 CDT: weblogic.management.DeploymentException: [Deployer:149189]An attempt was made to execute the 'deploy' operation on an application named 'xyzAPP' that is not currently available. The application may have been created after non-dynamic configuration changes were activated. If so, the operation can not be performed until server is restarted so that the application will be available.
2013-10-15 08:24:19 CDT: WL action state: failed
2013-10-15 08:24:19 CDT: Action FAILED with WL action state: failed
2013-10-15 08:24:19 CDT: Check the server log of your Java cloud service for more info about the failure.
There are tutorials available for deploying your first ADF app to the cloud, which I followed carefully. Except for one thing, the ADF app was originally developed in Jdeveloper 11.1.2.4 and then migrated to 11.1.1.6. Could that be what is causing the problem? How can I try to troubleshoot this?Hi,
You will have to raise an sr towards the hosting team to perform the restart.
Kind regards,
Flori -
How to implement dynamic language change in all Components
Hi all,
I`m quite confused because i have app in wich i create Language object it is singleton made using abstract factory used for querying text to be shown in components. I has simple method:
public String getText(String fieldName) {}
Wich returns text. I have also config object to know what desired language i want to have on startup. But problem occurs when i want to set dynamic language change during app run so all containers gets its texts again using language object (which is another type now). Do You have some ideas ??
I thought about extending all JButtons,Frames,Labels etc... and adding method:
void setYourText(Language l) { this.setText(l.getText(// and here we have problem because all fields have unique arguments for getText
}I miss this thread.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44
This is almost the right solution for my problem. -
Whenever I try to download a new application, my parent's apple id shows up instead of mine which is on my computer. My mom doesn't want to put down her credit card information because I use gift cards. How do I change the ID on my ipod to my apple ID?
thank you so much lllaass. im an idiot for not finding that out.
-
How to create dynamic event handler methods?
Hello!
Is it possible to create dynamic event handler methods in the views of WDC and then subscribe to an event of another WD component completely dynamically.
Many thanks,
Smitha.By first realising AJAX is not Java but JavaScript and then reading a tutorial on JavaScript DOM manipulation and then by reading a tutorial on AJAX and then by applying your knowledge and then in the end by integrating it in your JSP.
-
Javascript event for Dynamic Layout change
I'm using javascript to create a customization for a client and I ran into the following problem:
- My code runs by replacing the window.load event, it always run when a page is loaded but it doesn't run when the dynamic layout changes.
Does anyone know which event I can customize so that it runs always??
The dynamic layout change is driven by the following internal code, but I can't make my code run after it:
sendGetAppletCmd('ServiceRequestEditForm.SR Type','OMTGT=ServiceRequestEditForm&OMTHD=ServiceRequestNewNav&OMRET0=ServiceRequestHomepage&OCTYPE=','-','DefaultServiceRequestInsert','ServiceRequestNewForm','ServiceRequestEditForm','\/OnDemand\/user\/DefServiceRequestInsert');For the benefit of others:
parent.document.onfocus did the trick. -
HT1491 How do I change my security questions in order to purchase new applications?
How do I change my secuirty questions? The ones that pop up when I am trying to purchase a new application. I don't
know the answers or remember setting them up.From a Kappy post
The Best Alternatives for Security Questions and Rescue Mail
1. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
2. Call Apple Support in your country: Customer Service: Contact Apple support.
3. Rescue email address and how to reset Apple ID security questions.
An alternative to using the security questions is to use 2-step verification:
Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID. -
Re: Syncing with new application - more info
David,
Let's eliminate the easy stuff first! ;-)
1. Double check your are modifying the correct file/directory. Do you see
other changes to application files, or is this just specific to portal?
2. Check you are sync'ing to the correct server and application.
3. Check using the Data Repository browser that your documents are ALL in
the Master Data Repository for the server. Use the context URL of the
DataSync WebApp for you application: e.g.
http://localhost:7501/p13nAppDataSync/index.html (for the P13N application)
4. Check the contents of the Portal Data Repository (using the browser) and
see if your changes are getting out to there.
5. Check the portal is entitled, visible, allowable etc.
I would be surprised if you have found a bug (but you never know!) , as the
system has had a fair bit of use by now. If after double checking your
configuration you still haven't found it please ZIP your *-project directory
and I will run a test here using SQL Server.
Sincerely,
Daniel Selman
"David Tsai" <[email protected]> wrote in message
news:[email protected]...
>
Daniel,
I'm experiencing the same problems as Heidi. I'm not sure whether thisissue was
ever resolved with Heidi.
Here are the specifics of my installation:
Weblogic Server 6.1 SP1
Weblogic Portal Server 4.0
MS SQL Server 7
EBCC 4.0
There are no exceptions when I run synchronization in EBCC. However, if Iadd a
portlet anything else on the XML, the new addition does not reflect in thePORTLET
table in my database.
Please Advice. Thanks in Advance.
Cheers,
Dave
"Daniel Selman" <[email protected]> wrote:
Heidi,
To reconfirm: are you saying that you modified this document in the EBCC
and
it did not get propogated to the server? Please double check that you
really
did modify that version of the document (not the version installed with
the
server, but the one installed with the EBCC).
FYI: you can force a sync of all documents (whether changed or not, but
using the "refresh-from-client" sync mode (called update all documents,
in
the EBCC sync properties).
If you continue to see this behavior please send us both documents(server
and client) and we will investigate.
Thanks,
Daniel Selman
"Heidi Wagner" <[email protected]> wrote in message
news:[email protected]...
Some more information:
When I check the database, the data_sync_item information has as
follows:
>>>
6059 2001 15 0 0 4293367840
/webapps/myapp/sampleapp_main.wf
13-MAR-02 13-MAR-02 14-MAR-02 14-MAR-02
<?xml version="1.0"?>
<webflow-configuration xmlns="http://www.bea.com/servers/
HWagner C:\Documents and Settings\HWagner en US America/Chicago
sampleapp_main.wf
C:\bea\ebcc4.0\applications\myapp\application-sync\webapps\myapp\sampleapp_m
ain.w
f
Yet, the file has not changed and my changes to the webflow are notreflected
on the application.
"Heidi Wagner" <[email protected]> wrote:
I'm trying to sync with a new application. I checked the error files
and there
are no errors, but i noticed that under
wlportal/applications/myApp-project/application-sync/webapps/myapp/sampleapp
_main.wf
has not been modified. Any reason why this did not happen? Am I
missing
some
sort of sync setting to pass in or otherwise?David,
I think you need WLP 4.0 SP1 - I believe this bug was fixed for SQL Server.
This will definitely explain why your changes aren't showing up after you
sync!
Thanks,
Daniel Selman
"David Tsai" <[email protected]> wrote in message
news:[email protected]...
>
Daniel,
I've double checked everything. Everything seems to be in order, thoughthis exception
shows up everytime I sync through command or EBCC. If you take a look atthe zip
file. The delegate has been set to the SQL server Generic JDBC Delegate.Do you
know what's ailing here?
<cr:rule xmlns:cr="http://w...
Creation date: 2002-04-15 18:21:11.061
Modification date: 2002-04-15 18:21:11.061
Metadata: com.bea.p13n.common.internal.MetadataImpl@1cb9e8
Name: Developer.ent
Description:D:\bea\ebcc4.0\applications\cingularApp\application-sync\entitlements\Global
Entitlements\Developer.ent
Author: dtsai C:\Documents and Settings\dtsai en US Asia/Calcutta
Version:
] - with embedded exception: [java.sql.SQLException:java.sql.SQLException: This
JDBC 2.0 method is not implemented]
atcom.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDat
aItem(JdbcDataSource.java:261)
atcom.bea.p13n.management.data.repository.persistence.JdbcPersistenceManager.c
reateDataItem(JdbcPersistenceManager.java:79)
atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.hand
leDataItemMessage(AbstractDataRepository.java:840)
atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDa
taSyncMessage(AbstractDataRepository.java:1016)
atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.exec
uteMessage(AbstractDataRepository.java:259)
atcom.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessa
ge(JvmCommunicationPipe.java:116)
atcom.bea.p13n.management.data.transport.servlets.DataSyncServlet.doPost(DataS
yncServlet.java:382)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2459)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Caused by: java.sql.SQLException: java.sql.SQLException: This JDBC 2.0method is
not implemented
atweblogic.jdbc.rmi.SerialPreparedStatement.setCharacterStream(SerialPreparedS
tatement.java:428)
at com.bea.p13n.util.jdbc.JdbcHelper._setClob(JdbcHelper.java:579)
at com.bea.p13n.util.jdbc.JdbcHelper.setClob(JdbcHelper.java:561)
at com.bea.p13n.util.jdbc.JdbcHelper._setClob(JdbcHelper.java:628)
at com.bea.p13n.util.jdbc.JdbcHelper.setClob(JdbcHelper.java:612)
atcom.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDat
aItem(JdbcDataSource.java:223)
atcom.bea.p13n.management.data.repository.persistence.JdbcPersistenceManager.c
reateDataItem(JdbcPersistenceManager.java:79)
atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.hand
leDataItemMessage(AbstractDataRepository.java:840)
atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDa
taSyncMessage(AbstractDataRepository.java:1016)
atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.exec
uteMessage(AbstractDataRepository.java:259)
atcom.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessa
ge(JvmCommunicationPipe.java:116)
atcom.bea.p13n.management.data.transport.servlets.DataSyncServlet.doPost(DataS
yncServlet.java:382)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2459)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Resource key "Corrective Action" not found for classcom.bea.commerce.tools.server.SynchronizationProgress.
null
"Daniel Selman" <[email protected]> wrote:
David,
Let's eliminate the easy stuff first! ;-)
1. Double check your are modifying the correct file/directory. Do you see
other changes to application files, or is this just specific to portal?
2. Check you are sync'ing to the correct server and application.
3. Check using the Data Repository browser that your documents are ALL in
the Master Data Repository for the server. Use the context URL of the
DataSync WebApp for you application: e.g.
http://localhost:7501/p13nAppDataSync/index.html (for the P13N
application)
>>
4. Check the contents of the Portal Data Repository (using the browser)
and
see if your changes are getting out to there.
5. Check the portal is entitled, visible, allowable etc.
I would be surprised if you have found a bug (but you never know!) , as
the
system has had a fair bit of use by now. If after double checking your
configuration you still haven't found it please ZIP your *-projectdirectory
and I will run a test here using SQL Server.
Sincerely,
Daniel Selman
"David Tsai" <[email protected]> wrote in message
news:[email protected]...
Daniel,
I'm experiencing the same problems as Heidi. I'm not sure whether thisissue was
ever resolved with Heidi.
Here are the specifics of my installation:
Weblogic Server 6.1 SP1
Weblogic Portal Server 4.0
MS SQL Server 7
EBCC 4.0
There are no exceptions when I run synchronization in EBCC. However,if I
add a
portlet anything else on the XML, the new addition does not reflect inthe
PORTLET
table in my database.
Please Advice. Thanks in Advance.
Cheers,
Dave
"Daniel Selman" <[email protected]> wrote:
Heidi,
To reconfirm: are you saying that you modified this document in the
EBCC
and
it did not get propogated to the server? Please double check that youreally
did modify that version of the document (not the version installed
with
the
server, but the one installed with the EBCC).
FYI: you can force a sync of all documents (whether changed or not,but
using the "refresh-from-client" sync mode (called update alldocuments,
in
the EBCC sync properties).
If you continue to see this behavior please send us both documents(server
and client) and we will investigate.
Thanks,
Daniel Selman
"Heidi Wagner" <[email protected]> wrote in message
news:[email protected]...
Some more information:
When I check the database, the data_sync_item information has as
follows:
6059 2001 15 0 0 4293367840
/webapps/myapp/sampleapp_main.wf
13-MAR-02 13-MAR-02 14-MAR-02 14-MAR-02
<?xml version="1.0"?>
<webflow-configuration xmlns="http://www.bea.com/servers/
HWagner C:\Documents and Settings\HWagner en US America/Chicago
sampleapp_main.wf
C:\bea\ebcc4.0\applications\myapp\application-sync\webapps\myapp\sampleapp
m
ain.w
f
Yet, the file has not changed and my changes to the webflow are notreflected
on the application.
"Heidi Wagner" <[email protected]> wrote:
I'm trying to sync with a new application. I checked the error
files
and there
are no errors, but i noticed that under
wlportal/applications/myApp-project/application-sync/webapps/myapp/samplea
p
p
_main.wf
has not been modified. Any reason why this did not happen? Am I
missing
some
sort of sync setting to pass in or otherwise? -
Opening a new application window in tab navigator
Hi All,
I am trying to open new application window in a new tab?
Is it possible to dynamically add children to a tabnavigator in Flex 3?
If Yes, can you provide an example?
Thanks!Hi Swati,
Your question is not clear to me.
If you want to add childs to TabNavigator here is the code:
var tabNavObject:TabNavigator = new TabNavigator();
var vBoxObject:VBox = new VBox();
vBoxObject.label = "Child 1";
tabNavObject.addChild(vBoxObject);
If you want to open new tab in browser here is the code:
var connection_request:URLRequest;
connection_request = new URLRequest("http://www.google.com"); // URL, or you can give your application path here.
connection_request.data = new URLVariables("param1=" + "Prashant"); // to pass any parameter to URL
connection_request.method = URLRequestMethod.POST; // setting method type
navigateToURL(connection_request); // this is standard function.
Thanks. -
Issue while creating a new application in Hypeiron Planning
Hi,
When I am trying to create a new application in Hyperion Planning - the below log is coming...
Planning server started fine in 4328 ms ( as shown in the below log) but once I click the finish button to create the new application its then I am facing with the issue and the same error is repeating in the Planning server..
but I could see the new application in EAS console - but when I cannot see the application in workspace or planning web..
When I restart the planning server - the same error is repeating - but when I delete the application from EAS and then RECONFIGURE Planning(database, instance and datasouce of planning )in shared services and restart the planning server the error is going of (most probably because all the old tables are being dropped in the database)
Please help me resolve the issue.
Planning server Log:
Mar 31, 2008 3:40:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8300
Mar 31, 2008 3:40:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 766 ms
Mar 31, 2008 3:40:24 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 31, 2008 3:40:24 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /HyperionPlanning from URL file
:G:\Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning
Creating rebind thread to RMI
Mar 31, 2008 3:40:29 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8300
Mar 31, 2008 3:40:29 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8302
Mar 31, 2008 3:40:29 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
Mar 31, 2008 3:40:29 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4328 ms
[INFO] AuthChallengeProcessor - basic authentication scheme selected
[INFO] AuthChallengeProcessor - basic authentication scheme selected
Setting Arbor path to: G:\Hyperion\common\EssbaseRTC\9.3.1
[INFO] AuthChallengeProcessor - basic authentication scheme selected
[INFO] AuthChallengeProcessor - basic authentication scheme selected
[INFO] AuthChallengeProcessor - basic authentication scheme selected
[INFO] AuthChallengeProcessor - basic authentication scheme selected
Connection to the datasource created successfully.
Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00942: table or
view does not exist
at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Error encountered with Database connection, recreating connections.
Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
RA-00942: table or view does not exist
Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00942: table or
view does not exist
at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Error encountered with Database connection, recreating connections.
Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
RA-00942: table or view does not exist
Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsis
tent datatypes: expected INTERVAL got NUMBER
at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Error encountered with Database connection, recreating connections.
Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
RA-00932: inconsistent datatypes: expected INTERVAL got NUMBER
software details:
EAS server is up and working fine
Hyperion planning 9.3.1
Oracle database 9.2.0.1.0
Regards,
RaviNow we have a new schema in place WITH a new username and password for oldb database-
this is the change in the datasouce configuration (USER NAME CHANGE)
Datasource name: newplan
Select Database: Oracle
Database details:
Sever: my database server ( say 10.301.222.320)
Port:1521
Product: PLANNING
database: oldb
username:HYPPLAN
password:***
when I use the above configuration: below is the error log
Apr 1, 2008 11:39:49 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8300
Apr 1, 2008 11:39:49 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 750 ms
Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /HyperionPlanning from URL file
:G:\Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning
Creating rebind thread to RMI
Apr 1, 2008 11:39:53 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8300
Apr 1, 2008 11:39:53 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8302
Apr 1, 2008 11:39:53 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Apr 1, 2008 11:39:53 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4656 ms
[INFO] AuthChallengeProcessor - basic authentication scheme selected
[INFO] AuthChallengeProcessor - basic authentication scheme selected
Setting Arbor path to: G:\Hyperion\common\EssbaseRTC\9.3.1
Connection to the datasource created successfully.
Error log starts here--------------------------------------
in cpp-Created Application:planone 0
Unable to create Analytical application. Exiting Application Creation.
Exception in Application Creation :Unable to create Analytical application. Exit
ing Application Creation.
java.lang.IllegalStateException: Unable to create Analytical application. Exitin
g Application Creation.
at com.hyperion.planning.HspManageApplication.createApp(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
(Unknown Source)
at HspCreateApp.Handle(Unknown Source)
at HspCreateApp.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: Create application failed.
at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
(Unknown Source)
at HspCreateApp.Handle(Unknown Source)
at HspCreateApp.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Unknown Source)
the error I am getting in appwizard - "error occured while creating application - please check the log"
and if I am using the same schema - i.e. same userid and database for both planning system and planning application I was getting the previous error
Regards,
Ravi -
How to open a file (*.html,*.pdf) in new browser using servlet
Dear Friends,
I am having some files (*.html,*.pdf) in local drive , im getting the path whichy includes dir name + file dynamically, im using the following code
response.sendRedirect(response.encodeRedirectURL(file))
this is displaying the file in same window, now i want open in new window is there any method except java script like window.open("URL");
Thanks in advance....
ThangavelHi Balu !
Thanks for u r reply ,
this is html code ok
<a onclick="view()" >View </a>
im callinig view function in java script
function view()
window.document.formname.submit()
so it will submit the action URL which given in form ok
filename contains full path ok
in server side im sending as i told previously encoderURL(file) ok
but im given target="_blank" as per ur suggestion in anger tag like
<a target="_balnk" onclick="view()" >View </a> tag
it is opening in new window the content which is displaying in jsp but not file
pls give ur valueable suggestion .....
Thanks in advance...
Thangavel
Maybe you are looking for
-
Acrobat adds a small graphic element when converting a Visio diagram
I have multi-page Visio diagram (Visio Professional 2003) that I am trying to convert to PDF (Acrobat 3D Version 8) for distribution. I have shapes that link to pages and those links seem to be converting properly, the bookmarks generate properly, an
-
The top of the Bookmarks menu now only contains "Bookmark this page" and "Show all bookmarks". I'm running Firefox 4.0.1 on Windows XP.
-
String Pixel Length in 1.1
I'm writing an applet the wants to run on IE without plugins. That means that I have to use 1.1. I want to draw a series of strings and need to know where each ends so I can position the next one. None of the methods for this in 1.2 are available to
-
Trash wont appear in mail only archive
I have recently bought an Ipad mini a month ago and i have been deleting emails on my Ipad but suddenly one day when i went in the trash icon that appears at the top right corner of the email now changed to archive even though I dont have Gmail I onl
-
Help!!! Adobe on their website states that flash player is available on nokia n9. However I contacted nokia and they say nokia n9 doesn't support adobe flash player. Who do I believe? and where can I go to find out please? thank you