Implementing a c:import timeout
Is there a simple/standard method to cause c:import to time out after
a set # of seconds.
Specifically, I would like to throw an error if the import has not completed
in a resonable amount of time (in my case an external site is slow).
<c:catch var="err">
<c:import var="xml" url="${rssUrl}" />
<x:parse var="rss" xml="${xml}" />
</c:catch>
Many thanks.
Unless someone can offer an easier option, we're looking into
building the functionality with the following api.
http://jakarta.apache.org/commons/httpclient/
Similar Messages
-
The title says it all really. Was wondering if there's a simpler interface to implement which does not contain video or audio, but just a still frame image.
I don't care about exporting this format from Premiere, just being able to read a single frame or a sequence of frames to be used as footage.Hi Rotem,
A standard importer plug-in is the way to go for a still image importer. You could start from SDK_File_Import in the SDK. There is also a WebM plug-in on GitHub:
fnordware/AdobeWebM · GitHub -
How to implement web service client timeout
I'm trying to implement a web service client using JAX-RPC specification and the client is generated by clientgen utility. We are using weblogic8.1(sp5).
How do I control the connection timeout and data transmission timeout? I have tried:
BindingInfo.setTimeout() method and stub._setProperty("weblogic.webservice.rpc.timeoutsecs", "1" /* secs */);
and they don't seem to be working...
I have searched the web service documentation and didn't found any mentioning on this. Can someone shred some light on this?
Thanks.
Ren
nullHi,
I had a problem too for setting the timeout of a webservice client. but i didn't find any thing on this.
But there is a work around for this see if it suits you but for this you have to use Apache AXIS webservice api to generate the client in that Api you have the Stub.timeOut() function to over come this problem
Cheers !!
Vivek:-) -
Video Import Timeout Adjustment?
Is it possible to adjust the timeout value that iLife 08 uses when importing from video? I'm trying to import my entire video tape, but I'm having problems with iLife 08 stopping the import due to gaps that are just a little too long in between the recorded segments. iLife 08 stops importing after aprox 15seconds of unrecorded tape. I know I can manually import each segment, but I'd like to take advantage of iLifes capability to auto import the entire tape. Any hints would be appreciated!
vdubgeek wrote:
I'm surprised nobody has any ideas.
this is a user2user board... no Apple engineer here..
no, there's no pref to set iM to ignore such huuuuge gaps.
I had a look in the iM plist - even there, no manual setting.
.. Would upgrading to iLife 09 help with my video import issue?
No.
usually 'noise on tape' means 'end of recording' => end of import. -
BCC FlexUI big file import timeout.
Hi mates.
We are facing an issue with BCC when importing a big file with cross-shells. During the importing process for the file, the first screen is shown (Step 1 of 2) and, as the file takes long to be imported (2-3 minutes for a large number of assets), the second screen is never shown despite the process ends successfully. We are using Atg 10.0.3
Have you faced any similar problem? We have wrapped projectAssets.jsp with transaction marks, but it didn't work. Is there nay FlexUI time-out configuration we could set up to get the second screen even when the file takes long to import?
Thank you very much.
Regards.Hi Joel.
Thank you very much for your prompt response. We have monitored the process since the BCC user clicks on the Import button to make sure we haven't got the problem you are telling me. The importing process is finishing successfully in the back end after a couple of minutes, transaction timeout is set up properly in Weblogic to allow long running transactions in customer's environment so, we are not having connection timeouts. The thing is the callback to the FlexUI is missing, probably because the interface is listening for a callback only during a period of time lower than the time the file needs to be imported, thus, the interface doesn't update the state and hangs in Step 1 despite the importation has been done and it should reach the Step 2. We opened an SR about this case (3-6766177811) and they recommend us to apply a change to projectAssets.jsp, wraping it into a transaction. We've tested the change and it doesn't work, we are still facing the same issue when importing big files.
I am completely new with Flex, so, I don't know very much how this behaves. Is there any parameter related to a listener timer or something similar that could be set up in FlexUI to get call backs from long-running transactions?
Thank you very much for your support.
Kind Regards.
Felix Rodriguez. -
How implement logic for messsage timeout / "time to live"
Hi all!
I have a scenario where it is critical that a message will be delivered before a given deadline and if not (e.g due to target system being unavalable) the message must be discared and an alert raised. The timeout logic must be processed as late as possible in the pipeline to be accurate (e.g. in the adapter / delivery logic).
Is there standard functionality available for this in PI/XI or is a custom adapter module needed?
In the latter case could you point me to some resources / sample code for custom module development.
Points will be awarded for helpful answers.
Best regards,
ChristianHi
If you are using ccBPM deadline branch can be utilized for this purpose.
Otherwise i don't this this is possible.
rgds,
Arun -
Hello,
i cannot import a manifest:
stdi001.AE[root]# svccfg import manifest.xml
svccfg: Temporary service "TEMP/site/application/xxx" must be deleted before this manifest can be imported.
svccfg: Import of manifest.xml failed. Progress:
svccfg: Service "site/application/xxx": not reached.
svccfg: Instance "default": not reached.
If i try to the service-manifest nothing happends.
stdi001.AE[root]# svccfg delete TEMP/site/application/tdist
stdi001.AE[root]# echo $?
0
What else can i do?
Thank you, Regards
DanielI am doing an inetconv -i "someFile" command and
receiving the follow messages:
svccfg: Temporary service "TEMP/network/blah/blah"
must be deleted before this manifest can be
imported.
svccfg: Import of /var/svc/manifest/network/blah.xml
failed.
svccfg: Service "network/blah/blah": not reached.
svccfg: Instance "default": not reached.
Method "start" exited with status 0
Executing start method
("/lib/svc/method/manifest-import")
Timeout override by svc.startd Using infinite
timeout
Is this telling me that the service already existed?
Where is the location of TEMP, so I can delete it?
? Thanks in advanced...The TEMP/ prefix for services is an implementation detail of the
import-with-upgrade algorithm in svccfg(1M) (that preserves
customizations while updating default settings and dependencies).
These services are supposed to be deleted as part of that upgrade, so
the fact that there is a remnant is interesting.
You can delete the TEMP/ version using svccfg(1M), just as you would
with any service:
# svccfg delete TEMP/network/blah/blah
- Stephen -
Hi,
I am new into the Apple Community. I have a camcorder known as the JVC GZ-HD40 US and I currently am trying to use iMovie 2009 to edit my movies. With my camcorder, I have the choice to use two different video formats: AVCHD or Mpeg2. All my videos are shot in the AVCHD (HD) file format. This camcorder also has a 120 G Hard Drive built into it. When I plug in the camcorder through USB to my MacPro, the Hard Drive of the camcorder shows up as a icon on the desktop. Many of my video clips are at least thirty minutes in length, inside the camcorder. When I try to import in iMovie my video files, it only imports around ten minutes of the video and skips to the end of the clip. I would greatly prefer to use my MacPro desktop to edit movies instead of my Windows 7 computer which seems to work fine. Is there a solution to this problem? Would the new iMovie 2011 application solve this problem? I also have the Final Cut Express to work with, and also, can't get it to work. What should I try doing?Hi all,
I have the exact same problem. I've just been to Thailand with my girlfriend, and we recorded a lot of stuff with my brand new Sony HD camcorder. And whenever the we ran out of camcorder memory we just emptied everything onto my HP laptop using the supplied Sony software, which produced m2ts files. When we got home, I realized that my Mac Pro/iMovie09 was not able to import this format. What a huge disappointment! Especially considering the fact that I just bought my mac back in March (my first mac ever) only for video editing and music composing (no problems with music composing, however!).
Well, I needed a solution, so last week I just bought the Voltaic HD converting software (35$), and it works great. No problems. Only thing is that my Mac Pro (quad intel core) had to work 24 hours a day for four straight days/nights in order to finish the converting job - resulting in 434 GB worth of mov-files. This is no problem as such, and the quality is great. BUT it seems rather stupid that this converting has to take place. If I use Sony Vegas on my PC, it works out of the box with my original m2ts-files. And I would really appreciate if Apple would implement a simple import function of m2ts-files in their software - one that would (if necessary) automatically convert the files to mov. Or even better: would work natively with the m2ts-files.
Best, -
Session Timeout and Dynamic Actions
Did anybody ever use the Session Timeout feature in APEX successfully?
I have set an idle session timeout and provided an url to redirect to once the session is expired: Home > Application Builder > Application nnn > Shared Components > Edit Security Attributes > Session Timeout
It works so far during the page rendering and page processing phase. But I have major problems with dynamic actions and custom ajax requests.
Dynamic actions will just hang and simply don't return. Even worse, when I execute the dynamic action once the session is expired, the session seems to be physically deleted and thus the next click on a tab will not redirect to the expiration page but go straight to the login page.
Did anybody make it work or is the best way to implement a custom session timeout?
Thanks,
Dietmar.Hi All,
Check out the Session Timeout plug-in available here:
http://skillbuilders.com/plugins
Let me know if that helps.
Regards,
Dan
blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/ -
Problems implementing abstract classes
hello.
this is james mcfadden. I am developing a multiplayer BlackJack card game in Java. the game consists of three programs: BlackJack.java, BlackJackServer.java and BlackJackClient.java (three 3 programs are shown below). i don't know how to implement abstract classes. i am trying to get the BlackJack.java program working with the BlackJackServer.java program. there should be "extends BlackJackServer" somewhere in the BlackJack.java program, but i don't know where.
import javax.swing.*;
public class BlackJack extends JPanel{
public BlackJack(){
//FlowLayout is default layout manager for a JPanel
add(new JButton("Hit"));
add(new JButton("Stay"));
add(new JButton("New Game"));
public static void main(String[] args){
JFrame frame=new JFrame("BlackJack");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(500,500);
frame.setLocation(200,200);
BlackJack bj=new BlackJack();
frame.setContentPane(bj);
frame.setVisible(true);
import java.io.*;//Provides for system input and output through data streams, serialization and the file system
import java.net.*;//Provides the classes for implementing networking applications
import java.util.*;//Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes
import java.awt.*;//Contains all of the classes for creating user interfaces and for painting graphics and images
import javax.swing.*;//Provides a set of lightweight components that, to the maximum degree possible, work the same on all platforms
public class BlackJackServer extends JFrame{
private JTextArea jta=new JTextArea();//a text area for displaying text
public static void main(String[] args){
new BlackJackServer();//invokes the constructor BlackJackServer()
}//end main
public BlackJackServer(){
setLayout(new BorderLayout());//places the text area on the frame
add(new JScrollPane(jta),BorderLayout.CENTER);//lays out a text area, arranging and resizing its components to fit in the centre region;and provides a scrollable view of a lightweight component
setTitle("BlackJack Server");//Sets the title for this frame to the specified string
setSize(500,300);//Resizes this component so that it has a width and a height
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//Sets the operation that will happen by default when the user closes this frame
setVisible(true);//shows the frame
try{
ServerSocket serverSocket=new ServerSocket(8000);//creates a server socket
jta.append("Server started at "+new Date()+'\n');//displays the current date in the text area
Socket socket=serverSocket.accept();//listens for a connection request
DataInputStream inputFromClient=new DataInputStream(socket.getInputStream());//creates a data input stream
DataOutputStream outputToClient=new DataOutputStream(socket.getOutputStream());//creates a data output stream
while(true){
float bet=inputFromClient.readFloat();//receives bet from the client
float doublebet=bet+bet;//computes double the bet
outputToClient.writeFloat(doublebet);//sends double the bet back to the client
jta.append("Bet received from client: "+bet+'\n');//displays the bet in the text area
jta.append("Double the bet found: "+doublebet+'\n');//displays double the bet in the text area
}//end while
}//end try
catch(IOException ex){
System.err.println(ex);//displays an error message
}//end catch
}//end constructor
}//end class BlackJackServer
import java.io.*;//Provides for system input and output through data streams, serialization and the file system
import java.net.*;//Provides the classes for implementing networking applications
import java.awt.*;//Contains all of the classes for creating user interfaces and for painting graphics and images
import java.awt.event.*;//Provides interfaces and classes for dealing with different types of events fired by AWT components
import javax.swing.*;//Provides a set of lightweight components that, to the maximum degree possible, work the same on all platforms
public class BlackJackClient extends JFrame{
private JTextField jtf=new JTextField();//a text field for receiving text
private JTextArea jta=new JTextArea();//a text area for displaying text
private DataOutputStream toServer;//output stream
private DataInputStream fromServer;//input stream
public static void main(String[] args){
new BlackJackClient();//invokes the constructor BlackJackClient()
public BlackJackClient(){
JPanel p=new JPanel();//holds the label and text field
p.setLayout(new BorderLayout());//sets the layout of the content pane of this component by default
p.add(new JLabel("Enter bet"),BorderLayout.WEST);//displays the bet and lays out a JLabel, arranging and resizing its components to fit in the western region
p.add(jtf,BorderLayout.CENTER);//lays out the text field, arranging and resizing its components to fit in the centre region
jtf.setHorizontalAlignment(JTextField.RIGHT);//Sets the horizontal alignment of the text to the right
setLayout(new BorderLayout());//places the text area on the frame
add(p,BorderLayout.NORTH);//lays out the text field, arranging and resizing its components to fit in the northern region
add(new JScrollPane(jta),BorderLayout.CENTER);//lays out a text area, arranging and resizing its components to fit in the centre region;and provides a scrollable view of a lightweight component
jtf.addActionListener(new ButtonListener());//invokes the ButtonListener class
setTitle("BlackJack Client");//Sets the title for this frame to the specified string
setSize(500,300);//Resizes this component so that it has a width and a height
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//Sets the operation that will happen by default when the user closes this frame
setVisible(true);//shows the frame
try{
Socket socket=new Socket("localhost",8000);//creates a socket to connect to the server
fromServer=new DataInputStream(socket.getInputStream());//creates an input stream to receive data from the server
toServer=new DataOutputStream(socket.getOutputStream());//creates an output stream to send data to the server
}//end try
catch(IOException ex){
jta.append(ex.toString()+'\n');//displays an error message
}//end catch
private class ButtonListener implements ActionListener{
public void actionPerformed(ActionEvent e){
try{
float bet=Float.parseFloat(jtf.getText().trim());//gets the bet from the text field
toServer.writeFloat(bet);//Converts the float argument to an int using the floatToIntBits method in class Float, and then writes that int value to the underlying output stream
toServer.flush();//Flushes this output stream and forces any buffered output bytes to be written out
float doublebet=fromServer.readFloat();//gets double the bet from the server
jta.append("Bet is "+bet+"\n");//displays the bet in the text area
jta.append("Double the bet received from the server is "+doublebet+'\n');//displays double the bet in the text area
}//end try
catch(IOException ex){
System.err.println(ex);//displays an error message
}//end catch
}//end method
}//end class
}//end class BlackJackClientthere should be "extends BlackJackServer" somewhere in the BlackJack.java programI very much doubt that.
It's possible you might need to create a BlackJackServer object or something like that. But I don't see the point in subclassing it. -
Microsoft][ODBC SQL Server Driver]Optional feature not implemented
this is my program code for java jdbc:odbc SQL connectivity
but iam getting the error as
*java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented*
package desktopapplication2;
import java.sql.*;
* @author Bharat Raj Verma
public class db {
void get(String gr,String fn,String ln,String job ,Integer rate,Integer ot,String att,long amt,String cmt)
try
Connection con=null,con1=null;
Statement stmt2;
String query = "Update dbo.attend SET Gr = ? , fn = ? ,ln = ?, job = ? , rate = ? , ot = ? , att = ? ,amt = ? , comment = ?";
// String query1 = "Select accnum rom dbo.newacc where accnum= ?";
String url = "jdbc:odbc:bharat";
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection(url,"","");
con1 = DriverManager.getConnection(url,"","");
System.out.println("connection Established");
stmt2 = con.createStatement();
Statement stmt = con1.createStatement();
ResultSet rs;
rs=stmt.executeQuery("select * from dbo.attend");
while(rs.next())
String cmp1= rs.getString("gr");
if(cmp1.equalsIgnoreCase(gr))
PreparedStatement ps1 = con.prepareStatement(query);
System.out.println("Insisde RS");
ps1.setString(1,gr);
ps1.setString(2,fn);
ps1.setString(3,ln);
ps1.setString(4,job);
ps1.setInt(5,rate);
ps1.setInt(6,ot);
ps1.setString(7,att);
ps1.setLong(8,amt);
ps1.setString(9,cmt);
System.out.println("SSS");
// ps1.setString(1,gr);
ps1.executeUpdate();
System.out.println("Success");
catch(Exception e1)
System.err.println(e1);
}This is the SQL table in which iam trying to insert the value
SET ANSI_PADDING OFF
create table attend
Gr VARCHAR(20) primary key,
fn VARCHAR (25),
ln VARCHAR(25),
job VARCHAR(25),
rate integer,
ot integer,
att varchar(10),
amt varchar (10),
comment varchar(70)
)the complete output is
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\Bharat Raj Verma\My Documents\NetBeansProjects\DesktopApplication2\build\classes
compile:
run:
connection Established
Insisde RS
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented
BUILD SUCCESSFUL (total time: 29 seconds)
here is the stack trace
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterBigint(JdbcOdbc.java:1225)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setLong(JdbcOdbcPreparedStatement.java:592)
at desktopapplication2.db.get(db.java:47)
at desktopapplication2.DesktopApplication2View.jButton1ActionPerformed(DesktopApplication2View.java:394)
at desktopapplication2.DesktopApplication2View.access$800(DesktopApplication2View.java:22)
at desktopapplication2.DesktopApplication2View$4.actionPerformed(DesktopApplication2View.java:183)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Plz can anyone help ???and what was the solution?
thanks in advance
brindy -
Cant find import com.sap.aii.af.*
Hi,
I need to implement interfaces under import com.sap.aii.af.* like NWConnectionFactory which is in Netweaver library.
But i am not able to find the required jar files.
please help.
thanks
regards ,
farihaHI Fariha
have a look at stefan's reply in the below thread
Re: Required JAR files for XMLPayload and ModuleData
Cheers..
Vasu
<i>** Reward points if found useful **</i> -
Info on activities involved in various stages in Implementation Project
Hi,
I need some detailed information on activities involved in various stages in a SAP Implementation.
I have seen the earlier threads in the forum on this Topic,but they are very brief.
It will be very helpful for me if someone can provide some detailed document on practically what is done in those stages.
Thanks in advance,
AshishHi,
Based on ASAP methodlogy.
1)Project Preparation
2)Business Blue print preparation
3)Realization
4)Final preparation
5)Post go-live support.
Project Preparation:Phase 1 initiates with a retrieval of information and resources. It is an important
time to assemble the necessary components for the implementation. Some
important milestones that need to be accomplished for phase 1 include
u2022 Obtaining senior-level management/stakeholder support
u2022 identifying clear project objectives
u2022 architect an efficient decision-making process
u2022 creating an environment suitable for change and re-engineering
u2022 building a qualified and capable project team.
Senior level management support:
One of the most important milestones with phase 1 of ASAP is the full agreement
and cooperation of the important company decision-makers - key stake holders
and others. Their backing and support is crucial for a successful implementation.
Clear project objectives:
be concise in defining what your objectives and expectations are for this venture.
Vague or unclear notions of what you hope to obtain with SAP will handicap the
implementation process. Also make sure that your expectations are reasonable
considering your company's resources. It is essential to have clearly defined
ideas, goals and project plans devised before moving forward.
An efficient decision making process:
One obstacle that often stalls implementation is a poorly constructed decision-
making process. Before embarking on this venture, individuals need to be clearly
identified. Decide now who is responsible for different decisions along the way.
From day one, the implementation decision makers and project leaders from
each area must be aware of the onus placed on them to return good decisions
quickly.
Environment suitable for change and re engineering:Your team must be willing to
accept that, along with new SAP software, things are going to change, the
business will change, and information technology enabling the business will
change as well. By implementing SAP, you will essentially redesign your current
practices to model more efficient or predefined best business practices as
espoused by SAP. Resistance to this change will impede the progress of your
implementation.
Business Blue Print Preparation:SAP has defined a business blueprint phase to help extract pertinent information
about your company that is necessary for implementation. These blueprints are in
the form of questionnaires that are designed to probe for information that
uncovers how your company does business. As such, they also serve to
document the implementation. Each business blueprint document essentially
outlines your future business processes and business requirements. The kinds
of questions asked are germane to the particular business function, as seen in
the following sample questions:
1) What information do you capture on a purchase order?
2) What information is required to complete a purchase order?
Accelerated SAP question and answer database:
The question and answer database (QADB) is a simple although aging tool
designed to facilitate the creation and maintenance of your business blueprint.
This database stores the questions and the answers and serves as the heart of
your blue print. Customers are provided with a customer input template for each
application that collects the data. The question and answer format is standard
across applications to facilitate easier use by the project team.
Issues database:
Another tool used in the blueprinting phase is the issues database. This
database stores any open concerns and pending issues that relate to the
implementation. Centrally storing this information assists in gathering and then
managing issues to resolution, so that important matters do not fall through the
cracks. You can then track the issues in database, assign them to team
members, and update the database accordingly.
Realization:With the completion of the business in phase 2, "functional" experts are now ready
to begin configuring SAP. The Realization phase is broken in to two parts.
1) Your SAP consulting team helps you configure your baseline system, called the
baseline configuration.
2) Your implementation project team fine-tunes that system to meet all your
business and process requirements as part of the fine tuning configuration.
The initial configuration completed during the base line configuration is based on
the information that you provided in your blueprint document. The remaining
approximately 20% of your configuration that was not tackled during the baseline
configuration is completed during the fine tuning configuration. Fine tuning usually
deals with the exceptions that are not covered in baseline configuration. This final
bit of tweaking represents the work necessary to fit your special needs.
Configuration Testing:
With the help of your SAP consulting team, you segregate your business
processes into cycles of related business flows. The cycles serve as independent
units that enable you to test specific parts of the business process. You can also
work through configuring the SAP implementation guide (IMG). A tool used to
assist you in configuring your SAP system in a step by step manner.
Knowledge Transfer:
As the configuration phase comes to a close, it becomes necessary for the
Project team to be self-sufficient in their knowledge of the configuration of your
SAP system. Knowledge transfer to the configuration team tasked with system
maintenance (that is, maintenance of the business processes after Go-live)
needs to be completed at this time.
In addition, the end users tasked with actually using the system for day-to-day
business purposes must be trained.
Final Preparation:As phase 3 merges into phase 4, you should find yourselves not only in the midst
of SAP training, but also in the midst of rigorous functional and stress testing.
Phase 4 also concentrates on the fine tuning of your configuration before Go-live
and more importantly, the migration of data from your old system or systems to
SAP.
Workload testing (including peak volume, daily load, and other forms of stress
testing), and integration or functional testing are conducted to ensure the accuracy
of your data and the stability of your SAP system. Because you should have begun
testing back in phase 2, you do not have too far to go until Go-live. Now is an
important time to perform preventative maintenance checks to ensure optimal
performance at your SAP system.
At the conclusion of phase 4, take time to plan and document a Go-live strategy.
Preparation for Go-live means preparing for your end-users questions as they
start actively working on the new SAP system.
Post Go-live Support:The Go-live milestone is itself is easy to achieve; a smooth and uneventful Go-live
is another matter altogether. Preparation is the key, including attention to what-if
scenarios related not only to the individual business processes deployed but also
to the functioning of technology underpinning these business processes and
preparation for ongoing support, including maintenance contracts and
documented processes and procedures are essential.
Regards
Ravi Shankar. -
Hi,
I'd like to set a system wide lock timeout to 10 secs, i est I want that if a transaction waits for a row more than 10 seconds, the Oracle forces a ROLLBACK!
Looking in the documentation I found the trigger:
CREATE OR REPLACE TRIGGER resumable_default_timeout AFTER SUSPEND ON DATABASE BEGIN DBMS_RESUMABLE.SET_TIMEOUT(10); END;
... but it seems not to work.
Is there any system wide parameter, or another trigger, or I missed something with the above trigger (I shutdown any session to test)!
thank you
G.Steve,
your answer is complete, the problem I am facing is that:
1 - I should instruct my programmers of the usabily of this tecnique the SELECT ... FOR UPDATE WAIT n, so the timeout is faced from application perspective, and it isn't so bad, in fact every single query could be customized regarding the WAIT time!
The drawback is that if the programmer doesn't use this technique, the application waits for the eternity.
2 - A system wide lock timeout, in any case could force, in any case, a default behaviour, ...
3 - If you are doing a porting from a different RDBMS see DB2, that implements a db lock timeout, you should recode all the SQL, and the porting needs more review and testing of the application!
Thank you
very much
G. -
Help needed with basic implementation of drawrect: in NSView
i've read the sections concerning the above in the "view guides for cocoa" docs, as well as several tutorials, but for the life of me i can't figure out how to do a very simple thing.
all the examples i've seen explain how to use NSRect and NSBezierPath, with fills and strokes, *from within* the drawRect: method. but i want to pass a custom object as a method argument to the view object (say, from inside my controller object when a user presses a button), and then write the code needed to run some getters on the object and draw some stuff accordingly.
i've defined the view as follows in the controller class header:
MyCustomNSViewSubclass *theView;
now i just want to send that view a message like this:
[theView draw: myObject]
then i just want to add the code in the view class to do find out some things about myObject and then draw some lines. i just don't understand where to put that code and how the drawRect: method gets called. writing a method like this in the MyCustomNSViewSubclass implementation (which is instanced in "theView") doesn't help:
- (void) draw: (myObjectType *) anObject
because then i can't figure what's needed to actually update the view.
i understand i must be using a wrong approach here. any help will be much appreciated.
thanks.No no, you didn't really understand : you are the developer, you do whatever you want, it means that if you want your custom NSView to simply ask other object to draw their own contents and do nothing else in the NSView you can, but if you want your NSView to manage everything you can too...
For example, let say I want a Shape class to manage... Shapes in my views... That's not very useful since there's already the NSBezierPath class that allows you to draw a lot of things, but whatever.
That shape class is very simple, it can represent either a rectangle or a circle and it can draw itself. There's the possible implementation :
// Shape.h
#import <Cocoa/Cocoa.h>
@interface Shape : NSObject
NSRect rect;
NSColor *fillColor;
NSColor *strokeColor;
BOOL isCircle;
- (void)setRect:(NSRect)aRect;
- (void)setFillColor:(NSColor *)aColor;
- (void)setStrokeColor:(NSColor *)aColor;
- (void)setIsCircle:(BOOL)flag;
- (void)draw;
@end
// Shape.m
#import "Shape.h"
@implementation Shape
- (void)setRect:(NSRect)aRect
rect = aRect;
- (void)setFillColor:(NSColor *)aColor
if(fillColor != aColor)
[fillColor release];
fillColor = [aColor retain];
- (void)setStrokeColor:(NSColor *)aColor
if(strokeColor != aColor)
[strokeColor release];
strokeColor = [aColor retain];
- (void)setIsCircle:(BOOL)flag
isCircle = flag;
- (void)draw
NSBezierPath *temp;
if(isCircle)
temp = [NSBezierPath bezierPathWithOvalInRect:rect];
else
temp = [NSBezierPath bezierPathWithRect:rect];
[fillColor set];
[temp fill];
[strokeColor set];
[temp stroke];
- (void) dealloc
[fillColor release];
[strokeColor release];
[super dealloc];
@end
That's a very simple class, there's not even an initializer... But it's not the problem here... What we want here it's a self-drown object. You see that class is a subclass of NSObject, nothing special.
Let see now our custom NSView class, which means a subclass of NSView :
// MyView.h
#import <Cocoa/Cocoa.h>
@class Shape;
@interface MyView : NSView
NSMutableArray *shapesToDraw;
- (void)addShape:(Shape *)aShape;
- (void)removeShapeAtIndex:(unsigned)index;
@end
// MyView.m
#import "MyView.h"
#import "Shape.h"
@implementation MyView
- (id)initWithFrame:(NSRect)frame
self = [super initWithFrame:frame];
if (self)
// Here we simply create a new array that will contain our shapes to draw
shapesToDraw = [[NSMutableArray array] retain];
return self;
- (void)drawRect:(NSRect)rect
// This code simply asks to every shape in the array to draw itself
NSEnumerator *e = [shapesToDraw objectEnumerator];
Shape *shape = nil;
while(shape = [e nextObject])
[shape draw];
- (void)addShape:(Shape *)aShape
[shapesToDraw addObject:aShape];
// When the content of the array changes, we need to tell the view
// to redraw itself, we do with that message
[self setNeedsDisplay:YES];
- (void)removeShapeAtIndex:(unsigned)index
[shapesToDraw removeObjectAtIndex:index];
[self setNeedsDisplay:YES];
- (void) dealloc
[shapesToDraw release];
[super dealloc];
@end
So you see here, how do you draw objects ? Well, first you need to know them, you also need them to know how to draw themselves... In Cocoa that kind of object already exists, they're NSBezierPath, when you send the message -fill or -stroke you ask them to draw themselves with the current color.
Here, each shape will be asked one after another to draw itself in the rectangle that is defined in it. You can add a shape by creating it in a controller for example, and add it using the add method I defined, here the drawing code is actually in both classes, in fact we can consider [shape draw] as being "drawing code", that' a point to get : You can't draw outside a -drawRect: method (except in certain complex cases), but you can send messages that contains drawing code within -drawRect: to other objects. that's what I do here.
However, you need to know that an NSView doesn't only manage its drawings, it also receives events like a click of the mouse or a typed key, there's methods to manage that into the view, and if all the code of an application is inside your view class, well your code might get really big and very difficult to read, that's why we cut in smaller parts to make it easier to read and to understand.
So, do whatever you want in that -drawRect: method, you know, here I put a -draw method into the Shape class, but I could also have put method to get the NSRect value, the fill color, the stroke color and the kind of shape and make the drawing code directly in the view. You can do whatever you want.
So, to summarize, you don't "send" objects for your view to draw. The view draws what the -drawRect: methods draws, and not more so if you want your view to draw custom paths, you can use the technic I gave you, that is for example you put a NSMutableArray into your view and create a ColoredPath class that own an NSBezierPath and two NSColor (fill and stroke) and you define a -draw method that your view will call on each ColoredPath objects that the array contains.
That's a work around. But depending in what you actually want to do, there's a lot of different solutions.
Now, talking about the interface problem. In IB when you drag a custom view on the window, by default that object is set to NSView, so you need to make it an instance of your own view subclass.
If you're under Leopard with Xcode 3 and IB 3, in IB you click on your view and go in Identify Inspector (cmd + 6) you type the name of your subclass in the Class field, if you already created the class files, the name should appear before you finished.
If you're under Xcode 2 and IB 2, you go in the Custom Class Inspector (also cmd + 6) and you select your custom class in the list.
The name of your class should replace the "Custom Class" label on the view.
That's how you set the class of a view in IB and make your app call your code when the view needs to display.
Maybe you are looking for
-
How do I manage my storage?
I have been mulling this over, especially since I lost some projects when I sold my iMac and upgraded to a new MBP. Here is as consise an overview as I can summize - I have a MBP with 256 SSD running Logic Pro 9, Reason 6.5 and several plugins such a
-
BPEL Sync process completes, but the invoking service receives a timout
Hi, I have a synchronous BPEL process. When I enter the parameters in the BPEL Console, and invoke the service, the progress indicator on the status bar on the browser does not complete. However, when I open another browser window, I can see in the d
-
How do I put a running total in a Reports 6i Report?
I need to write a report which shows a running total at the foot of each page. The report is a series of (potentially) multi-page sections each formatted like this: Page 1 ====== Tom £100 Dick £150 Harry £100 Sub Total £350 Page 2 ====== Peter £
-
Problem deploying captured image
I'm testing our new SCCM 2012 and specifically OSD and deploying a captured image. The image is captured on a separate MDT config. What I'm seeing with this image deployment is that about 90% of the times it ends with a 80070002 TS error. Examining t
-
Help in Shipping point.
I have a scenario... we are selling water and soda. It is shown like the materials is received here at our plant and sold from here.. but in most cases it is taken directly from the manufacturer and supplied to customers So, my client wanst to know w